net.minecraft.recipe.crafting

public class TransmuteRecipe

extends GeneralCraftingRecipe

All mapped superinterfaces:

CraftingRecipe, Recipe

net.minecraft.world.item.crafting.TransmuteRecipe
net.minecraft.world.item.crafting.TransmuteRecipe
net.minecraft.class_10223
net.minecraft.recipe.crafting.TransmuteRecipe

Field summary

Modifier and TypeField
private static final int
MIN_MATERIAL_COUNT
MIN_MATERIAL_COUNT
field_1_1228
MIN_MATERIAL_COUNT
private static final int
MAX_MATERIAL_COUNT
MAX_MATERIAL_COUNT
field_1_1227
MAX_MATERIAL_COUNT
public static final NumberRange$IntRange
DEFAULT_MATERIAL_COUNT
DEFAULT_MATERIAL_COUNT
field_1_1223
DEFAULT_MATERIAL_COUNT
public static final NumberRange$IntRange
FULL_RANGE_MATERIAL_COUNT
FULL_RANGE_MATERIAL_COUNT
field_1_1224
ALLOWED_MATERIAL_COUNT
public static final com.mojang.serialization.Codec<NumberRange$IntRange>
MATERIAL_COUNT_BOUNDS
MATERIAL_COUNT_BOUNDS
field_1_1226
MATERIAL_COUNT_CODEC
public static final com.mojang.serialization.MapCodec<TransmuteRecipe>
MAP_CODEC
MAP_CODEC
field_1_1225
CODEC
public static final PacketCodec<RegistryByteBuf, TransmuteRecipe>
STREAM_CODEC
STREAM_CODEC
field_1_1230
PACKET_CODEC
public static final RecipeSerializer<TransmuteRecipe>
SERIALIZER
SERIALIZER
field_1_1229
SERIALIZER
private final Ingredient
input
input
field_54321
input
private final Ingredient
material
material
field_54322
material
private final NumberRange$IntRange
materialCount
materialCount
field_1_1232
materialCount
private final SimpleItemStackView
result
result
field_54323
result
private final boolean
addMaterialCountToResult
addMaterialCountToResult
field_1_1231
addMaterialCountToResult

Constructor summary

ModifierConstructor
public (Recipe$Settings settings, CraftingRecipe$RecipeBookLocation location, Ingredient input, Ingredient material, NumberRange$IntRange materialCount, SimpleItemStackView result, boolean addMaterialCountToResult)

Method summary

Modifier and TypeMethod
public static ItemStack
createWithOriginalComponents(ItemStackTemplate target, ItemStack input)
createWithOriginalComponents(ItemStackTemplate target, ItemStack input)
method_1_1426(class_1_107 arg0, class_1799 arg1)
transmute(SimpleItemStackView result, ItemStack input)
public static ItemStack
createWithOriginalComponents(ItemStackTemplate target, ItemStack input, int extraCount)
createWithOriginalComponents(ItemStackTemplate target, ItemStack input, int extraCount)
method_1_1427(class_1_107 arg0, class_1799 arg1, int arg2)
transmute(SimpleItemStackView result, ItemStack input, int additionalCount)
private int
computeResultSize(int materialCount)
computeResultSize(int materialCount)
method_1_1425(int arg0)
getResultCount(int materialCount)
private ItemStack
computeResult(ItemStack inputIngredient, int materialCount)
computeResult(ItemStack inputIngredient, int materialCount)
method_1_1424(class_1799 arg0, int arg1)
createResult(ItemStack input, int additionalCount)
public boolean
matches(CraftingInput input, Level level)
matches(CraftingInput input, Level level)
method_64297(class_9694 arg0, class_1937 arg1)
matches(CraftingRecipeInput arg0, World arg1)
public ItemStack
assemble(CraftingInput input)
assemble(CraftingInput input)
method_64298(class_9694 arg0)
craft(CraftingRecipeInput arg0)
public List<RecipeDisplay>
display()
display()
method_64664()
getDisplays()
private int
minMaterialCount()
minMaterialCount()
method_1_1444()
getMinMaterialCount()
private int
maxMaterialCount()
maxMaterialCount()
method_1_1443()
getMaxMaterialCount()
public RecipeSerializer<TransmuteRecipe>
getSerializer()
getSerializer()
method_8119()
getSerializer()
protected IngredientPlacement
createPlacementInfo()
createPlacementInfo()
method_1_1571()
createIngredientPlacement()