net.minecraft.recipe

public abstract class SingleStackRecipe

implements Recipe<SingleStackRecipeInput>

net.minecraft.world.item.crafting.SingleItemRecipe
net.minecraft.class_3972
net.minecraft.recipe.SingleStackRecipe

Field summary

Modifier and TypeField
protected final Recipe$Settings
commonInfo
field_1_1243
settings
private final Ingredient
input
field_17642
ingredient
private final SimpleItemStackView
result
field_17643
result
private IngredientPlacement
placementInfo
field_52604
ingredientPlacement

Constructor summary

ModifierConstructor
public (Recipe$Settings settings, Ingredient ingredient, SimpleItemStackView result)

Method summary

Modifier and TypeMethod
public abstract RecipeSerializer<? extends SingleStackRecipe>
getSerializer()
method_8119()
getSerializer()
public abstract RecipeType<? extends SingleStackRecipe>
getType()
method_17716()
getType()
public boolean
matches(SingleRecipeInput input, Level level)
method_64719(class_9696 arg0, class_1937 arg1)
matches(SingleStackRecipeInput arg0, World arg1)
public boolean
showNotification()
method_49188()
showNotification()
public Ingredient
input()
method_64720()
ingredient()
protected SimpleItemStackView
result()
method_64721()
result()
public IngredientPlacement
placementInfo()
method_61671()
getIngredientPlacement()
public ItemStack
assemble(SingleRecipeInput input)
method_59998(class_9696 arg0)
craft(SingleStackRecipeInput arg0)
public static <T extends SingleStackRecipe> com.mojang.serialization.MapCodec<T>
simpleMapCodec(SingleItemRecipe$Factory<T> factory)
method_1_1451(class_3972$class_3974<T> arg0)
createSimpleCodec(SingleStackRecipe$RecipeFactory<T> factory)
public static <T extends SingleStackRecipe> PacketCodec<RegistryByteBuf, T>
simpleStreamCodec(SingleItemRecipe$Factory<T> factory)
method_1_1452(class_3972$class_3974<T> arg0)
createSimplePacketCodec(SingleStackRecipe$RecipeFactory<T> factory)
public ItemStack
assemble(RecipeInput input)
method_8116(class_9695 arg0)
craft(RecipeInput arg0)
public boolean
matches(RecipeInput input, Level level)
method_8115(class_9695 arg0, class_1937 arg1)
matches(RecipeInput arg0, World arg1)
private static Recipe$Settings
lambda$simpleStreamCodec$0(SingleItemRecipe arg0)
method_1_1450(class_3972 arg0)
method_1_1450(SingleStackRecipe recipe)
private static com.mojang.datafixers.kinds.App
lambda$simpleMapCodec$0(SingleItemRecipe$Factory arg0, com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg1)
method_1_1448(class_3972$class_3974 arg0, com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg1)
method_1_1448(SingleStackRecipe$RecipeFactory arg0, com.mojang.serialization.codecs.RecordCodecBuilder$Instance instance)
private static Recipe$Settings
lambda$simpleMapCodec$1(SingleItemRecipe arg0)
method_1_1449(class_3972 arg0)
method_1_1449(SingleStackRecipe recipe)