Class UpgradeRecipe
java.lang.Object
net.minecraft.world.item.crafting.UpgradeRecipe
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Ingredient(package private) final Ingredientprivate final ResourceLocation(package private) final ItemStack -
Constructor Summary
ConstructorsConstructorDescriptionUpgradeRecipe(ResourceLocation p_44523_, Ingredient p_44524_, Ingredient p_44525_, ItemStack p_44526_) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanCraftInDimensions(int p_44528_, int p_44529_) getId()RecipeType<?>getType()booleanisAdditionIngredient(ItemStack p_44536_) booleanbooleanMethods 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
-
Field Details
-
base
-
addition
-
result
-
id
-
-
Constructor Details
-
UpgradeRecipe
public UpgradeRecipe(ResourceLocation p_44523_, Ingredient p_44524_, Ingredient p_44525_, ItemStack p_44526_)
-
-
Method Details
-
matches
-
assemble
-
canCraftInDimensions
public boolean canCraftInDimensions(int p_44528_, int p_44529_) - Specified by:
canCraftInDimensionsin interfaceRecipe<Container>
-
getResultItem
- Specified by:
getResultItemin interfaceRecipe<Container>
-
isAdditionIngredient
-
getToastSymbol
- Specified by:
getToastSymbolin interfaceRecipe<Container>
-
getId
-
getSerializer
- Specified by:
getSerializerin interfaceRecipe<Container>
-
getType
-
isIncomplete
public boolean isIncomplete()- Specified by:
isIncompletein interfaceRecipe<Container>
-