Class SmithingTransformRecipe
java.lang.Object
net.minecraft.world.item.crafting.SmithingTransformRecipe
- All Implemented Interfaces:
Recipe<Container>
,SmithingRecipe
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescription(package private) final Ingredient
(package private) final Ingredient
private final ResourceLocation
(package private) final ItemStack
(package private) final Ingredient
-
Constructor Summary
ConstructorDescriptionSmithingTransformRecipe
(ResourceLocation p_267143_, Ingredient p_266750_, Ingredient p_266787_, Ingredient p_267292_, ItemStack p_267031_) -
Method Summary
Modifier and TypeMethodDescriptionassemble
(Container p_267036_, RegistryAccess p_266699_) getId()
getResultItem
(RegistryAccess p_267209_) boolean
isAdditionIngredient
(ItemStack p_267260_) boolean
isBaseIngredient
(ItemStack p_267276_) boolean
boolean
isTemplateIngredient
(ItemStack p_267113_) 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, showNotification
Methods inherited from interface net.minecraft.world.item.crafting.SmithingRecipe
canCraftInDimensions, getToastSymbol, getType
-
Field Details
-
id
-
template
-
base
-
addition
-
result
-
-
Constructor Details
-
SmithingTransformRecipe
public SmithingTransformRecipe(ResourceLocation p_267143_, Ingredient p_266750_, Ingredient p_266787_, Ingredient p_267292_, ItemStack p_267031_)
-
-
Method Details
-
matches
-
assemble
-
getResultItem
- Specified by:
getResultItem
in interfaceRecipe<Container>
-
isTemplateIngredient
- Specified by:
isTemplateIngredient
in interfaceSmithingRecipe
-
isBaseIngredient
- Specified by:
isBaseIngredient
in interfaceSmithingRecipe
-
isAdditionIngredient
- Specified by:
isAdditionIngredient
in interfaceSmithingRecipe
-
getId
-
getSerializer
- Specified by:
getSerializer
in interfaceRecipe<Container>
-
isIncomplete
public boolean isIncomplete()- Specified by:
isIncomplete
in interfaceRecipe<Container>
-