net.minecraft.world.inventory

public class CraftingMenu

extends AbstractCraftingMenu

csw
net.minecraft.world.inventory.CraftingMenu
net.minecraft.class_1714
net.minecraft.unmapped.C_pzocurxr
net.minecraft.screen.CraftingScreenHandler
net.minecraft.screen.CraftingScreenHandler
net.minecraft.src.C_1252_
net.minecraft.world.inventory.ContainerWorkbench

Field summary

Modifier and TypeField
private static final int
p
CRAFTING_GRID_WIDTH
field_52567
f_uxcdtcbt
field_52567
f_346394_
private static final int
q
CRAFTING_GRID_HEIGHT
field_52568
f_dghjdelm
field_52568
f_347369_
public static final int
o
RESULT_SLOT
field_30781
f_juvnlzdq
RESULT_ID
RESULT_SLOT
f_150539_
private static final int
r
CRAFT_SLOT_START
field_30782
f_urngpezt
INPUT_START
CRAFT_SLOTS_START
f_150540_
private static final int
s
CRAFT_SLOT_COUNT
field_52569
f_sbxsrqdb
field_52569
f_346729_
private static final int
t
CRAFT_SLOT_END
field_30783
f_wknispul
INPUT_END
CRAFT_SLOTS_END
f_150541_
private static final int
u
INV_SLOT_START
field_30784
f_yynazfom
INVENTORY_START
INVENTORY_SLOTS_START
f_150542_
private static final int
v
INV_SLOT_END
field_30785
f_lbmavfib
INVENTORY_END
INVENTORY_SLOTS_END
f_150543_
private static final int
w
USE_ROW_SLOT_START
field_30786
f_rpdumcpm
HOTBAR_START
HOTBAR_SLOTS_START
f_150544_
private static final int
x
USE_ROW_SLOT_END
field_30787
f_hxrmriov
HOTBAR_END
HOTBAR_SLOTS_END
f_150545_
private final ContainerLevelAccess
y
access
field_7799
f_vxobpcmk
context
context
f_39350_
private final Player
z
player
field_7797
f_kwqfeqaz
player
player
f_39351_
private boolean
A
placingRecipe
field_51625
f_tnvyngto
filling
f_337276_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected static void
a(csd arg0, ard arg1, coy arg2, csv arg3, ctv arg4, dbk<dau> arg5)
slotChangedCraftingGrid(AbstractContainerMenu arg0, ServerLevel arg1, Player arg2, CraftingContainer arg3, ResultContainer arg4, RecipeHolder<CraftingRecipe> arg5)
method_17399(class_1703 arg0, class_3218 arg1, class_1657 arg2, class_8566 arg3, class_1731 arg4, class_8786<class_3955> arg5)
m_tgpmhvrv(C_mkrkudpa arg0, C_bdwnwhiu arg1, C_jzrpycqo arg2, C_fcvwjvlq arg3, C_gxwuusgh arg4, C_dscbrwbj<C_pvphvxig> arg5)
updateResult(ScreenHandler handler, ServerWorld world, PlayerEntity player, RecipeInputInventory craftingInventory, CraftingResultInventory resultInventory, RecipeEntry<CraftingRecipe> recipe)
onSlotChanged(ScreenHandler handler, ServerWorld world, PlayerEntity player, RecipeInputInventory inputInventory, CraftingResultInventory resultInventory, RecipeHolder<CraftingRecipe> value)
m_150546_(C_1226_ p_150547_, C_12_ p_362728_, C_1141_ p_150549_, C_1251_ p_150550_, C_1300_ p_150551_, C_290175_<C_1457_> p_344866_)
public void
a(bse arg0)
slotsChanged(Container arg0)
method_7609(class_1263 arg0)
m_heazfhiy(C_pjtstjoq arg0)
onContentChanged(Inventory arg0)
onContentChanged(Inventory arg0)
m_6199_(C_464_ arg0)
public void
l()
beginPlacingRecipe()
method_59963()
m_amhyuatd()
onInputSlotFillStart()
beginPlacingRecipe()
m_340196_()
public void
a(ard arg0, dbk<dau> arg1)
finishPlacingRecipe(ServerLevel arg0, RecipeHolder<CraftingRecipe> arg1)
method_59964(class_3218 arg0, class_8786<class_3955> arg1)
m_kjopwsdq(C_bdwnwhiu arg0, C_dscbrwbj<C_pvphvxig> arg1)
onInputSlotFillFinish(ServerWorld arg0, RecipeEntry<CraftingRecipe> arg1)
finishPlacingRecipe(ServerWorld arg0, RecipeHolder<CraftingRecipe> arg1)
m_338706_(C_12_ p_342309_, C_290175_<C_1457_> arg1)
public void
a(coy arg0)
removed(Player arg0)
method_7595(class_1657 arg0)
m_bftcwuek(C_jzrpycqo arg0)
onClosed(PlayerEntity arg0)
close(PlayerEntity arg0)
m_6877_(C_1141_ arg0)
public boolean
b(coy arg0)
stillValid(Player arg0)
method_7597(class_1657 arg0)
m_zipsjvkj(C_jzrpycqo arg0)
canUse(PlayerEntity arg0)
canUse(PlayerEntity arg0)
m_6875_(C_1141_ arg0)
public ItemStack
b(coy arg0, int arg1)
quickMoveStack(Player arg0, int arg1)
method_7601(class_1657 arg0, int arg1)
m_oujzgmbb(C_jzrpycqo arg0, int arg1)
quickMove(PlayerEntity arg0, int arg1)
quickTransfer(PlayerEntity arg0, int arg1)
m_7648_(C_1141_ p_39392_, int arg1)
public boolean
a(cwq arg0, cua arg1)
canTakeItemForPickAll(ItemStack arg0, Slot arg1)
method_7613(class_1799 arg0, class_1735 arg1)
m_pmldxlql(C_sddaxwyk arg0, C_nhvqfffd arg1)
canInsertIntoSlot(ItemStack arg0, Slot arg1)
canInsertIntoSlot(ItemStack arg0, Slot arg1)
m_5882_(C_1391_ p_39382_, C_1305_ arg1)
public Slot
m()
getResultSlot()
method_61627()
m_fequbbys()
getOutputSlot()
getResultSlot()
m_353093_()
public List<Slot>
n()
getInputGridSlots()
method_61628()
m_orznidvz()
getInputSlots()
getInputSlots()
m_351714_()
public RecipeBookType
am_()
getRecipeBookType()
method_30264()
m_zlpkpbya()
getCategory()
getCategory()
m_5867_()
protected Player
q()
owner()
method_61631()
m_xvefxpft()
getPlayer()
getOwner()
m_353860_()