Class CreativeInventoryScreen.LockableSlot
java.lang.Object
net.minecraft.screen.slot.Slot
net.minecraft.client.gui.screen.ingame.CreativeInventoryScreen.LockableSlot
- Enclosing class:
- CreativeInventoryScreen
@Environment(CLIENT) static class CreativeInventoryScreen.LockableSlot extends Slot
-
Field Summary
-
Constructor Summary
Constructors Constructor Description LockableSlot(Inventory inventory, int index, int x, int y)
-
Method Summary
Modifier and Type Method Description boolean
canTakeItems(PlayerEntity playerEntity)
Methods inherited from class net.minecraft.screen.slot.Slot
canInsert, doDrawHoveringEffect, getBackgroundSprite, getMaxItemCount, getMaxItemCount, getStack, hasStack, markDirty, onCrafted, onCrafted, onStackChanged, onTake, onTakeItem, setStack, takeStack
-
Constructor Details
-
LockableSlot
-
-
Method Details
-
canTakeItems
- Overrides:
canTakeItems
in classSlot
-