net.minecraft.world.inventory

public class LegacySmithingMenu

extends ItemCombinerMenu

ccg
net.minecraft.world.inventory.LegacySmithingMenu
net.minecraft.class_8050
net.minecraft.screen.LegacySmithingScreenHandler
net.minecraft.src.C_265836_
net.minecraft.world.inventory.LegacySmithingMenu

Field summary

Modifier and TypeField
private final Level
n
level
field_41915
world
f_265967_
public static final int
k
INPUT_SLOT
field_41912
field_41912
f_266088_
public static final int
l
ADDITIONAL_SLOT
field_41913
field_41913
f_266108_
public static final int
m
RESULT_SLOT
field_41914
field_41914
f_266036_
private static final int
s
INPUT_SLOT_X_PLACEMENT
field_41916
field_41916
f_265842_
private static final int
t
ADDITIONAL_SLOT_X_PLACEMENT
field_41917
field_41917
f_265989_
private static final int
u
RESULT_SLOT_X_PLACEMENT
field_41918
field_41918
f_265998_
private static final int
v
SLOT_Y_PLACEMENT
field_41919
field_41919
f_265988_
private LegacyUpgradeRecipe
w
selectedRecipe
field_41920
currentRecipe
f_265971_
private final List<LegacyUpgradeRecipe>
x
recipes
field_41921
recipes
f_265844_

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_266679_, 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_266731_, C_1391_ arg1)
private void
e(int arg0)
shrinkStackInSlot(int arg0)
method_48383(int arg0)
decrementStack(int slot)
m_266474_(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)
protected boolean
e(cfv arg0)
shouldQuickMoveToAdditionalSlot(ItemStack arg0)
method_48384(class_1799 arg0)
testAddition(ItemStack stack)
m_266581_(C_1391_ arg0)
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_267252_, C_1305_ arg1)