Package net.minecraft.world.inventory
Class StonecutterMenu
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
net.minecraft.world.inventory.StonecutterMenu
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final ContainerLevelAccessfinal Containerprivate ItemStackstatic final int(package private) final Slotprivate static final intprivate static final int(package private) longprivate final Levelprivate List<RecipeHolder<StonecutterRecipe>>static final int(package private) final ResultContainer(package private) final Slotprivate final DataSlot(package private) Runnableprivate static final intprivate static final intFields inherited from class net.minecraft.world.inventory.AbstractContainerMenuCARRIED_SLOT_SIZE, containerId, QUICKCRAFT_HEADER_CONTINUE, QUICKCRAFT_HEADER_END, QUICKCRAFT_HEADER_START, QUICKCRAFT_TYPE_CHARITABLE, QUICKCRAFT_TYPE_CLONE, QUICKCRAFT_TYPE_GREEDY, SLOT_CLICKED_OUTSIDE, slots
- 
Constructor SummaryConstructorsConstructorDescriptionStonecutterMenu(int p_40294_, Inventory p_40295_) StonecutterMenu(int p_40297_, Inventory p_40298_, ContainerLevelAccess p_40299_) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleancanTakeItemForPickAll(ItemStack p_40321_, Slot p_40322_) booleanclickMenuButton(Player p_40309_, int p_40310_) intintMenuType<?>getType()booleanprivate booleanisValidRecipeIndex(int p_40335_) quickMoveStack(Player p_40328_, int p_40329_) voidregisterUpdateListener(Runnable p_40324_) voidprivate voidsetupRecipeList(Container p_40304_, ItemStack p_40305_) (package private) voidvoidslotsChanged(Container p_40302_) booleanstillValid(Player p_40307_) Methods inherited from class net.minecraft.world.inventory.AbstractContainerMenuaddDataSlot, addDataSlots, addSlot, addSlotListener, broadcastChanges, broadcastFullState, canDragTo, canItemQuickReplace, checkContainerDataCount, checkContainerSize, clearContainer, clicked, findSlot, getCarried, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftPlaceCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getStateId, incrementStateId, initializeContents, isValidQuickcraftType, isValidSlotIndex, moveItemStackTo, removeSlotListener, resetQuickCraft, resumeRemoteUpdates, sendAllDataToRemote, setCarried, setData, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotNoCopy, setSynchronizer, stillValid, suppressRemoteUpdates, transferState
- 
Field Details- 
INPUT_SLOTpublic static final int INPUT_SLOT- See Also:
 
- 
RESULT_SLOTpublic static final int RESULT_SLOT- See Also:
 
- 
INV_SLOT_STARTprivate static final int INV_SLOT_START- See Also:
 
- 
INV_SLOT_ENDprivate static final int INV_SLOT_END- See Also:
 
- 
USE_ROW_SLOT_STARTprivate static final int USE_ROW_SLOT_START- See Also:
 
- 
USE_ROW_SLOT_ENDprivate static final int USE_ROW_SLOT_END- See Also:
 
- 
access
- 
selectedRecipeIndex
- 
level
- 
recipes
- 
input
- 
lastSoundTimelong lastSoundTime
- 
inputSlot
- 
resultSlot
- 
slotUpdateListenerRunnable slotUpdateListener
- 
container
- 
resultContainer
 
- 
- 
Constructor Details- 
StonecutterMenu
- 
StonecutterMenu
 
- 
- 
Method Details- 
getSelectedRecipeIndexpublic int getSelectedRecipeIndex()
- 
getRecipes
- 
getNumRecipespublic int getNumRecipes()
- 
hasInputItempublic boolean hasInputItem()
- 
stillValid- Specified by:
- stillValidin class- AbstractContainerMenu
 
- 
clickMenuButton- Overrides:
- clickMenuButtonin class- AbstractContainerMenu
 
- 
isValidRecipeIndexprivate boolean isValidRecipeIndex(int p_40335_) 
- 
slotsChanged- Overrides:
- slotsChangedin class- AbstractContainerMenu
 
- 
setupRecipeList
- 
setupResultSlotvoid setupResultSlot()
- 
getType- Overrides:
- getTypein class- AbstractContainerMenu
 
- 
registerUpdateListener
- 
canTakeItemForPickAll- Overrides:
- canTakeItemForPickAllin class- AbstractContainerMenu
 
- 
quickMoveStack- Specified by:
- quickMoveStackin class- AbstractContainerMenu
 
- 
removed- Overrides:
- removedin class- AbstractContainerMenu
 
 
-