net.minecraft.world.inventory

public class AnvilMenu

extends ItemCombinerMenu

bvr
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.ContainerAnvil

Field summary

Modifier and TypeField
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
k
MAX_NAME_LENGTH
field_30751
f_zqngpzjb
field_30751
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_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected boolean
a(cur 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(btf 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(btf arg0, caa 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
l()
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 void
a(String arg0)
setItemName(String arg0)
method_7625(String arg0)
m_lrndfkre(String arg0)
setNewItemName(String newItemName)
setNewItemName(String newItemName)
m_39020_(String arg0)
public int
m()
getCost()
method_17369()
m_tayfvoha()
getLevelCost()
getLevelCost()
m_39028_()