net.minecraft.recipe

public class SmithingTrimRecipe

extends AbstractSmithingRecipe

All mapped superinterfaces:

SmithingRecipe, Recipe

net.minecraft.world.item.crafting.SmithingTrimRecipe
net.minecraft.world.item.crafting.SmithingTrimRecipe
net.minecraft.class_8062
net.minecraft.recipe.SmithingTrimRecipe

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<SmithingTrimRecipe>
MAP_CODEC
MAP_CODEC
field_1_1287
CODEC
public static final PacketCodec<RegistryByteBuf, SmithingTrimRecipe>
STREAM_CODEC
STREAM_CODEC
field_1_1289
field_1_1289
public static final RecipeSerializer<SmithingTrimRecipe>
SERIALIZER
SERIALIZER
field_1_1288
SERIALIZER
private final Ingredient
template
template
field_42035
template
private final Ingredient
base
base
field_42036
base
private final Ingredient
addition
addition
field_42037
addition
private final RegistryEntry<ArmorTrimPattern>
pattern
pattern
field_56321
pattern

Constructor summary

ModifierConstructor
public (Recipe$Settings commonInfo, Ingredient template, Ingredient base, Ingredient addition, RegistryEntry<ArmorTrimPattern> pattern)

Method summary

Modifier and TypeMethod
public ItemStack
assemble(SmithingRecipeInput input)
assemble(SmithingRecipeInput input)
method_60002(class_9697 arg0)
craft(SmithingRecipeInput arg0)
public static ItemStack
applyTrim(ItemStack baseItem, ItemStack materialItem, Holder<TrimPattern> pattern)
applyTrim(ItemStack baseItem, ItemStack materialItem, Holder<TrimPattern> pattern)
method_64996(class_1799 arg0, class_1799 arg1, class_6880<class_8056> arg2)
craft(ItemStack base, ItemStack addition, RegistryEntry<ArmorTrimPattern> pattern)
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<SmithingTrimRecipe>
getSerializer()
getSerializer()
method_8119()
getSerializer()
protected IngredientPlacement
createPlacementInfo()
createPlacementInfo()
method_1_1572()
createIngredientPlacement()
public List<RecipeDisplay>
display()
display()
method_64664()
getDisplays()