net.minecraft.world.inventory

public class SmithingMenu

extends ItemCombinerMenu

cge
net.minecraft.world.inventory.SmithingMenu
net.minecraft.class_4862
net.minecraft.unmapped.C_tztlhrgg
net.minecraft.screen.SmithingScreenHandler
net.minecraft.screen.SmithingScreenHandler
net.minecraft.src.C_1306_
net.minecraft.world.inventory.ContainerSmithing

Field summary

Modifier and TypeField
public static final int
k
TEMPLATE_SLOT
field_41924
f_guqihhzy
TEMPLATE_ID
TEMPLATE_SLOT
f_266015_
public static final int
l
BASE_SLOT
field_41925
f_rujmsycc
EQUIPMENT_ID
BASE_SLOT
f_266035_
public static final int
m
ADDITIONAL_SLOT
field_41926
f_chmkkkrz
MATERIAL_ID
ADDITIONAL_SLOT
f_265928_
public static final int
n
RESULT_SLOT
field_41927
f_awhcwugn
OUTPUT_ID
RESULT_SLOT
f_266024_
public static final int
s
TEMPLATE_SLOT_X_PLACEMENT
field_41928
f_ybhbxznd
TEMPLATE_X
TEMPLATE_SLOT_X
f_265913_
public static final int
t
BASE_SLOT_X_PLACEMENT
field_41929
f_ebtbjnme
EQUIPMENT_X
BASE_SLOT_X
f_266041_
public static final int
u
ADDITIONAL_SLOT_X_PLACEMENT
field_41930
f_bzsndxvy
MATERIAL_X
ADDITIONAL_SLOT_X
f_265899_
private static final int
w
RESULT_SLOT_X_PLACEMENT
field_41932
f_rxxgoytn
OUTPUT_X
RESULT_SLOT_X
f_265851_
public static final int
v
SLOT_Y_PLACEMENT
field_41931
f_xwxbmywt
SLOT_Y
SLOT_Y
f_266111_
private final Level
x
level
field_25385
f_kwymugzp
world
world
f_40241_
private RecipeHolder<SmithingRecipe>
y
selectedRecipe
field_25386
f_nqtuinek
currentRecipe
currentRecipe
f_40242_
private final List<RecipeHolder<SmithingRecipe>>
z
recipes
field_25668
f_wvbqimnb
recipes
recipes
f_40243_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected ItemCombinerMenuSlotDefinition
l()
createInputSlotDefinitions()
method_48352()
m_owhnofzz()
getForgingSlotsManager()
createSlotManager()
m_266183_()
protected boolean
a(dfj arg0)
isValidBlock(BlockState arg0)
method_24925(class_2680 arg0)
m_jshpyvtq(C_txtbiemp arg0)
canUse(BlockState arg0)
canUse(BlockState arg0)
m_8039_(C_2064_ arg0)
protected boolean
a(cbu arg0, boolean arg1)
mayPickup(Player arg0, boolean arg1)
method_24927(class_1657 arg0, boolean arg1)
m_bvwkgssv(C_jzrpycqo arg0, boolean arg1)
canTakeOutput(PlayerEntity arg0, boolean arg1)
canTakeOutput(PlayerEntity arg0, boolean arg1)
m_6560_(C_1141_ p_40269_, boolean arg1)
protected void
a(cbu arg0, cjf arg1)
onTake(Player arg0, ItemStack arg1)
method_24923(class_1657 arg0, class_1799 arg1)
m_jdftuppp(C_jzrpycqo arg0, C_sddaxwyk arg1)
onTakeOutput(PlayerEntity arg0, ItemStack arg1)
onTakeOutput(PlayerEntity arg0, ItemStack arg1)
m_142365_(C_1141_ p_150664_, C_1391_ arg1)
private List<ItemStack>
n()
getRelevantItems()
method_51307()
m_abguqwob()
getInputStacks()
getIngredients()
m_280632_()
private void
e(int arg0)
shrinkStackInSlot(int arg0)
method_29539(int arg0)
m_wabumdmm(int arg0)
decrementStack(int slot)
decrementStack(int slot)
m_40270_(int arg0)
public void
m()
createResult()
method_24928()
m_gapjaiqi()
updateResult()
updateResult()
m_6640_()
public int
d(cjf arg0)
getSlotToQuickMoveTo(ItemStack arg0)
method_48357(class_1799 arg0)
m_fwogjikg(C_sddaxwyk arg0)
getSlotFor(ItemStack arg0)
getQuickTransferTargetSlotIndex(ItemStack arg0)
m_266159_(C_1391_ arg0)
private static OptionalInt
a(cmx arg0, cjf arg1)
findSlotMatchingIngredient(SmithingRecipe arg0, ItemStack arg1)
method_48389(class_8059 arg0, class_1799 arg1)
m_eogxkihp(C_cjflvspo arg0, C_sddaxwyk arg1)
getQuickMoveSlot(SmithingRecipe recipe, ItemStack stack)
findMatchingSlotIndex(SmithingRecipe recipe, ItemStack stack)
m_266320_(C_265807_ p_266790_, C_1391_ p_266818_)
public boolean
a(cjf arg0, cgd 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_40258_, C_1305_ arg1)
public boolean
c(cjf arg0)
canMoveIntoInputSlots(ItemStack arg0)
method_48356(class_1799 arg0)
m_kungriqk(C_sddaxwyk arg0)
isValidIngredient(ItemStack arg0)
canInsertIntoIngredientSlots(ItemStack arg0)
m_5861_(C_1391_ arg0)
private OptionalInt
e(cjf arg0)
findSlotToQuickMoveTo(ItemStack arg0)
method_52563(class_1799 arg0)
m_hprpkzju(C_sddaxwyk arg0)
getQuickMoveSlot(ItemStack stack)
m_hprpkzju(ItemStack stack)
m_294173_(C_1391_ arg0)