Class LegacyUpgradeRecipe
java.lang.Object
net.minecraft.world.item.crafting.LegacyUpgradeRecipe
- All Implemented Interfaces:
Recipe<Container>
,SmithingRecipe
@Deprecated(forRemoval=true)
public class LegacyUpgradeRecipe
extends Object
implements SmithingRecipe
Deprecated, for removal: This API element is subject to removal in a future version.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Deprecated, for removal: This API element is subject to removal in a future version. -
Field Summary
Modifier and TypeFieldDescription(package private) final Ingredient
Deprecated, for removal: This API element is subject to removal in a future version.(package private) final Ingredient
Deprecated, for removal: This API element is subject to removal in a future version.private final ResourceLocation
Deprecated, for removal: This API element is subject to removal in a future version.(package private) final ItemStack
Deprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorDescriptionLegacyUpgradeRecipe
(ResourceLocation p_266733_, Ingredient p_267056_, Ingredient p_267062_, ItemStack p_267137_) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionassemble
(Container p_266770_, RegistryAccess p_267229_) Deprecated, for removal: This API element is subject to removal in a future version.boolean
canCraftInDimensions
(int p_267193_, int p_266967_) Deprecated, for removal: This API element is subject to removal in a future version.getId()
Deprecated, for removal: This API element is subject to removal in a future version.getResultItem
(RegistryAccess p_267153_) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.boolean
isAdditionIngredient
(ItemStack p_267128_) Deprecated, for removal: This API element is subject to removal in a future version.boolean
isBaseIngredient
(ItemStack p_266836_) Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
isTemplateIngredient
(ItemStack p_267003_) Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.item.crafting.Recipe
getGroup, getIngredients, getRemainingItems, isSpecial, showNotification
Methods inherited from interface net.minecraft.world.item.crafting.SmithingRecipe
getToastSymbol, getType
-
Field Details
-
base
Deprecated, for removal: This API element is subject to removal in a future version. -
addition
Deprecated, for removal: This API element is subject to removal in a future version. -
result
Deprecated, for removal: This API element is subject to removal in a future version. -
id
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
LegacyUpgradeRecipe
public LegacyUpgradeRecipe(ResourceLocation p_266733_, Ingredient p_267056_, Ingredient p_267062_, ItemStack p_267137_) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
matches
Deprecated, for removal: This API element is subject to removal in a future version. -
assemble
Deprecated, for removal: This API element is subject to removal in a future version. -
canCraftInDimensions
public boolean canCraftInDimensions(int p_267193_, int p_266967_) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
canCraftInDimensions
in interfaceRecipe<Container>
- Specified by:
canCraftInDimensions
in interfaceSmithingRecipe
-
getResultItem
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getResultItem
in interfaceRecipe<Container>
-
isTemplateIngredient
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isTemplateIngredient
in interfaceSmithingRecipe
-
isBaseIngredient
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isBaseIngredient
in interfaceSmithingRecipe
-
isAdditionIngredient
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isAdditionIngredient
in interfaceSmithingRecipe
-
getId
Deprecated, for removal: This API element is subject to removal in a future version. -
getSerializer
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getSerializer
in interfaceRecipe<Container>
-
isIncomplete
public boolean isIncomplete()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isIncomplete
in interfaceRecipe<Container>
-