Class UpgradeRecipe
java.lang.Object
net.minecraft.world.item.crafting.UpgradeRecipe
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescription(package private) final Ingredient
(package private) final Ingredient
private final ResourceLocation
(package private) final ItemStack
-
Constructor Summary
ConstructorDescriptionUpgradeRecipe
(ResourceLocation p_44523_, Ingredient p_44524_, Ingredient p_44525_, ItemStack p_44526_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
canCraftInDimensions
(int p_44528_, int p_44529_) getId()
RecipeType<?>
getType()
boolean
isAdditionIngredient
(ItemStack p_44536_) boolean
boolean
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
-
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:
canCraftInDimensions
in interfaceRecipe<Container>
-
getResultItem
- Specified by:
getResultItem
in interfaceRecipe<Container>
-
isAdditionIngredient
-
getToastSymbol
- Specified by:
getToastSymbol
in interfaceRecipe<Container>
-
getId
-
getSerializer
- Specified by:
getSerializer
in interfaceRecipe<Container>
-
getType
-
isIncomplete
public boolean isIncomplete()- Specified by:
isIncomplete
in interfaceRecipe<Container>
-