Package net.minecraft.world.inventory
Class CrafterMenu
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
net.minecraft.world.inventory.CrafterMenu
- All Implemented Interfaces:
- ContainerListener
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final CraftingContainerprivate final ContainerDataprivate static final intprivate static final intprivate final Playerprivate final ResultContainerprotected static final intprivate 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 SummaryConstructorsConstructorDescriptionCrafterMenu(int p_307357_, Inventory p_307257_) CrafterMenu(int p_307363_, Inventory p_307517_, CraftingContainer p_307449_, ContainerData p_307285_) 
- 
Method SummaryModifier and TypeMethodDescriptionprivate voidvoiddataChanged(AbstractContainerMenu p_307424_, int p_307646_, int p_307221_) booleanbooleanisSlotDisabled(int p_307609_) quickMoveStack(Player p_307459_, int p_307204_) private voidvoidsetSlotState(int p_307384_, boolean p_307499_) voidslotChanged(AbstractContainerMenu p_307332_, int p_307437_, ItemStack p_307233_) booleanstillValid(Player p_307229_) Methods inherited from class net.minecraft.world.inventory.AbstractContainerMenuaddDataSlot, addDataSlots, addSlot, addSlotListener, broadcastChanges, broadcastFullState, canDragTo, canItemQuickReplace, canTakeItemForPickAll, checkContainerDataCount, checkContainerSize, clearContainer, clicked, clickMenuButton, findSlot, getCarried, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftPlaceCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getStateId, getType, incrementStateId, initializeContents, isValidQuickcraftType, isValidSlotIndex, moveItemStackTo, removed, removeSlotListener, resetQuickCraft, resumeRemoteUpdates, sendAllDataToRemote, setCarried, setData, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotNoCopy, setSynchronizer, slotsChanged, stillValid, suppressRemoteUpdates, transferState
- 
Field Details- 
SLOT_COUNTprotected static final int SLOT_COUNT- 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:
 
- 
resultContainer
- 
containerData
- 
player
- 
container
 
- 
- 
Constructor Details- 
CrafterMenu
- 
CrafterMenupublic CrafterMenu(int p_307363_, Inventory p_307517_, CraftingContainer p_307449_, ContainerData p_307285_) 
 
- 
- 
Method Details- 
addSlots
- 
setSlotStatepublic void setSlotState(int p_307384_, boolean p_307499_) 
- 
isSlotDisabledpublic boolean isSlotDisabled(int p_307609_) 
- 
isPoweredpublic boolean isPowered()
- 
quickMoveStack- Specified by:
- quickMoveStackin class- AbstractContainerMenu
 
- 
stillValid- Specified by:
- stillValidin class- AbstractContainerMenu
 
- 
refreshRecipeResultprivate void refreshRecipeResult()
- 
getContainer
- 
slotChanged- Specified by:
- slotChangedin interface- ContainerListener
 
- 
dataChanged- Specified by:
- dataChangedin interface- ContainerListener
 
 
-