net.minecraft.world.inventory

public class SmithingMenu

extends ItemCombinerMenu

cvc
net.minecraft.world.inventory.SmithingMenu
net.minecraft.class_4862
net.minecraft.screen.SmithingScreenHandler
net.minecraft.world.inventory.ContainerSmithing

Field summary

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

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(dcf arg0)
createInputSlotDefinitions(RecipeAccess arg0)
method_64652(class_10286 arg0)
createForgingSlotsManager(RecipeManager recipeManager)
protected boolean
a(dxv arg0)
isValidBlock(BlockState arg0)
method_24925(class_2680 arg0)
canUse(BlockState arg0)
protected void
a(cpx arg0, cxp arg1)
onTake(Player arg0, ItemStack arg1)
method_24923(class_1657 arg0, class_1799 arg1)
onTakeOutput(PlayerEntity arg0, ItemStack arg1)
private List<ItemStack>
o()
getRelevantItems()
method_51307()
getInputStacks()
private SmithingRecipeInput
p()
createRecipeInput()
method_59965()
createRecipeInput()
private void
e(int arg0)
shrinkStackInSlot(int arg0)
method_29539(int arg0)
decrementStack(int slot)
public void
a(btc arg0)
slotsChanged(Container arg0)
method_7609(class_1263 arg0)
onContentChanged(Inventory arg0)
public void
l()
createResult()
method_24928()
updateResult()
public boolean
a(cxp arg0, cuz arg1)
canTakeItemForPickAll(ItemStack arg0, Slot arg1)
method_7613(class_1799 arg0, class_1735 arg1)
canInsertIntoSlot(ItemStack arg0, Slot arg1)
public boolean
c(cxp arg0)
canMoveIntoInputSlots(ItemStack arg0)
method_48356(class_1799 arg0)
isValidIngredient(ItemStack arg0)
public boolean
m()
hasRecipeError()
method_65060()
hasInvalidRecipe()