net.minecraft.world.inventory

public class AnvilMenu

extends ItemCombinerMenu

bgk
net.minecraft.world.inventory.AnvilMenu
net.minecraft.class_1706
net.minecraft.screen.AnvilScreenHandler
net.minecraft.inventory.container.RepairContainer
net.minecraft.server.v1_16_R1.ContainerAnvil

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
g
LOGGER
field_7771
LOGGER
field_148326_f
private int
h
repairItemCountCost
field_7776
repairItemUsage
field_82856_l
private String
i
itemName
field_7774
newItemName
field_82857_m
renameText
private final DataSlot
j
cost
field_7770
levelCost
field_82854_e
levelCost

Constructor summary

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

Method summary

Modifier and TypeMethod
protected boolean
a(cfj arg0)
isValidBlock(BlockState arg0)
method_24925(class_2680 arg0)
canUse(BlockState arg0)
func_230302_a_(BlockState arg0)
protected boolean
b(bec arg0, boolean arg1)
mayPickup(Player arg0, boolean arg1)
method_24927(class_1657 arg0, boolean arg1)
canTakeOutput(PlayerEntity arg0, boolean arg1)
func_230303_b_(PlayerEntity arg0, boolean arg1)
protected ItemStack
a(bec arg0, bki arg1)
onTake(Player arg0, ItemStack arg1)
method_24923(class_1657 arg0, class_1799 arg1)
onTakeOutput(PlayerEntity arg0, ItemStack arg1)
func_230301_a_(PlayerEntity arg0, ItemStack arg1)
public void
e()
createResult()
method_24928()
updateResult()
func_82848_d()
public static int
d(int arg0)
calculateIncreasedRepairCost(int arg0)
method_20398(int arg0)
getNextCost(int cost)
func_216977_d(int arg0)
public void
a(String arg0)
setItemName(String arg0)
method_7625(String arg0)
setNewItemName(String arg0)
func_82850_a(String arg0)
public int
f()
getCost()
method_17369()
getLevelCost()
func_216976_f()