Package net.minecraft.screen
Class BeaconScreenHandler.PaymentSlot
java.lang.Object
net.minecraft.screen.slot.Slot
net.minecraft.screen.BeaconScreenHandler.PaymentSlot
- Enclosing class:
- BeaconScreenHandler
class BeaconScreenHandler.PaymentSlot extends Slot
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PaymentSlot(Inventory inventory, int index, int x, int y)
-
Method Summary
Modifier and Type Method Description boolean
canInsert(ItemStack stack)
int
getMaxItemCount()
Methods inherited from class net.minecraft.screen.slot.Slot
canTakeItems, doDrawHoveringEffect, getBackgroundSprite, getMaxItemCount, getStack, hasStack, markDirty, onCrafted, onCrafted, onStackChanged, onTake, onTakeItem, setStack, takeStack
-
Constructor Details
-
PaymentSlot
-
-
Method Details
-
canInsert
-
getMaxItemCount
public int getMaxItemCount()- Overrides:
getMaxItemCount
in classSlot
-