Class BeaconMenu.PaymentSlot
java.lang.Object
net.minecraft.world.inventory.Slot
net.minecraft.world.inventory.BeaconMenu.PaymentSlot
- Enclosing class:
BeaconMenu
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanCheck if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.Methods inherited from class 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
-
getMaxStackSize
public int getMaxStackSize()- Overrides:
getMaxStackSizein classSlot
-