net.minecraft.world.inventory

public class CrafterMenu

extends AbstractContainerMenu implements ContainerListener

All mapped superinterfaces:

ContainerListener

cqj
net.minecraft.world.inventory.CrafterMenu
net.minecraft.class_8881
net.minecraft.screen.CrafterScreenHandler
net.minecraft.src.C_302018_
net.minecraft.world.inventory.CrafterMenu

Field summary

Modifier and TypeField
protected static final int
k
SLOT_COUNT
field_46781
field_46781
f_302535_
private static final int
l
INV_SLOT_START
field_46782
field_46782
f_303567_
private static final int
m
INV_SLOT_END
field_46783
field_46783
f_302593_
private static final int
n
USE_ROW_SLOT_START
field_46784
field_46784
f_302352_
private static final int
o
USE_ROW_SLOT_END
field_46785
field_46785
f_303379_
private final ResultContainer
p
resultContainer
field_46780
resultInventory
f_302757_
private final ContainerData
q
containerData
field_46786
propertyDelegate
f_302713_
private final Player
r
player
field_46787
player
f_303686_
private final CraftingContainer
s
container
field_46788
inputInventory
f_303456_

Constructor summary

ModifierConstructor
public (int syncId, Inventory playerInventory)
public (int syncId, Inventory playerInventory, CraftingContainer inputInventory, ContainerData propertyDelegate)

Method summary

Modifier and TypeMethod
private void
a(cmw arg0)
addSlots(Inventory arg0)
method_54459(class_1661 arg0)
addSlots(PlayerInventory playerInventory)
m_305799_(C_1140_ arg0)
public void
a(int arg0, boolean arg1)
setSlotState(int arg0, boolean arg1)
method_54458(int arg0, boolean arg1)
setSlotEnabled(int slot, boolean enabled)
m_305921_(int p_312187_, boolean arg1)
public boolean
e(int arg0)
isSlotDisabled(int arg0)
method_54461(int arg0)
isSlotDisabled(int slot)
m_305638_(int arg0)
public boolean
l()
isPowered()
method_54462()
isTriggered()
m_305504_()
public ItemStack
b(cmx 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_309724_, int arg1)
public boolean
b(cmx arg0)
stillValid(Player arg0)
method_7597(class_1657 arg0)
canUse(PlayerEntity arg0)
m_6875_(C_1141_ arg0)
private void
n()
refreshRecipeResult()
method_54464()
updateResult()
m_305871_()
public Container
m()
getContainer()
method_54463()
getInputInventory()
m_306655_()
public void
a(cpu arg0, int arg1, cuq arg2)
slotChanged(AbstractContainerMenu arg0, int arg1, ItemStack arg2)
method_7635(class_1703 arg0, int arg1, class_1799 arg2)
onSlotUpdate(ScreenHandler arg0, int arg1, ItemStack arg2)
m_7934_(C_1226_ p_310604_, int p_312680_, C_1391_ arg2)
public void
a(cpu arg0, int arg1, int arg2)
dataChanged(AbstractContainerMenu arg0, int arg1, int arg2)
method_7633(class_1703 arg0, int arg1, int arg2)
onPropertyUpdate(ScreenHandler arg0, int arg1, int arg2)
m_142153_(C_1226_ p_310028_, int p_310424_, int arg2)