net.minecraft.world.inventory

public class StonecutterMenu

extends AbstractContainerMenu

boe
net.minecraft.world.inventory.StonecutterMenu
net.minecraft.class_3971
net.minecraft.screen.StonecutterScreenHandler
net.minecraft.src.C_1309_
net.minecraft.world.inventory.ContainerStonecutter

Field summary

Modifier and TypeField
public static final int
k
INPUT_SLOT
field_30842
field_30842
f_150665_
public static final int
l
RESULT_SLOT
field_30843
field_30843
f_150666_
private static final int
p
INV_SLOT_START
field_30844
field_30844
f_150667_
private static final int
q
INV_SLOT_END
field_30845
field_30845
f_150668_
private static final int
r
USE_ROW_SLOT_START
field_30846
field_30846
f_150669_
private static final int
s
USE_ROW_SLOT_END
field_30847
field_30847
f_150670_
private final ContainerLevelAccess
t
access
field_17630
context
f_40285_
private final DataSlot
u
selectedRecipeIndex
field_17631
selectedRecipe
f_40286_
private final Level
v
level
field_17632
world
f_40287_
private List<StonecutterRecipe>
w
recipes
field_17633
availableRecipes
f_40288_
private ItemStack
x
input
field_17634
inputStack
f_40289_
long
y
lastSoundTime
field_17635
lastTakeTime
f_40290_
final Slot
m
inputSlot
field_17627
inputSlot
f_40282_
final Slot
n
resultSlot
field_17628
outputSlot
f_40283_
Runnable
z
slotUpdateListener
field_17636
contentsChangedListener
f_40291_
public final Container
o
container
field_17629
input
f_40284_
final ResultContainer
A
resultContainer
field_19173
output
f_40292_

Constructor summary

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

Method summary

Modifier and TypeMethod
public int
i()
getSelectedRecipeIndex()
method_17862()
getSelectedRecipe()
m_40338_()
public List<StonecutterRecipe>
j()
getRecipes()
method_17863()
getAvailableRecipes()
m_40339_()
public int
k()
getNumRecipes()
method_17864()
getAvailableRecipeCount()
m_40340_()
public boolean
l()
hasInputItem()
method_17865()
canCraft()
m_40341_()
public boolean
a(bkd arg0)
stillValid(Player arg0)
method_7597(class_1657 arg0)
canUse(PlayerEntity arg0)
m_6875_(C_1141_ arg0)
canUse(EntityHuman arg0)
public boolean
a(bkd arg0, int arg1)
clickMenuButton(Player arg0, int arg1)
method_7604(class_1657 arg0, int arg1)
onButtonClick(PlayerEntity arg0, int arg1)
m_6366_(C_1141_ p_40310_, int arg1)
private boolean
d(int arg0)
isValidRecipeIndex(int arg0)
method_30160(int arg0)
method_30160(int arg0)
m_40334_(int arg0)
public void
a(art arg0)
slotsChanged(Container arg0)
method_7609(class_1263 arg0)
onContentChanged(Inventory arg0)
m_6199_(C_464_ arg0)
private void
a(art arg0, bqp arg1)
setupRecipeList(Container arg0, ItemStack arg1)
method_17855(class_1263 arg0, class_1799 arg1)
updateInput(Inventory input, ItemStack stack)
m_40303_(C_464_ p_40305_, C_1391_ arg1)
void
m()
setupResultSlot()
method_17866()
populateResult()
m_40342_()
public MenuType<?>
a()
getType()
method_17358()
getType()
m_6772_()
getType()
public void
a(Runnable arg0)
registerUpdateListener(Runnable arg0)
method_17859(Runnable arg0)
setContentsChangedListener(Runnable arg0)
m_40323_(Runnable arg0)
public boolean
a(bqp arg0, boa arg1)
canTakeItemForPickAll(ItemStack arg0, Slot arg1)
method_7613(class_1799 arg0, class_1735 arg1)
canInsertIntoSlot(ItemStack arg0, Slot arg1)
m_5882_(C_1391_ p_40322_, C_1305_ arg1)
public ItemStack
b(bkd arg0, int arg1)
quickMoveStack(Player arg0, int arg1)
method_7601(class_1657 arg0, int arg1)
transferSlot(PlayerEntity arg0, int arg1)
m_7648_(C_1141_ p_40329_, int arg1)
shiftClick(EntityHuman arg0, int arg1)
public void
b(bkd arg0)
removed(Player arg0)
method_7595(class_1657 arg0)
close(PlayerEntity arg0)
m_6877_(C_1141_ arg0)