Package net.minecraft.world.inventory
Class ItemCombinerMenu
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
net.minecraft.world.inventory.ItemCombinerMenu
- Direct Known Subclasses:
AnvilMenu
,SmithingMenu
-
Field Summary
Modifier and TypeFieldDescriptionprotected final ContainerLevelAccess
static final int
static final int
protected final Container
private static final int
private static final int
protected final Player
static final int
protected final ResultContainer
private static final int
private static final int
Fields inherited from class net.minecraft.world.inventory.AbstractContainerMenu
CARRIED_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 Summary
ConstructorDescriptionItemCombinerMenu
(MenuType<?> p_39773_, int p_39774_, Inventory p_39775_, ContainerLevelAccess p_39776_) -
Method Summary
Modifier and TypeMethodDescriptionabstract void
protected abstract boolean
isValidBlock
(BlockState p_39788_) protected abstract boolean
protected abstract void
quickMoveStack
(Player p_39792_, int p_39793_) void
protected boolean
shouldQuickMoveToAdditionalSlot
(ItemStack p_39787_) void
slotsChanged
(Container p_39778_) boolean
stillValid
(Player p_39780_) Methods inherited from class net.minecraft.world.inventory.AbstractContainerMenu
addDataSlot, addDataSlots, addSlot, addSlotListener, broadcastChanges, broadcastFullState, canDragTo, canItemQuickReplace, canTakeItemForPickAll, checkContainerDataCount, checkContainerSize, clearContainer, clicked, clickMenuButton, findSlot, getCarried, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftSlotCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getStateId, getType, incrementStateId, initializeContents, isValidQuickcraftType, isValidSlotIndex, moveItemStackTo, removeSlotListener, resetQuickCraft, resumeRemoteUpdates, sendAllDataToRemote, setCarried, setData, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotNoCopy, setSynchronizer, stillValid, suppressRemoteUpdates, transferState
-
Field Details
-
INPUT_SLOT
public static final int INPUT_SLOT- See Also:
-
ADDITIONAL_SLOT
public static final int ADDITIONAL_SLOT- See Also:
-
RESULT_SLOT
public static final int RESULT_SLOT- See Also:
-
INV_SLOT_START
private static final int INV_SLOT_START- See Also:
-
INV_SLOT_END
private static final int INV_SLOT_END- See Also:
-
USE_ROW_SLOT_START
private static final int USE_ROW_SLOT_START- See Also:
-
USE_ROW_SLOT_END
private static final int USE_ROW_SLOT_END- See Also:
-
resultSlots
-
inputSlots
-
access
-
player
-
-
Constructor Details
-
ItemCombinerMenu
public ItemCombinerMenu(@Nullable MenuType<?> p_39773_, int p_39774_, Inventory p_39775_, ContainerLevelAccess p_39776_)
-
-
Method Details
-
mayPickup
-
onTake
-
isValidBlock
-
createResult
public abstract void createResult() -
slotsChanged
- Overrides:
slotsChanged
in classAbstractContainerMenu
-
removed
- Overrides:
removed
in classAbstractContainerMenu
-
stillValid
- Specified by:
stillValid
in classAbstractContainerMenu
-
shouldQuickMoveToAdditionalSlot
-
quickMoveStack
- Overrides:
quickMoveStack
in classAbstractContainerMenu
-