Class PlayerInventoryPreparation

java.lang.Object
com.ultikits.ultitools.ui.runtime.PlayerInventoryPreparation

@Internal public final class PlayerInventoryPreparation extends Object
Returns backpack-menu items through vanilla cleanup before either UI backend replaces the screen.
  • Constructor Details

    • PlayerInventoryPreparation

      private PlayerInventoryPreparation()
  • Method Details

    • beforeShow

      public static void beforeShow(org.bukkit.entity.Player viewer)
      Server thread only. Foreign containers retain Paper's own opening and closing behaviour.
    • hasCraftingInputs

      private static boolean hasCraftingInputs(org.bukkit.inventory.InventoryView view)