Class SmithingTransformRecipe
java.lang.Object
net.minecraft.world.item.crafting.SmithingTransformRecipe
- All Implemented Interfaces:
Recipe<SmithingRecipeInput>
,SmithingRecipe
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Optional
<Ingredient> (package private) final Ingredient
private PlacementInfo
(package private) final TransmuteResult
(package private) final Optional
<Ingredient> Fields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, CONDITIONAL_CODEC, KEY_CODEC, STREAM_CODEC
-
Constructor Summary
ConstructorsConstructorDescriptionSmithingTransformRecipe
(Optional<Ingredient> p_361033_, Ingredient p_400131_, Optional<Ingredient> p_365496_, TransmuteResult p_394655_) -
Method Summary
Modifier and TypeMethodDescriptionassemble
(SmithingRecipeInput p_345093_, HolderLookup.Provider p_345488_) display()
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
group, isSpecial, showNotification
Methods inherited from interface net.minecraft.world.item.crafting.SmithingRecipe
getType, matches, recipeBookCategory
-
Field Details
-
template
-
base
-
addition
-
result
-
placementInfo
-
-
Constructor Details
-
SmithingTransformRecipe
public SmithingTransformRecipe(Optional<Ingredient> p_361033_, Ingredient p_400131_, Optional<Ingredient> p_365496_, TransmuteResult p_394655_)
-
-
Method Details
-
assemble
- Specified by:
assemble
in interfaceRecipe<SmithingRecipeInput>
-
templateIngredient
- Specified by:
templateIngredient
in interfaceSmithingRecipe
-
baseIngredient
- Specified by:
baseIngredient
in interfaceSmithingRecipe
-
additionIngredient
- Specified by:
additionIngredient
in interfaceSmithingRecipe
-
getSerializer
- Specified by:
getSerializer
in interfaceRecipe<SmithingRecipeInput>
- Specified by:
getSerializer
in interfaceSmithingRecipe
-
placementInfo
- Specified by:
placementInfo
in interfaceRecipe<SmithingRecipeInput>
-
display
- Specified by:
display
in interfaceRecipe<SmithingRecipeInput>
-