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