net.minecraft.world.inventory

public class SmithingMenu

extends ItemCombinerMenu

cud
net.minecraft.world.inventory.SmithingMenu
net.minecraft.class_4862
net.minecraft.screen.SmithingScreenHandler
net.minecraft.src.C_1306_
net.minecraft.world.inventory.ContainerSmithing

Field summary

Modifier and TypeField
public static final int
m
TEMPLATE_SLOT
field_41924
TEMPLATE_ID
f_266015_
public static final int
n
BASE_SLOT
field_41925
EQUIPMENT_ID
f_266035_
public static final int
o
ADDITIONAL_SLOT
field_41926
MATERIAL_ID
f_265928_
public static final int
p
RESULT_SLOT
field_41927
OUTPUT_ID
f_266024_
public static final int
u
TEMPLATE_SLOT_X_PLACEMENT
field_41928
TEMPLATE_X
f_265913_
public static final int
v
BASE_SLOT_X_PLACEMENT
field_41929
EQUIPMENT_X
f_266041_
public static final int
w
ADDITIONAL_SLOT_X_PLACEMENT
field_41930
MATERIAL_X
f_265899_
private static final int
y
RESULT_SLOT_X_PLACEMENT
field_41932
OUTPUT_X
f_265851_
public static final int
x
SLOT_Y_PLACEMENT
field_41931
SLOT_Y
f_266111_
private final Level
z
level
field_25385
world
f_40241_
private final RecipePropertySet
A
baseItemTest
field_54597
basePropertySet
f_347052_
private final RecipePropertySet
B
templateItemTest
field_54598
templatePropertySet
f_348296_
private final RecipePropertySet
C
additionItemTest
field_54599
additionPropertySet
f_346664_
private final DataSlot
D
hasRecipeError
field_54970
invalidRecipe
f_347073_

Constructor summary

ModifierConstructor
public (int syncId, Inventory playerInventory)
public (int syncId, Inventory playerInventory, ContainerLevelAccess context)
private (int syncId, Inventory playerInventory, ContainerLevelAccess context, Level world)

Method summary

Modifier and TypeMethod
private static ItemCombinerMenuSlotDefinition
a(dbg arg0)
createInputSlotDefinitions(RecipeAccess arg0)
method_64652(class_10286 arg0)
createForgingSlotsManager(RecipeManager recipeManager)
m_266183_(C_346048_ p_363220_)
protected boolean
a(dwy arg0)
isValidBlock(BlockState arg0)
method_24925(class_2680 arg0)
canUse(BlockState arg0)
m_8039_(C_2064_ arg0)
protected void
a(coy arg0, cwq arg1)
onTake(Player arg0, ItemStack arg1)
method_24923(class_1657 arg0, class_1799 arg1)
onTakeOutput(PlayerEntity arg0, ItemStack arg1)
m_142365_(C_1141_ p_150664_, C_1391_ arg1)
private List<ItemStack>
o()
getRelevantItems()
method_51307()
getInputStacks()
m_280632_()
private SmithingRecipeInput
p()
createRecipeInput()
method_59965()
createRecipeInput()
m_339052_()
private void
e(int arg0)
shrinkStackInSlot(int arg0)
method_29539(int arg0)
decrementStack(int slot)
m_40270_(int arg0)
public void
a(bse arg0)
slotsChanged(Container arg0)
method_7609(class_1263 arg0)
onContentChanged(Inventory arg0)
m_6199_(C_464_ arg0)
public void
l()
createResult()
method_24928()
updateResult()
m_6640_()
public boolean
a(cwq arg0, cua arg1)
canTakeItemForPickAll(ItemStack arg0, Slot arg1)
method_7613(class_1799 arg0, class_1735 arg1)
canInsertIntoSlot(ItemStack arg0, Slot arg1)
m_5882_(C_1391_ p_40258_, C_1305_ arg1)
public boolean
c(cwq arg0)
canMoveIntoInputSlots(ItemStack arg0)
method_48356(class_1799 arg0)
isValidIngredient(ItemStack arg0)
m_5861_(C_1391_ arg0)
public boolean
m()
hasRecipeError()
method_65060()
hasInvalidRecipe()
m_353862_()