Class LoomContainer
java.lang.Object
net.minecraft.inventory.container.Container
net.minecraft.inventory.container.LoomContainer
-
Field Summary
Modifier and TypeFieldDescriptionprivate final IWorldPosCallable
private final Slot
private final Slot
private final IInventory
private long
private final IInventory
private final Slot
private final Slot
private final IntReferenceHolder
private Runnable
Fields inherited from class net.minecraft.inventory.container.Container
containerId, slots
-
Constructor Summary
ConstructorDescriptionLoomContainer
(int p_i50073_1_, PlayerInventory p_i50073_2_) LoomContainer
(int p_i50074_1_, PlayerInventory p_i50074_2_, IWorldPosCallable p_i50074_3_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
clickMenuButton
(PlayerEntity p_75140_1_, int p_75140_2_) int
quickMoveStack
(PlayerEntity p_82846_1_, int p_82846_2_) void
registerUpdateListener
(Runnable p_217020_1_) void
removed
(PlayerEntity p_75134_1_) private void
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, canTakeItemForPickAll, checkContainerDataCount, checkContainerSize, clearContainer, clicked, consideredTheSameItem, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftSlotCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getType, isSynched, isValidQuickcraftType, moveItemStackTo, removeSlotListener, resetQuickCraft, setAll, setData, setItem, setSynched, stillValid
-
Field Details
-
access
-
selectedBannerPatternIndex
-
slotUpdateListener
-
bannerSlot
-
dyeSlot
-
patternSlot
-
resultSlot
-
lastSoundTime
private long lastSoundTime -
inputContainer
-
outputContainer
-
-
Constructor Details
-
LoomContainer
-
LoomContainer
-
-
Method Details
-
getSelectedBannerPatternIndex
public int getSelectedBannerPatternIndex() -
stillValid
- Specified by:
stillValid
in classContainer
-
clickMenuButton
- Overrides:
clickMenuButton
in classContainer
-
slotsChanged
- Overrides:
slotsChanged
in classContainer
-
registerUpdateListener
-
quickMoveStack
- Overrides:
quickMoveStack
in classContainer
-
removed
-
setupResultSlot
private void setupResultSlot() -
getBannerSlot
-
getDyeSlot
-
getPatternSlot
-
getResultSlot
-