Class CreativeModeInventoryScreen.CustomCreativeSlot

java.lang.Object
net.minecraft.world.inventory.Slot
net.minecraft.client.gui.screens.inventory.CreativeModeInventoryScreen.CustomCreativeSlot
Enclosing class:
CreativeModeInventoryScreen

static class CreativeModeInventoryScreen.CustomCreativeSlot extends Slot
  • Constructor Details

    • CustomCreativeSlot

      public CustomCreativeSlot(Container pContainer, int pSlot, int pX, int pY)
  • Method Details

    • mayPickup

      public boolean mayPickup(Player pPlayer)
      Return whether this slot's stack can be taken from this slot.
      Overrides:
      mayPickup in class Slot