net.minecraft.world.inventory

public class StonecutterMenu

extends AbstractContainerMenu

cug
net.minecraft.world.inventory.StonecutterMenu
net.minecraft.class_3971
net.minecraft.screen.StonecutterScreenHandler
net.minecraft.world.inventory.ContainerStonecutter

Field summary

Modifier and TypeField
public static final int
m
INPUT_SLOT
field_30842
INPUT_ID
public static final int
n
RESULT_SLOT
field_30843
OUTPUT_ID
private static final int
r
INV_SLOT_START
field_30844
INVENTORY_START
private static final int
s
INV_SLOT_END
field_30845
INVENTORY_END
private static final int
t
USE_ROW_SLOT_START
field_30846
OUTPUT_START
private static final int
u
USE_ROW_SLOT_END
field_30847
OUTPUT_END
private final ContainerLevelAccess
v
access
field_17630
context
final DataSlot
w
selectedRecipeIndex
field_17631
selectedRecipe
private final Level
x
level
field_17632
world
private SelectableRecipe$SingleInputSet<StonecutterRecipe>
y
recipesForInput
field_54600
availableRecipes
private ItemStack
z
input
field_17634
inputStack
long
A
lastSoundTime
field_17635
lastTakeTime
final Slot
o
inputSlot
field_17627
inputSlot
final Slot
p
resultSlot
field_17628
outputSlot
Runnable
B
slotUpdateListener
field_17636
contentsChangedListener
public final Container
q
container
field_17629
input
final ResultContainer
C
resultContainer
field_19173
output

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()
getSelectedRecipe()
public SelectableRecipe$SingleInputSet<StonecutterRecipe>
m()
getVisibleRecipes()
method_17863()
getAvailableRecipes()
public int
n()
getNumberOfVisibleRecipes()
method_17864()
getAvailableRecipeCount()
public boolean
o()
hasInputItem()
method_17865()
canCraft()
public boolean
b(coy arg0)
stillValid(Player arg0)
method_7597(class_1657 arg0)
canUse(PlayerEntity arg0)
public boolean
a(coy arg0, int arg1)
clickMenuButton(Player arg0, int arg1)
method_7604(class_1657 arg0, int arg1)
onButtonClick(PlayerEntity arg0, int arg1)
private boolean
e(int arg0)
isValidRecipeIndex(int arg0)
method_30160(int arg0)
isInBounds(int id)
public void
a(bse arg0)
slotsChanged(Container arg0)
method_7609(class_1263 arg0)
onContentChanged(Inventory arg0)
private void
c(cwq arg0)
setupRecipeList(ItemStack arg0)
method_17855(class_1799 arg0)
updateInput(ItemStack stack)
void
f(int arg0)
setupResultSlot(int arg0)
method_17866(int arg0)
populateResult(int selectedId)
public MenuType<?>
a()
getType()
method_17358()
getType()
public void
a(Runnable arg0)
registerUpdateListener(Runnable arg0)
method_17859(Runnable arg0)
setContentsChangedListener(Runnable contentsChangedListener)
public boolean
a(cwq arg0, cua arg1)
canTakeItemForPickAll(ItemStack arg0, Slot arg1)
method_7613(class_1799 arg0, class_1735 arg1)
canInsertIntoSlot(ItemStack arg0, Slot arg1)
public ItemStack
b(coy arg0, int arg1)
quickMoveStack(Player arg0, int arg1)
method_7601(class_1657 arg0, int arg1)
quickMove(PlayerEntity arg0, int arg1)
public void
a(coy arg0)
removed(Player arg0)
method_7595(class_1657 arg0)
onClosed(PlayerEntity arg0)