net.minecraft.world.inventory

public class StonecutterMenu

extends AbstractContainerMenu

bjs
net.minecraft.world.inventory.StonecutterMenu
net.minecraft.class_3971
net.minecraft.screen.StonecutterScreenHandler
net.minecraft.inventory.container.StonecutterContainer
net.minecraft.server.v1_16_R2.ContainerStonecutter

Field summary

Modifier and TypeField
private final ContainerLevelAccess
f
access
field_17630
context
field_217088_g
containerAccess
private final DataSlot
g
selectedRecipeIndex
field_17631
selectedRecipe
field_217089_h
containerProperty
private final Level
h
level
field_17632
world
field_217090_i
world
private List<StonecutterRecipe>
i
recipes
field_17633
availableRecipes
field_217091_j
private ItemStack
j
input
field_17634
inputStack
field_217092_k
private long
k
lastSoundTime
field_17635
lastTakeTime
field_217093_l
final Slot
c
inputSlot
field_17627
inputSlot
field_217085_d
final Slot
d
resultSlot
field_17628
outputSlot
field_217086_e
private Runnable
l
slotUpdateListener
field_17636
contentsChangedListener
field_217094_m
public final Container
e
container
field_17629
input
field_217087_f
inventory
private final ResultContainer
m
resultContainer
field_19173
output
field_217095_n
resultInventory

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a(bft arg0)
stillValid(Player arg0)
method_7597(class_1657 arg0)
canUse(PlayerEntity arg0)
func_75145_c(PlayerEntity arg0)
canUse(EntityHuman arg0)
public boolean
a(bft arg0, int arg1)
clickMenuButton(Player arg0, int arg1)
method_7604(class_1657 arg0, int arg1)
onButtonClick(PlayerEntity arg0, int arg1)
func_75140_a(PlayerEntity arg0, int arg1)
private boolean
d(int arg0)
isValidRecipeIndex(int arg0)
method_30160(int arg0)
method_30160(int arg0)
func_241818_d_(int arg0)
public void
a(aok arg0)
slotsChanged(Container arg0)
method_7609(class_1263 arg0)
onContentChanged(Inventory arg0)
func_75130_a(IInventory arg0)
private void
a(aok arg0, bly arg1)
setupRecipeList(Container arg0, ItemStack arg1)
method_17855(class_1263 arg0, class_1799 arg1)
updateInput(Inventory input, ItemStack stack)
func_217074_a(IInventory arg0, ItemStack arg1)
private void
i()
setupResultSlot()
method_17866()
populateResult()
func_217082_i()
public MenuType<?>
a()
getType()
method_17358()
getType()
func_216957_a()
getType()
public boolean
a(bly arg0, bjo arg1)
canTakeItemForPickAll(ItemStack arg0, Slot arg1)
method_7613(class_1799 arg0, class_1735 arg1)
canInsertIntoSlot(ItemStack arg0, Slot arg1)
func_94530_a(ItemStack arg0, Slot arg1)
public ItemStack
b(bft arg0, int arg1)
quickMoveStack(Player arg0, int arg1)
method_7601(class_1657 arg0, int arg1)
transferSlot(PlayerEntity arg0, int arg1)
func_82846_b(PlayerEntity arg0, int arg1)
shiftClick(EntityHuman arg0, int arg1)
public void
b(bft arg0)
removed(Player arg0)
method_7595(class_1657 arg0)
close(PlayerEntity arg0)
func_75134_a(PlayerEntity arg0)
public int
e()
getSelectedRecipeIndex()
method_17862()
getSelectedRecipe()
func_217073_e()
public List<StonecutterRecipe>
f()
getRecipes()
method_17863()
getAvailableRecipes()
func_217076_f()
public int
g()
getNumRecipes()
method_17864()
getAvailableRecipeCount()
func_217075_g()
public boolean
h()
hasInputItem()
method_17865()
canCraft()
func_217083_h()
public void
a(Runnable arg0)
registerUpdateListener(Runnable arg0)
method_17859(Runnable arg0)
setContentsChangedListener(Runnable arg0)
func_217071_a(Runnable arg0)