net.minecraft.world.inventory

public class GrindstoneMenu

extends AbstractContainerMenu

cuc
net.minecraft.world.inventory.GrindstoneMenu
net.minecraft.class_3803
net.minecraft.screen.GrindstoneScreenHandler
net.minecraft.world.inventory.ContainerGrindstone

Field summary

Modifier and TypeField
public static final int
m
MAX_NAME_LENGTH
field_30793
field_30793
public static final int
n
INPUT_SLOT
field_30794
INPUT_1_ID
public static final int
o
ADDITIONAL_SLOT
field_30795
INPUT_2_ID
public static final int
p
RESULT_SLOT
field_30796
OUTPUT_ID
private static final int
q
INV_SLOT_START
field_30797
INVENTORY_START
private static final int
r
INV_SLOT_END
field_30798
INVENTORY_END
private static final int
s
USE_ROW_SLOT_START
field_30799
HOTBAR_START
private static final int
t
USE_ROW_SLOT_END
field_30800
HOTBAR_END
private final Container
u
resultSlots
field_16773
result
final Container
v
repairSlots
field_16772
input
private final ContainerLevelAccess
w
access
field_16775
context

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(btc arg0)
slotsChanged(Container arg0)
method_7609(class_1263 arg0)
onContentChanged(Inventory arg0)
private void
l()
createResult()
method_16695()
updateResult()
private ItemStack
a(cxp arg0, cxp arg1)
computeResult(ItemStack arg0, ItemStack arg1)
method_58070(class_1799 arg0, class_1799 arg1)
getOutputStack(ItemStack firstInput, ItemStack secondInput)
private ItemStack
b(cxp arg0, cxp arg1)
mergeItems(ItemStack arg0, ItemStack arg1)
method_58074(class_1799 arg0, class_1799 arg1)
combineItems(ItemStack firstInput, ItemStack secondInput)
private void
c(cxp arg0, cxp arg1)
mergeEnchantsFrom(ItemStack arg0, ItemStack arg1)
method_20268(class_1799 arg0, class_1799 arg1)
transferEnchantments(ItemStack target, ItemStack source)
private ItemStack
c(cxp arg0)
removeNonCursesFrom(ItemStack arg0)
method_16693(class_1799 arg0)
grind(ItemStack item)
public void
a(cpx arg0)
removed(Player arg0)
method_7595(class_1657 arg0)
onClosed(PlayerEntity arg0)
public boolean
b(cpx arg0)
stillValid(Player arg0)
method_7597(class_1657 arg0)
canUse(PlayerEntity arg0)
public ItemStack
b(cpx arg0, int arg1)
quickMoveStack(Player arg0, int arg1)
method_7601(class_1657 arg0, int arg1)
quickMove(PlayerEntity arg0, int arg1)