net.minecraft.recipe

public class SmithingTransformRecipe

extends AbstractSmithingRecipe

All mapped superinterfaces:

SmithingRecipe, Recipe

net.minecraft.world.item.crafting.SmithingTransformRecipe
net.minecraft.world.item.crafting.SmithingTransformRecipe
net.minecraft.class_8060
net.minecraft.recipe.SmithingTransformRecipe

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<SmithingTransformRecipe>
MAP_CODEC
MAP_CODEC
field_1_1349
CODEC
public static final PacketCodec<RegistryByteBuf, SmithingTransformRecipe>
STREAM_CODEC
STREAM_CODEC
field_1_1351
PACKET_CODEC
public static final RecipeSerializer<SmithingTransformRecipe>
SERIALIZER
SERIALIZER
field_1_1350
SERIALIZER
private final Optional<Ingredient>
template
template
field_42030
template
private final Ingredient
base
base
field_42031
base
private final Optional<Ingredient>
addition
addition
field_42032
addition
private final SimpleItemStackView
result
result
field_42033
result

Constructor summary

ModifierConstructor
public (Recipe$Settings settings, Optional<Ingredient> template, Ingredient base, Optional<Ingredient> addition, SimpleItemStackView result)

Method summary

Modifier and TypeMethod
public ItemStack
assemble(SmithingRecipeInput input)
assemble(SmithingRecipeInput input)
method_60000(class_9697 arg0)
craft(SmithingRecipeInput arg0)
public Optional<Ingredient>
templateIngredient()
templateIngredient()
method_64722()
template()
public Ingredient
baseIngredient()
baseIngredient()
method_64723()
base()
public Optional<Ingredient>
additionIngredient()
additionIngredient()
method_64724()
addition()
public RecipeSerializer<SmithingTransformRecipe>
getSerializer()
getSerializer()
method_8119()
getSerializer()
protected IngredientPlacement
createPlacementInfo()
createPlacementInfo()
method_1_1572()
createIngredientPlacement()
public List<RecipeDisplay>
display()
display()
method_64664()
getDisplays()