Package net.minecraft.world.inventory
Class CrafterSlot
java.lang.Object
net.minecraft.world.inventory.Slot
net.minecraft.world.inventory.CrafterSlot
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCrafterSlot
(Container pContainer, int pSlot, int pX, int pY, CrafterMenu pMenu) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.void
Methods inherited from class net.minecraft.world.inventory.Slot
allowModification, checkTakeAchievements, getContainerSlot, getItem, getMaxStackSize, getMaxStackSize, getNoItemIcon, getSlotIndex, hasItem, isActive, isFake, isHighlightable, isSameInventory, mayPickup, onQuickCraft, onQuickCraft, onSwapCraft, onTake, remove, safeInsert, safeInsert, safeTake, set, setBackground, setByPlayer, setByPlayer, tryRemove
-
Field Details
-
Constructor Details
-
CrafterSlot
-
-
Method Details
-
mayPlace
Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel. -
setChanged
public void setChanged()- Overrides:
setChanged
in classSlot
-