net.minecraft.world.inventory

public class AnvilMenu

extends AbstractContainerMenu

bap
net.minecraft.world.inventory.AnvilMenu
net.minecraft.class_1706
net.minecraft.container.AnvilContainer
net.minecraft.inventory.container.RepairContainer
net.minecraft.server.v1_15_R1.ContainerAnvil

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
c
LOGGER
field_7771
LOGGER
field_148326_f
private final Container
d
resultSlots
field_7769
result
field_82852_f
resultInventory
private final Container
e
repairSlots
field_7773
inventory
field_82853_g
repairInventory
private final DataSlot
f
cost
field_7770
levelCost
field_82854_e
levelCost
private final ContainerLevelAccess
g
access
field_7777
context
field_216980_g
containerAccess
private int
h
repairItemCountCost
field_7776
repairItemUsage
field_82856_l
private String
i
itemName
field_7774
newItemName
field_82857_m
renameText
private final Player
j
player
field_7775
player
field_82855_n
player

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(aje arg0)
slotsChanged(Container arg0)
method_7609(class_1263 arg0)
onContentChanged(Inventory arg0)
func_75130_a(IInventory arg0)
public void
e()
createResult()
method_7628()
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
b(ayj arg0)
removed(Player arg0)
method_7595(class_1657 arg0)
close(PlayerEntity arg0)
func_75134_a(PlayerEntity arg0)
public boolean
a(ayj arg0)
stillValid(Player arg0)
method_7597(class_1657 arg0)
canUse(PlayerEntity arg0)
func_75145_c(PlayerEntity arg0)
canUse(EntityHuman arg0)
public ItemStack
b(ayj arg0, int arg1)
quickMoveStack(Player arg0, int arg1)
method_7601(class_1657 arg0, int arg1)
transferSlot(PlayerEntity arg0, int arg1)
func_82846_b(PlayerEntity arg0, int arg1)
shiftClick(EntityHuman arg0, int arg1)
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()