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
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated, for removal: This API element is subject to removal in a future version. -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final IngredientDeprecated, for removal: This API element is subject to removal in a future version.(package private) final IngredientDeprecated, for removal: This API element is subject to removal in a future version.private final ResourceLocationDeprecated, for removal: This API element is subject to removal in a future version.(package private) final ItemStackDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionLegacyUpgradeRecipe(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.booleancanCraftInDimensions(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.booleanisAdditionIngredient(ItemStack p_267128_) Deprecated, for removal: This API element is subject to removal in a future version.booleanisBaseIngredient(ItemStack p_266836_) Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.booleanisTemplateIngredient(ItemStack p_267003_) Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, 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, waitMethods inherited from interface net.minecraft.world.item.crafting.Recipe
getGroup, getIngredients, getRemainingItems, isSpecial, showNotificationMethods 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:
canCraftInDimensionsin interfaceRecipe<Container>- Specified by:
canCraftInDimensionsin interfaceSmithingRecipe
-
getResultItem
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getResultItemin interfaceRecipe<Container>
-
isTemplateIngredient
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isTemplateIngredientin interfaceSmithingRecipe
-
isBaseIngredient
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isBaseIngredientin interfaceSmithingRecipe
-
isAdditionIngredient
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isAdditionIngredientin 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:
getSerializerin interfaceRecipe<Container>
-
isIncomplete
public boolean isIncomplete()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isIncompletein interfaceRecipe<Container>
-