@Environment(value=CLIENT) static class CreativeInventoryScreen.LockableSlot extends Slot
Constructor and Description |
---|
LockableSlot(Inventory inventory,
int index,
int x,
int y) |
Modifier and Type | Method and Description |
---|---|
boolean |
canTakeItems(PlayerEntity playerEntity) |
canInsert, doDrawHoveringEffect, getBackgroundSprite, getMaxItemCount, getMaxItemCount, getStack, hasStack, markDirty, onCrafted, onCrafted, onStackChanged, onTake, onTakeItem, setStack, takeStack
public LockableSlot(Inventory inventory, int index, int x, int y)
public boolean canTakeItems(PlayerEntity playerEntity)
canTakeItems
in class Slot