Class CartographyContainer
java.lang.Object
net.minecraft.inventory.container.Container
net.minecraft.inventory.container.CartographyContainer
-
Field Summary
Modifier and TypeFieldDescriptionprivate final IWorldPosCallable
final IInventory
private long
private final CraftResultInventory
Fields inherited from class net.minecraft.inventory.container.Container
containerId, slots
-
Constructor Summary
ConstructorDescriptionCartographyContainer
(int p_i50093_1_, PlayerInventory p_i50093_2_) CartographyContainer
(int p_i50094_1_, PlayerInventory p_i50094_2_, IWorldPosCallable p_i50094_3_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
canTakeItemForPickAll
(ItemStack p_94530_1_, Slot p_94530_2_) quickMoveStack
(PlayerEntity p_82846_1_, int p_82846_2_) void
removed
(PlayerEntity p_75134_1_) private void
setupResultSlot
(ItemStack p_216993_1_, ItemStack p_216993_2_, ItemStack p_216993_3_) void
slotsChanged
(IInventory p_75130_1_) boolean
stillValid
(PlayerEntity p_75145_1_) Methods inherited from class net.minecraft.inventory.container.Container
addDataSlot, addDataSlots, addSlot, addSlotListener, backup, broadcastChanges, canDragTo, canItemQuickReplace, checkContainerDataCount, checkContainerSize, clearContainer, clicked, clickMenuButton, consideredTheSameItem, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftSlotCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getType, isSynched, isValidQuickcraftType, moveItemStackTo, removeSlotListener, resetQuickCraft, setAll, setData, setItem, setSynched, stillValid
-
Field Details
-
access
-
lastSoundTime
private long lastSoundTime -
container
-
resultContainer
-
-
Constructor Details
-
CartographyContainer
-
CartographyContainer
public CartographyContainer(int p_i50094_1_, PlayerInventory p_i50094_2_, IWorldPosCallable p_i50094_3_)
-
-
Method Details
-
stillValid
- Specified by:
stillValid
in classContainer
-
slotsChanged
- Overrides:
slotsChanged
in classContainer
-
setupResultSlot
-
canTakeItemForPickAll
- Overrides:
canTakeItemForPickAll
in classContainer
-
quickMoveStack
- Overrides:
quickMoveStack
in classContainer
-
removed
-