net.minecraft.screen

public class SmithingScreenHandler

extends ForgingScreenHandler

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

Field summary

Modifier and TypeField
public static final int
TEMPLATE_SLOT
TEMPLATE_SLOT
field_41924
TEMPLATE_ID
public static final int
BASE_SLOT
BASE_SLOT
field_41925
EQUIPMENT_ID
public static final int
ADDITIONAL_SLOT
ADDITIONAL_SLOT
field_41926
MATERIAL_ID
public static final int
RESULT_SLOT
RESULT_SLOT
field_41927
OUTPUT_ID
public static final int
TEMPLATE_SLOT_X_PLACEMENT
TEMPLATE_SLOT_X_PLACEMENT
field_41928
TEMPLATE_X
public static final int
BASE_SLOT_X_PLACEMENT
BASE_SLOT_X_PLACEMENT
field_41929
EQUIPMENT_X
public static final int
ADDITIONAL_SLOT_X_PLACEMENT
ADDITIONAL_SLOT_X_PLACEMENT
field_41930
MATERIAL_X
private static final int
RESULT_SLOT_X_PLACEMENT
RESULT_SLOT_X_PLACEMENT
field_41932
OUTPUT_X
public static final int
SLOT_Y_PLACEMENT
SLOT_Y_PLACEMENT
field_41931
SLOT_Y
private final World
level
level
field_25385
world
private final RecipePropertySet
baseItemTest
baseItemTest
field_54597
basePropertySet
private final RecipePropertySet
templateItemTest
templateItemTest
field_54598
templatePropertySet
private final RecipePropertySet
additionItemTest
additionItemTest
field_54599
additionPropertySet
private final Property
hasRecipeError
hasRecipeError
field_54970
invalidRecipe

Constructor summary

ModifierConstructor
public (int syncId, PlayerInventory playerInventory)
public (int syncId, PlayerInventory playerInventory, ScreenHandlerContext context)
private (int syncId, PlayerInventory playerInventory, ScreenHandlerContext context, World world)

Method summary

Modifier and TypeMethod
private static ForgingSlotsManager
createInputSlotDefinitions(RecipeAccess recipes)
createInputSlotDefinitions(RecipeAccess recipes)
method_64652(class_10286 arg0)
createForgingSlotsManager(RecipeManager recipeManager)
protected boolean
isValidBlock(BlockState state)
isValidBlock(BlockState state)
method_24925(class_2680 arg0)
canUse(BlockState arg0)
protected void
onTake(Player player, ItemStack carried)
onTake(Player player, ItemStack carried)
method_24923(class_1657 arg0, class_1799 arg1)
onTakeOutput(PlayerEntity arg0, ItemStack arg1)
private List<ItemStack>
getRelevantItems()
getRelevantItems()
method_51307()
getInputStacks()
private SmithingRecipeInput
createRecipeInput()
createRecipeInput()
method_59965()
createRecipeInput()
private void
shrinkStackInSlot(int slot)
shrinkStackInSlot(int slot)
method_29539(int arg0)
decrementStack(int slot)
public void
slotsChanged(Container container)
slotsChanged(Container container)
method_7609(class_1263 arg0)
onContentChanged(Inventory arg0)
public void
createResult()
createResult()
method_24928()
updateResult()
public boolean
canTakeItemForPickAll(ItemStack carried, Slot target)
canTakeItemForPickAll(ItemStack carried, Slot target)
method_7613(class_1799 arg0, class_1735 arg1)
canInsertIntoSlot(ItemStack arg0, Slot arg1)
public boolean
canMoveIntoInputSlots(ItemStack stack)
canMoveIntoInputSlots(ItemStack stack)
method_48356(class_1799 arg0)
isValidIngredient(ItemStack arg0)
public boolean
hasRecipeError()
hasRecipeError()
method_65060()
hasInvalidRecipe()