net.minecraft.world.inventory

public class GrindstoneMenu

extends AbstractContainerMenu

ccb
net.minecraft.world.inventory.GrindstoneMenu
net.minecraft.class_3803
net.minecraft.screen.GrindstoneScreenHandler
net.minecraft.src.C_1265_
net.minecraft.world.inventory.ContainerGrindstone

Field summary

Modifier and TypeField
public static final int
k
MAX_NAME_LENGTH
field_30793
field_30793
f_150565_
public static final int
l
INPUT_SLOT
field_30794
INPUT_1_ID
f_150566_
public static final int
m
ADDITIONAL_SLOT
field_30795
INPUT_2_ID
f_150567_
public static final int
n
RESULT_SLOT
field_30796
OUTPUT_ID
f_150568_
private static final int
o
INV_SLOT_START
field_30797
INVENTORY_START
f_150569_
private static final int
p
INV_SLOT_END
field_30798
INVENTORY_END
f_150570_
private static final int
q
USE_ROW_SLOT_START
field_30799
HOTBAR_START
f_150571_
private static final int
r
USE_ROW_SLOT_END
field_30800
HOTBAR_END
f_150572_
private final Container
s
resultSlots
field_16773
result
f_39559_
final Container
t
repairSlots
field_16772
input
f_39560_
private final ContainerLevelAccess
u
access
field_16775
context
f_39561_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(bdq arg0)
slotsChanged(Container arg0)
method_7609(class_1263 arg0)
onContentChanged(Inventory arg0)
m_6199_(C_464_ arg0)
private void
l()
createResult()
method_16695()
updateResult()
m_39593_()
private ItemStack
a(cfz arg0, cfz arg1)
mergeEnchants(ItemStack arg0, ItemStack arg1)
method_20268(class_1799 arg0, class_1799 arg1)
transferEnchantments(ItemStack target, ItemStack source)
m_39590_(C_1391_ p_39592_, C_1391_ arg1)
private ItemStack
a(cfz arg0, int arg1, int arg2)
removeNonCurses(ItemStack arg0, int arg1, int arg2)
method_16693(class_1799 arg0, int arg1, int arg2)
grind(ItemStack item, int damage, int amount)
m_39579_(C_1391_ p_39581_, int p_39582_, int arg2)
public void
b(byo arg0)
removed(Player arg0)
method_7595(class_1657 arg0)
onClosed(PlayerEntity arg0)
m_6877_(C_1141_ arg0)
public boolean
a(byo arg0)
stillValid(Player arg0)
method_7597(class_1657 arg0)
canUse(PlayerEntity arg0)
m_6875_(C_1141_ arg0)
public ItemStack
a(byo arg0, int arg1)
quickMoveStack(Player arg0, int arg1)
method_7601(class_1657 arg0, int arg1)
quickMove(PlayerEntity arg0, int arg1)
m_7648_(C_1141_ p_39589_, int arg1)