net.minecraft.world.inventory

public class SmithingMenu

extends ItemCombinerMenu

ccx
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
k
TEMPLATE_SLOT
field_41924
field_41924
f_266015_
public static final int
l
BASE_SLOT
field_41925
field_41925
f_266035_
public static final int
m
ADDITIONAL_SLOT
field_41926
field_41926
f_265928_
public static final int
n
RESULT_SLOT
field_41927
field_41927
f_266024_
public static final int
s
TEMPLATE_SLOT_X_PLACEMENT
field_41928
field_41928
f_265913_
public static final int
t
BASE_SLOT_X_PLACEMENT
field_41929
field_41929
f_266041_
public static final int
u
ADDITIONAL_SLOT_X_PLACEMENT
field_41930
field_41930
f_265899_
private static final int
w
RESULT_SLOT_X_PLACEMENT
field_41932
field_41932
f_265851_
public static final int
v
SLOT_Y_PLACEMENT
field_41931
field_41931
f_266111_
private final Level
x
level
field_25385
world
f_40241_
private SmithingRecipe
y
selectedRecipe
field_25386
currentRecipe
f_40242_
private final List<SmithingRecipe>
z
recipes
field_25668
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()
getForgingSlotsManager()
m_266183_()
protected boolean
a(dbq arg0)
isValidBlock(BlockState arg0)
method_24925(class_2680 arg0)
canUse(BlockState arg0)
m_8039_(C_2064_ arg0)
protected boolean
a(bym arg0, boolean arg1)
mayPickup(Player arg0, boolean arg1)
method_24927(class_1657 arg0, boolean arg1)
canTakeOutput(PlayerEntity arg0, boolean arg1)
m_6560_(C_1141_ p_40269_, boolean arg1)
protected void
a(bym arg0, cfv 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 void
e(int arg0)
shrinkStackInSlot(int arg0)
method_29539(int arg0)
decrementStack(int slot)
m_40270_(int arg0)
public void
m()
createResult()
method_24928()
updateResult()
m_6640_()
public int
d(cfv arg0)
getSlotToQuickMoveTo(ItemStack arg0)
method_48357(class_1799 arg0)
getSlotFor(ItemStack arg0)
m_266159_(C_1391_ arg0)
private static Optional<Integer>
a(cjl arg0, cfv arg1)
findSlotMatchingIngredient(SmithingRecipe arg0, ItemStack arg1)
method_48389(class_8059 arg0, class_1799 arg1)
getQuickMoveSlot(SmithingRecipe recipe, ItemStack stack)
m_266320_(C_265807_ p_266790_, C_1391_ p_266818_)
public boolean
a(cfv arg0, ccw 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(cfv arg0)
canMoveIntoInputSlots(ItemStack arg0)
method_48356(class_1799 arg0)
isValidIngredient(ItemStack arg0)
m_5861_(C_1391_ arg0)