net.minecraft.world.inventory

public class LoomMenu

extends AbstractContainerMenu

cjg
net.minecraft.world.inventory.LoomMenu
net.minecraft.class_1726
net.minecraft.screen.LoomScreenHandler
net.minecraft.src.C_1283_
net.minecraft.world.inventory.ContainerLoom

Field summary

Modifier and TypeField
private static final int
k
PATTERN_NOT_SET
field_39120
NO_PATTERN
f_219989_
private static final int
l
INV_SLOT_START
field_30826
INVENTORY_START
f_150612_
private static final int
m
INV_SLOT_END
field_30827
INVENTORY_END
f_150613_
private static final int
n
USE_ROW_SLOT_START
field_30828
HOTBAR_START
f_150614_
private static final int
o
USE_ROW_SLOT_END
field_30829
HOTBAR_END
f_150615_
private final ContainerLevelAccess
p
access
field_17316
context
f_39845_
final DataSlot
q
selectedBannerPatternIndex
field_17317
selectedPattern
f_39846_
private List<Holder<BannerPattern>>
r
selectablePatterns
field_39121
bannerPatterns
f_219990_
Runnable
s
slotUpdateListener
field_17318
inventoryChangeListener
f_39847_
final Slot
t
bannerSlot
field_17319
bannerSlot
f_39848_
final Slot
u
dyeSlot
field_17320
dyeSlot
f_39849_
private final Slot
v
patternSlot
field_17321
patternSlot
f_39850_
private final Slot
w
resultSlot
field_17322
outputSlot
f_39851_
long
x
lastSoundTime
field_20383
lastTakeResultTime
f_39852_
private final Container
y
inputContainer
field_7850
input
f_39853_
private final Container
z
outputContainer
field_17323
output
f_39854_

Constructor summary

ModifierConstructor
public (int syncId, Inventory playerInventory)
public (int syncId, Inventory playerInventory, ContainerLevelAccess context)

Method summary

Modifier and TypeMethod
public boolean
a(cfi arg0)
stillValid(Player arg0)
method_7597(class_1657 arg0)
canUse(PlayerEntity arg0)
m_6875_(C_1141_ arg0)
public boolean
b(cfi arg0, int arg1)
clickMenuButton(Player arg0, int arg1)
method_7604(class_1657 arg0, int arg1)
onButtonClick(PlayerEntity arg0, int arg1)
m_6366_(C_1141_ p_39868_, int arg1)
private List<Holder<BannerPattern>>
c(cmy arg0)
getSelectablePatterns(ItemStack arg0)
method_43705(class_1799 arg0)
getPatternsFor(ItemStack stack)
m_219993_(C_1391_ arg0)
private boolean
e(int arg0)
isValidPatternIndex(int arg0)
method_45016(int arg0)
isPatternIndexValid(int index)
m_242642_(int arg0)
public void
a(bju arg0)
slotsChanged(Container arg0)
method_7609(class_1263 arg0)
onContentChanged(Inventory arg0)
m_6199_(C_464_ arg0)
public List<Holder<BannerPattern>>
l()
getSelectablePatterns()
method_43706()
getBannerPatterns()
m_219995_()
public int
m()
getSelectedBannerPatternIndex()
method_7647()
getSelectedPattern()
m_39891_()
public void
a(Runnable arg0)
registerUpdateListener(Runnable arg0)
method_17423(Runnable arg0)
setInventoryChangeListener(Runnable inventoryChangeListener)
m_39878_(Runnable arg0)
public ItemStack
a(cfi arg0, int arg1)
quickMoveStack(Player arg0, int arg1)
method_7601(class_1657 arg0, int arg1)
quickMove(PlayerEntity arg0, int arg1)
m_7648_(C_1141_ p_39884_, int arg1)
public void
b(cfi arg0)
removed(Player arg0)
method_7595(class_1657 arg0)
onClosed(PlayerEntity arg0)
m_6877_(C_1141_ arg0)
private void
a(ih<dgm> arg0)
setupResultSlot(Holder<BannerPattern> arg0)
method_7648(class_6880<class_2582> arg0)
updateOutputSlot(RegistryEntry<BannerPattern> pattern)
m_219991_(C_203228_<C_1977_> arg0)
public Slot
n()
getBannerSlot()
method_17428()
getBannerSlot()
m_39894_()
public Slot
o()
getDyeSlot()
method_17429()
getDyeSlot()
m_39895_()
public Slot
p()
getPatternSlot()
method_17430()
getPatternSlot()
m_39896_()
public Slot
q()
getResultSlot()
method_17431()
getOutputSlot()
m_39897_()