Package net.minecraft.world.inventory
Class LegacySmithingMenu
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
net.minecraft.world.inventory.ItemCombinerMenu
net.minecraft.world.inventory.LegacySmithingMenu
Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Deprecated, for removal: This API element is subject to removal in a future version.private static final int
Deprecated, for removal: This API element is subject to removal in a future version.static final int
Deprecated, for removal: This API element is subject to removal in a future version.private static final int
Deprecated, for removal: This API element is subject to removal in a future version.private final Level
Deprecated, for removal: This API element is subject to removal in a future version.private final List<LegacyUpgradeRecipe>
Deprecated, for removal: This API element is subject to removal in a future version.static final int
Deprecated, for removal: This API element is subject to removal in a future version.private static final int
Deprecated, for removal: This API element is subject to removal in a future version.private LegacyUpgradeRecipe
Deprecated, for removal: This API element is subject to removal in a future version.private static final int
Deprecated, for removal: This API element is subject to removal in a future version.Fields inherited from class net.minecraft.world.inventory.ItemCombinerMenu
access, inputSlots, player, resultSlots
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
ConstructorDescriptionLegacySmithingMenu
(int p_267173_, Inventory p_267175_) Deprecated, for removal: This API element is subject to removal in a future version.LegacySmithingMenu
(int p_266937_, Inventory p_267213_, ContainerLevelAccess p_266723_) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionboolean
canTakeItemForPickAll
(ItemStack p_266810_, Slot p_267252_) Deprecated, for removal: This API element is subject to removal in a future version.protected ItemCombinerMenuSlotDefinition
Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.int
getSlotToQuickMoveTo
(ItemStack p_267241_) Deprecated, for removal: This API element is subject to removal in a future version.protected boolean
isValidBlock
(BlockState p_266887_) Deprecated, for removal: This API element is subject to removal in a future version.protected boolean
Deprecated, for removal: This API element is subject to removal in a future version.protected void
Deprecated, for removal: This API element is subject to removal in a future version.protected boolean
shouldQuickMoveToAdditionalSlot
(ItemStack p_267176_) Deprecated, for removal: This API element is subject to removal in a future version.private void
shrinkStackInSlot
(int p_267273_) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class net.minecraft.world.inventory.ItemCombinerMenu
canMoveIntoInputSlots, getResultSlot, quickMoveStack, removed, slotsChanged, stillValid
Methods inherited from class net.minecraft.world.inventory.AbstractContainerMenu
addDataSlot, addDataSlots, addSlot, addSlotListener, broadcastChanges, broadcastFullState, canDragTo, canItemQuickReplace, 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
-
level
Deprecated, for removal: This API element is subject to removal in a future version. -
INPUT_SLOT
public static final int INPUT_SLOTDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
ADDITIONAL_SLOT
public static final int ADDITIONAL_SLOTDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
RESULT_SLOT
public static final int RESULT_SLOTDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
INPUT_SLOT_X_PLACEMENT
private static final int INPUT_SLOT_X_PLACEMENTDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
ADDITIONAL_SLOT_X_PLACEMENT
private static final int ADDITIONAL_SLOT_X_PLACEMENTDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
RESULT_SLOT_X_PLACEMENT
private static final int RESULT_SLOT_X_PLACEMENTDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
SLOT_Y_PLACEMENT
private static final int SLOT_Y_PLACEMENTDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
selectedRecipe
Deprecated, for removal: This API element is subject to removal in a future version. -
recipes
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
LegacySmithingMenu
Deprecated, for removal: This API element is subject to removal in a future version. -
LegacySmithingMenu
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
createInputSlotDefinitions
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
createInputSlotDefinitions
in classItemCombinerMenu
-
isValidBlock
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isValidBlock
in classItemCombinerMenu
-
mayPickup
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
mayPickup
in classItemCombinerMenu
-
onTake
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
onTake
in classItemCombinerMenu
-
shrinkStackInSlot
private void shrinkStackInSlot(int p_267273_) Deprecated, for removal: This API element is subject to removal in a future version. -
createResult
public void createResult()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
createResult
in classItemCombinerMenu
-
getSlotToQuickMoveTo
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getSlotToQuickMoveTo
in classItemCombinerMenu
-
shouldQuickMoveToAdditionalSlot
Deprecated, for removal: This API element is subject to removal in a future version. -
canTakeItemForPickAll
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
canTakeItemForPickAll
in classAbstractContainerMenu
-