net.minecraft.world.inventory

public class AnvilMenu

extends ItemCombinerMenu

cpx
net.minecraft.world.inventory.AnvilMenu
net.minecraft.class_1706
net.minecraft.unmapped.C_lyatwhhg
net.minecraft.screen.AnvilScreenHandler
net.minecraft.screen.AnvilScreenHandler
net.minecraft.src.C_1228_
net.minecraft.world.inventory.ContainerFurnace

Field summary

Modifier and TypeField
public static final int
k
INPUT_SLOT
field_41898
f_deqwagox
INPUT_1_ID
INGREDIENT_SLOT
f_265994_
public static final int
l
ADDITIONAL_SLOT
field_41899
f_wxpfvoey
INPUT_2_ID
ADDITIONAL_SLOT
f_265986_
public static final int
m
RESULT_SLOT
field_41900
f_ikopnbcx
OUTPUT_ID
RESULT_SLOT
f_266102_
private static final org.slf4j.Logger
s
LOGGER
field_7771
f_akwoqzqw
LOGGER
LOGGER
f_38999_
private static final boolean
t
DEBUG_COST
field_30752
f_orhvszmy
field_30752
DEBUG_COST
f_150469_
public static final int
n
MAX_NAME_LENGTH
field_30751
f_zqngpzjb
MAX_NAME_LENGTH
MAX_NAME_LENGTH
f_150468_
private int
u
repairItemCountCost
field_7776
f_tcfwzdrq
repairItemUsage
repairItemUsage
f_39000_
private String
v
itemName
field_7774
f_hbpqxazt
newItemName
newItemName
f_39001_
private final DataSlot
w
cost
field_7770
f_agioafxu
levelCost
levelCost
f_39002_
private static final int
x
COST_FAIL
field_30753
f_wphvmkca
field_30753
FAIL_COST
f_150470_
private static final int
y
COST_BASE
field_30754
f_llxmcyxx
field_30754
BASE_COST
f_150471_
private static final int
z
COST_ADDED_BASE
field_30755
f_tzpfssrh
field_30755
ADDED_BASE_COST
f_150472_
private static final int
A
COST_REPAIR_MATERIAL
field_30747
f_ctyvdvvy
field_30747
MATERIAL_REPAIR_COST
f_150464_
private static final int
B
COST_REPAIR_SACRIFICE
field_30748
f_ivfpdzqo
field_30748
SACRIFICE_REPAIR_COST
f_150465_
private static final int
C
COST_INCOMPATIBLE_PENALTY
field_30749
f_trtqhnlx
field_30749
INCOMPATIBLE_PENALTY_COST
f_150466_
private static final int
D
COST_RENAME
field_30750
f_ywzldfom
field_30750
RENAME_COST
f_150467_
private static final int
E
INPUT_SLOT_X_PLACEMENT
field_41894
f_hhjnerib
INPUT_1_X
INGREDIENT_SLOT_X
f_265898_
private static final int
F
ADDITIONAL_SLOT_X_PLACEMENT
field_41895
f_tjknmdum
INPUT_2_X
ADDITIONAL_SLOT_X
f_265878_
private static final int
G
RESULT_SLOT_X_PLACEMENT
field_41896
f_yyyjhqpr
OUTPUT_X
RESULT_SLOT_X
f_265992_
private static final int
H
SLOT_Y_PLACEMENT
field_41897
f_ysdzxtfh
SLOT_Y
SLOT_Y
f_266013_

Constructor summary

ModifierConstructor
public (int syncId, Inventory inventory)
public (int syncId, Inventory inventory, ContainerLevelAccess context)

Method summary

Modifier and TypeMethod
protected ItemCombinerMenuSlotDefinition
l()
createInputSlotDefinitions()
method_48352()
m_owhnofzz()
getForgingSlotsManager()
createSlotManager()
m_266183_()
protected boolean
a(dsd arg0)
isValidBlock(BlockState arg0)
method_24925(class_2680 arg0)
m_jshpyvtq(C_txtbiemp arg0)
canUse(BlockState arg0)
canUse(BlockState arg0)
m_8039_(C_2064_ arg0)
protected boolean
a(cmy arg0, boolean arg1)
mayPickup(Player arg0, boolean arg1)
method_24927(class_1657 arg0, boolean arg1)
m_bvwkgssv(C_jzrpycqo arg0, boolean arg1)
canTakeOutput(PlayerEntity arg0, boolean arg1)
canTakeOutput(PlayerEntity arg0, boolean arg1)
m_6560_(C_1141_ p_39024_, boolean arg1)
protected void
a(cmy arg0, cuq arg1)
onTake(Player arg0, ItemStack arg1)
method_24923(class_1657 arg0, class_1799 arg1)
m_jdftuppp(C_jzrpycqo arg0, C_sddaxwyk arg1)
onTakeOutput(PlayerEntity arg0, ItemStack arg1)
onTakeOutput(PlayerEntity arg0, ItemStack arg1)
m_142365_(C_1141_ p_150475_, C_1391_ arg1)
public void
m()
createResult()
method_24928()
m_gapjaiqi()
updateResult()
updateResult()
m_6640_()
public static int
e(int arg0)
calculateIncreasedRepairCost(int arg0)
method_20398(int arg0)
m_cchjuqcu(int arg0)
getNextCost(int cost)
getNextCost(int cost)
m_39025_(int p_39026_)
public boolean
a(String arg0)
setItemName(String arg0)
method_7625(String arg0)
m_lrndfkre(String arg0)
setNewItemName(String newItemName)
setNewItemName(String newItemName)
m_39020_(String arg0)
private static String
b(String arg0)
validateName(String arg0)
method_52176(String arg0)
m_jtfidutw(String arg0)
sanitize(String name)
validateName(String itemName)
m_288226_(String p_288995_)
public int
n()
getCost()
method_17369()
m_tayfvoha()
getLevelCost()
getLevelCost()
m_39028_()