net.minecraft.world.inventory

public class LoomMenu

extends AbstractContainerMenu

cuj
net.minecraft.world.inventory.LoomMenu
net.minecraft.class_1726
net.minecraft.screen.LoomScreenHandler
net.minecraft.world.inventory.ContainerLoom

Field summary

Modifier and TypeField
private static final int
m
PATTERN_NOT_SET
field_39120
NO_PATTERN
private static final int
n
INV_SLOT_START
field_30826
INVENTORY_START
private static final int
o
INV_SLOT_END
field_30827
INVENTORY_END
private static final int
p
USE_ROW_SLOT_START
field_30828
HOTBAR_START
private static final int
q
USE_ROW_SLOT_END
field_30829
HOTBAR_END
private final ContainerLevelAccess
r
access
field_17316
context
final DataSlot
s
selectedBannerPatternIndex
field_17317
selectedPattern
private List<Holder<BannerPattern>>
t
selectablePatterns
field_39121
bannerPatterns
Runnable
u
slotUpdateListener
field_17318
inventoryChangeListener
private final HolderGetter<BannerPattern>
v
patternGetter
field_49741
bannerPatternLookup
final Slot
w
bannerSlot
field_17319
bannerSlot
final Slot
x
dyeSlot
field_17320
dyeSlot
private final Slot
y
patternSlot
field_17321
patternSlot
private final Slot
z
resultSlot
field_17322
outputSlot
long
A
lastSoundTime
field_20383
lastTakeResultTime
private final Container
B
inputContainer
field_7850
input
private final Container
C
outputContainer
field_17323
output

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
b(cpx arg0)
stillValid(Player arg0)
method_7597(class_1657 arg0)
canUse(PlayerEntity arg0)
public boolean
a(cpx arg0, int arg1)
clickMenuButton(Player arg0, int arg1)
method_7604(class_1657 arg0, int arg1)
onButtonClick(PlayerEntity arg0, int arg1)
private List<Holder<BannerPattern>>
c(cxp arg0)
getSelectablePatterns(ItemStack arg0)
method_43705(class_1799 arg0)
getPatternsFor(ItemStack stack)
private boolean
e(int arg0)
isValidPatternIndex(int arg0)
method_45016(int arg0)
isPatternIndexValid(int index)
public void
a(btc arg0)
slotsChanged(Container arg0)
method_7609(class_1263 arg0)
onContentChanged(Inventory arg0)
public List<Holder<BannerPattern>>
l()
getSelectablePatterns()
method_43706()
getBannerPatterns()
public int
m()
getSelectedBannerPatternIndex()
method_7647()
getSelectedPattern()
public void
a(Runnable arg0)
registerUpdateListener(Runnable arg0)
method_17423(Runnable arg0)
setInventoryChangeListener(Runnable inventoryChangeListener)
public ItemStack
b(cpx arg0, int arg1)
quickMoveStack(Player arg0, int arg1)
method_7601(class_1657 arg0, int arg1)
quickMove(PlayerEntity arg0, int arg1)
public void
a(cpx arg0)
removed(Player arg0)
method_7595(class_1657 arg0)
onClosed(PlayerEntity arg0)
private void
a(jq<dun> arg0)
setupResultSlot(Holder<BannerPattern> arg0)
method_7648(class_6880<class_2582> arg0)
updateOutputSlot(RegistryEntry<BannerPattern> pattern)
public Slot
n()
getBannerSlot()
method_17428()
getBannerSlot()
public Slot
o()
getDyeSlot()
method_17429()
getDyeSlot()
public Slot
p()
getPatternSlot()
method_17430()
getPatternSlot()
public Slot
q()
getResultSlot()
method_17431()
getOutputSlot()