net.minecraft.screen

public class SmithingScreenHandler

extends ForgingScreenHandler

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

Field summary

Modifier and TypeField
public static final int
TEMPLATE_SLOT
field_41924
TEMPLATE_ID
public static final int
BASE_SLOT
field_41925
EQUIPMENT_ID
public static final int
ADDITIONAL_SLOT
field_41926
MATERIAL_ID
public static final int
RESULT_SLOT
field_41927
OUTPUT_ID
public static final int
TEMPLATE_SLOT_X_PLACEMENT
field_41928
TEMPLATE_X
public static final int
BASE_SLOT_X_PLACEMENT
field_41929
EQUIPMENT_X
public static final int
ADDITIONAL_SLOT_X_PLACEMENT
field_41930
MATERIAL_X
private static final int
RESULT_SLOT_X_PLACEMENT
field_41932
OUTPUT_X
public static final int
SLOT_Y_PLACEMENT
field_41931
SLOT_Y
private final World
level
field_25385
world
private final RecipePropertySet
baseItemTest
field_54597
basePropertySet
private final RecipePropertySet
templateItemTest
field_54598
templatePropertySet
private final RecipePropertySet
additionItemTest
field_54599
additionPropertySet
private final Property
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)
method_64652(class_10286 arg0)
createForgingSlotsManager(RecipeManager recipeManager)
protected boolean
isValidBlock(BlockState state)
method_24925(class_2680 arg0)
canUse(BlockState arg0)
protected void
onTake(Player player, ItemStack carried)
method_24923(class_1657 arg0, class_1799 arg1)
onTakeOutput(PlayerEntity arg0, ItemStack arg1)
private List<ItemStack>
getRelevantItems()
method_51307()
getInputStacks()
private SmithingRecipeInput
createRecipeInput()
method_59965()
createRecipeInput()
private void
shrinkStackInSlot(int slot)
method_29539(int arg0)
decrementStack(int slot)
public void
slotsChanged(Container container)
method_7609(class_1263 arg0)
onContentChanged(Inventory arg0)
public void
createResult()
method_24928()
updateResult()
public boolean
canTakeItemForPickAll(ItemStack carried, Slot target)
method_7613(class_1799 arg0, class_1735 arg1)
canInsertIntoSlot(ItemStack arg0, Slot arg1)
public boolean
canMoveIntoInputSlots(ItemStack stack)
method_48356(class_1799 arg0)
isValidIngredient(ItemStack arg0)
public boolean
hasRecipeError()
method_65060()
hasInvalidRecipe()
private void
lambda$createResult$1()
method_64654()
method_64654()
private void
lambda$createResult$0(SmithingRecipeInput arg0, RecipeHolder arg1)
method_64653(class_9697 arg0, class_8786 arg1)
method_64653(SmithingRecipeInput arg0, RecipeEntry recipe)
private static void
lambda$onTake$0(Level arg0, BlockPos arg1)
method_24929(class_1937 arg0, class_2338 arg1)
method_24929(World world, BlockPos pos)