net.minecraft.screen

public class CraftingScreenHandler

extends AbstractRecipeScreenHandler<CraftingRecipeInput, CraftingRecipe>

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

Field summary

Modifier and TypeField
public static final int
k
RESULT_SLOT
field_30781
RESULT_ID
f_juvnlzdq
RESULT_SLOT
f_150539_
private static final int
l
CRAFT_SLOT_START
field_30782
INPUT_START
f_urngpezt
CRAFT_SLOTS_START
f_150540_
private static final int
m
CRAFT_SLOT_END
field_30783
INPUT_END
f_wknispul
CRAFT_SLOTS_END
f_150541_
private static final int
n
INV_SLOT_START
field_30784
INVENTORY_START
f_yynazfom
INVENTORY_SLOTS_START
f_150542_
private static final int
o
INV_SLOT_END
field_30785
INVENTORY_END
f_lbmavfib
INVENTORY_SLOTS_END
f_150543_
private static final int
p
USE_ROW_SLOT_START
field_30786
HOTBAR_START
f_rpdumcpm
HOTBAR_SLOTS_START
f_150544_
private static final int
q
USE_ROW_SLOT_END
field_30787
HOTBAR_END
f_hxrmriov
HOTBAR_SLOTS_END
f_150545_
private final RecipeInputInventory
r
craftSlots
field_7801
input
f_jcjgoscz
input
f_39348_
private final CraftingResultInventory
s
resultSlots
field_7800
result
f_kxwgzikv
result
f_39349_
private final ScreenHandlerContext
t
access
field_7799
context
f_vxobpcmk
context
f_39350_
private final PlayerEntity
u
player
field_7797
player
f_kwqfeqaz
player
f_39351_
private boolean
v
placingRecipe
field_51625
filling
f_tnvyngto
f_337276_

Constructor summary

ModifierConstructor
public (int syncId, PlayerInventory playerInventory)
public (int syncId, PlayerInventory playerInventory, ScreenHandlerContext context)

Method summary

Modifier and TypeMethod
protected static void
a(cpu o, dcw o, cmx o, cql o, crl o, czb<cyq> o)
slotChangedCraftingGrid(AbstractContainerMenu arg0, Level arg1, Player arg2, CraftingContainer arg3, ResultContainer arg4, RecipeHolder<CraftingRecipe> arg5)
method_17399(class_1703 arg0, class_1937 arg1, class_1657 arg2, class_8566 arg3, class_1731 arg4, class_8786<class_3955> arg5)
updateResult(ScreenHandler handler, World world, PlayerEntity player, RecipeInputInventory craftingInventory, CraftingResultInventory resultInventory, RecipeEntry<CraftingRecipe> recipe)
m_tgpmhvrv(C_mkrkudpa arg0, C_cdctfzbn arg1, C_jzrpycqo arg2, C_fcvwjvlq arg3, C_gxwuusgh arg4, C_dscbrwbj<C_pvphvxig> arg5)
m_tgpmhvrv(ScreenHandler arg0, World world, PlayerEntity player, RecipeInputInventory arg3, CraftingResultInventory arg4, RecipeHolder<CraftingRecipe> value)
m_150546_(C_1226_ p_150547_, C_1596_ p_150548_, C_1141_ p_150549_, C_1251_ p_150550_, C_1300_ p_150551_, C_290175_<C_1457_> p_344866_)
public void
a(bqk arg0)
slotsChanged(Container arg0)
method_7609(class_1263 arg0)
onContentChanged(Inventory arg0)
m_heazfhiy(C_pjtstjoq arg0)
onContentChanged(Inventory arg0)
m_6199_(C_464_ arg0)
public void
an_()
beginPlacingRecipe()
method_59963()
onInputSlotFillStart()
m_nraqeyfu()
m_340196_()
public void
b(czb<cyq> arg0)
finishPlacingRecipe(RecipeHolder<CraftingRecipe> arg0)
method_59964(class_8786<class_3955> arg0)
onInputSlotFillFinish(RecipeEntry<CraftingRecipe> arg0)
m_xkmbolxr(C_dscbrwbj<C_pvphvxig> arg0)
m_338706_(C_290175_<C_1457_> arg0)
public void
a(cnb arg0)
fillCraftSlotsStackedContents(StackedContents arg0)
method_7654(class_1662 arg0)
populateRecipeFinder(RecipeMatcher arg0)
m_mldsqcel(C_nyagoaau arg0)
populateRecipeFinder(RecipeMatcher arg0)
m_5816_(C_1145_ arg0)
public void
l()
clearCraftingContent()
method_7657()
clearCraftingSlots()
m_uwijzjvj()
clearCraftingSlots()
m_6650_()
public boolean
a(czb<cyq> arg0)
recipeMatches(RecipeHolder<CraftingRecipe> arg0)
method_7652(class_8786<class_3955> arg0)
matches(RecipeEntry<CraftingRecipe> arg0)
m_oqwknnpi(C_dscbrwbj<C_pvphvxig> arg0)
matches(RecipeHolder<CraftingRecipe> arg0)
m_6032_(C_290175_<C_1457_> arg0)
public void
a(cmx arg0)
removed(Player arg0)
method_7595(class_1657 arg0)
onClosed(PlayerEntity arg0)
m_bftcwuek(C_jzrpycqo arg0)
close(PlayerEntity arg0)
m_6877_(C_1141_ arg0)
public boolean
b(cmx arg0)
stillValid(Player arg0)
method_7597(class_1657 arg0)
canUse(PlayerEntity arg0)
m_zipsjvkj(C_jzrpycqo arg0)
canUse(PlayerEntity arg0)
m_6875_(C_1141_ arg0)
public ItemStack
b(cmx o, int arg1)
quickMoveStack(Player arg0, int arg1)
method_7601(class_1657 arg0, int arg1)
quickMove(PlayerEntity arg0, int arg1)
m_oujzgmbb(C_jzrpycqo arg0, int arg1)
quickTransfer(PlayerEntity arg0, int arg1)
m_7648_(C_1141_ p_39392_, int arg1)
public boolean
a(cuq o, crq arg1)
canTakeItemForPickAll(ItemStack arg0, Slot arg1)
method_7613(class_1799 arg0, class_1735 arg1)
canInsertIntoSlot(ItemStack arg0, Slot arg1)
m_pmldxlql(C_sddaxwyk arg0, C_nhvqfffd arg1)
canInsertIntoSlot(ItemStack arg0, Slot arg1)
m_5882_(C_1391_ p_39382_, C_1305_ arg1)
public int
m()
getResultSlotIndex()
method_7655()
getCraftingResultSlotIndex()
m_agsayhit()
getCraftingResultSlotIndex()
m_6636_()
public int
n()
getGridWidth()
method_7653()
getCraftingWidth()
m_dqpjxqsk()
getCraftingWidth()
m_6635_()
public int
o()
getGridHeight()
method_7656()
getCraftingHeight()
m_prqqqfhh()
getCraftingHeight()
m_6656_()
public int
p()
getSize()
method_7658()
getCraftingSlotCount()
m_dsrlukie()
getCraftingSlotCount()
m_6653_()
public RecipeBookCategory
t()
getRecipeBookType()
method_30264()
getCategory()
m_zlpkpbya()
getCategory()
m_5867_()
public boolean
e(int arg0)
shouldMoveToInventory(int arg0)
method_32339(int arg0)
canInsertIntoSlot(int arg0)
m_skvcbdjm(int arg0)
canInsertIntoSlot(int arg0)
m_142157_(int arg0)