Class CrafterSlot

java.lang.Object
net.minecraft.world.inventory.Slot
net.minecraft.world.inventory.CrafterSlot

public class CrafterSlot extends Slot
  • Field Details

  • Constructor Details

    • CrafterSlot

      public CrafterSlot(Container pContainer, int pSlot, int pX, int pY, CrafterMenu pMenu)
  • Method Details

    • mayPlace

      public boolean mayPlace(ItemStack pStack)
      Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.
      Overrides:
      mayPlace in class Slot
    • setChanged

      public void setChanged()
      Overrides:
      setChanged in class Slot