net.minecraft.world.inventory

public class StonecutterMenu

extends AbstractContainerMenu

crw
net.minecraft.world.inventory.StonecutterMenu
net.minecraft.class_3971
net.minecraft.unmapped.C_lrxlhaop
net.minecraft.screen.StonecutterScreenHandler
net.minecraft.screen.StonecutterScreenHandler
net.minecraft.src.C_1309_
net.minecraft.world.inventory.AutoRecipeOutput

Field summary

Modifier and TypeField
public static final int
k
INPUT_SLOT
field_30842
f_bmmvkxcz
INPUT_ID
INPUT_SLOT
f_150665_
public static final int
l
RESULT_SLOT
field_30843
f_jjrktzbm
OUTPUT_ID
RESULT_SLOT
f_150666_
private static final int
p
INV_SLOT_START
field_30844
f_nvglzztn
INVENTORY_START
INVENTORY_SLOTS_START
f_150667_
private static final int
q
INV_SLOT_END
field_30845
f_enaxfhqh
INVENTORY_END
INVENTORY_SLOTS_END
f_150668_
private static final int
r
USE_ROW_SLOT_START
field_30846
f_xxpjbotn
OUTPUT_START
HOTBAR_SLOTS_START
f_150669_
private static final int
s
USE_ROW_SLOT_END
field_30847
f_neghzmaf
OUTPUT_END
HOTBAR_SLOTS_END
f_150670_
private final ContainerLevelAccess
t
access
field_17630
f_ydlyopdp
context
context
f_40285_
private final DataSlot
u
selectedRecipeIndex
field_17631
f_sfeegxlq
selectedRecipe
selectedRecipe
f_40286_
private final Level
v
level
field_17632
f_ofwnkunq
world
world
f_40287_
private List<RecipeHolder<StonecutterRecipe>>
w
recipes
field_17633
f_uaepqpzs
availableRecipes
availableRecipes
f_40288_
private ItemStack
x
input
field_17634
f_miaggzkk
inputStack
inputStack
f_40289_
long
y
lastSoundTime
field_17635
f_hsjkgbvh
lastTakeTime
lastTakeTime
f_40290_
final Slot
m
inputSlot
field_17627
f_swsdyald
inputSlot
inputSlot
f_40282_
final Slot
n
resultSlot
field_17628
f_xottckwi
outputSlot
outputSlot
f_40283_
Runnable
z
slotUpdateListener
field_17636
f_cjxwwbkx
contentsChangedListener
contentsChangedListener
f_40291_
public final Container
o
container
field_17629
f_pcrzzksi
input
input
f_40284_
final ResultContainer
A
resultContainer
field_19173
f_kphwjlhj
output
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
l()
getSelectedRecipeIndex()
method_17862()
m_hqjujbhi()
getSelectedRecipe()
getSelectedRecipe()
m_40338_()
public List<RecipeHolder<StonecutterRecipe>>
m()
getRecipes()
method_17863()
m_vmxawlpw()
getAvailableRecipes()
getAvailableRecipes()
m_40339_()
public int
n()
getNumRecipes()
method_17864()
m_ymewrzwz()
getAvailableRecipeCount()
getAvailableRecipeCount()
m_40340_()
public boolean
o()
hasInputItem()
method_17865()
m_rseaudov()
canCraft()
canCraft()
m_40341_()
public boolean
a(cmy arg0)
stillValid(Player arg0)
method_7597(class_1657 arg0)
m_zipsjvkj(C_jzrpycqo arg0)
canUse(PlayerEntity arg0)
canUse(PlayerEntity arg0)
m_6875_(C_1141_ arg0)
public boolean
b(cmy arg0, int arg1)
clickMenuButton(Player arg0, int arg1)
method_7604(class_1657 arg0, int arg1)
m_ydpykrle(C_jzrpycqo arg0, int arg1)
onButtonClick(PlayerEntity arg0, int arg1)
onButtonClick(PlayerEntity arg0, int arg1)
m_6366_(C_1141_ p_40310_, int arg1)
private boolean
e(int arg0)
isValidRecipeIndex(int arg0)
method_30160(int arg0)
m_jqyrkmgw(int arg0)
isInBounds(int id)
isInBounds(int id)
m_40334_(int arg0)
public void
a(bqo arg0)
slotsChanged(Container arg0)
method_7609(class_1263 arg0)
m_heazfhiy(C_pjtstjoq arg0)
onContentChanged(Inventory arg0)
onContentChanged(Inventory arg0)
m_6199_(C_464_ arg0)
private void
a(bqo arg0, cuq arg1)
setupRecipeList(Container arg0, ItemStack arg1)
method_17855(class_1263 arg0, class_1799 arg1)
m_qaarxmlh(C_pjtstjoq arg0, C_sddaxwyk arg1)
updateInput(Inventory input, ItemStack stack)
updateInput(Inventory input, ItemStack stack)
m_40303_(C_464_ p_40305_, C_1391_ arg1)
void
p()
setupResultSlot()
method_17866()
m_utybkoqq()
populateResult()
populateResult()
m_40342_()
public MenuType<?>
a()
getType()
method_17358()
m_gdlxijre()
getType()
getType()
m_6772_()
public void
a(Runnable arg0)
registerUpdateListener(Runnable arg0)
method_17859(Runnable arg0)
m_sdjfqnwp(Runnable arg0)
setContentsChangedListener(Runnable contentsChangedListener)
setContentsChangedListener(Runnable contentsChangedListener)
m_40323_(Runnable arg0)
public boolean
a(cuq arg0, crq arg1)
canTakeItemForPickAll(ItemStack arg0, Slot arg1)
method_7613(class_1799 arg0, class_1735 arg1)
m_pmldxlql(C_sddaxwyk arg0, C_nhvqfffd arg1)
canInsertIntoSlot(ItemStack arg0, Slot arg1)
canInsertIntoSlot(ItemStack arg0, Slot arg1)
m_5882_(C_1391_ p_40322_, C_1305_ arg1)
public ItemStack
a(cmy arg0, int arg1)
quickMoveStack(Player arg0, int arg1)
method_7601(class_1657 arg0, int arg1)
m_oujzgmbb(C_jzrpycqo arg0, int arg1)
quickMove(PlayerEntity arg0, int arg1)
quickTransfer(PlayerEntity arg0, int arg1)
m_7648_(C_1141_ p_40329_, int arg1)
public void
b(cmy arg0)
removed(Player arg0)
method_7595(class_1657 arg0)
m_bftcwuek(C_jzrpycqo arg0)
onClosed(PlayerEntity arg0)
close(PlayerEntity arg0)
m_6877_(C_1141_ arg0)