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
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated, for removal: This API element is subject to removal in a future version.private static final intDeprecated, for removal: This API element is subject to removal in a future version.static final intDeprecated, for removal: This API element is subject to removal in a future version.private static final intDeprecated, for removal: This API element is subject to removal in a future version.private final LevelDeprecated, 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 intDeprecated, for removal: This API element is subject to removal in a future version.private static final intDeprecated, for removal: This API element is subject to removal in a future version.private LegacyUpgradeRecipeDeprecated, for removal: This API element is subject to removal in a future version.private static final intDeprecated, 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, resultSlotsFields 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
ConstructorsConstructorDescriptionLegacySmithingMenu(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 TypeMethodDescriptionbooleancanTakeItemForPickAll(ItemStack p_266810_, Slot p_267252_) Deprecated, for removal: This API element is subject to removal in a future version.protected ItemCombinerMenuSlotDefinitionDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.intgetSlotToQuickMoveTo(ItemStack p_267241_) Deprecated, for removal: This API element is subject to removal in a future version.protected booleanisValidBlock(BlockState p_266887_) Deprecated, for removal: This API element is subject to removal in a future version.protected booleanDeprecated, for removal: This API element is subject to removal in a future version.protected voidDeprecated, for removal: This API element is subject to removal in a future version.protected booleanshouldQuickMoveToAdditionalSlot(ItemStack p_267176_) Deprecated, for removal: This API element is subject to removal in a future version.private voidshrinkStackInSlot(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, stillValidMethods 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:
createInputSlotDefinitionsin classItemCombinerMenu
-
isValidBlock
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isValidBlockin classItemCombinerMenu
-
mayPickup
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
mayPickupin classItemCombinerMenu
-
onTake
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
onTakein 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:
createResultin classItemCombinerMenu
-
getSlotToQuickMoveTo
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getSlotToQuickMoveToin 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:
canTakeItemForPickAllin classAbstractContainerMenu
-