Fixed the trick apple recipes

# Conflicts:
#	src/main/java/com/minelittlepony/unicopia/datagen/providers/recipe/TrickCraftingRecipeJsonBuilder.java
This commit is contained in:
Sollace 2024-10-10 19:03:48 +01:00
parent cab9b517c2
commit f1ddb2381d
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB

View file

@ -18,6 +18,11 @@ public class ZapAppleRecipe extends ShapelessRecipe {
super(group, category, output, input);
}
@Override
public RecipeSerializer<?> getSerializer() {
return URecipes.ZAP_APPLE_SERIALIZER;
}
public static class Serializer implements RecipeSerializer<ZapAppleRecipe> {
private static final Codec<ZapAppleRecipe> CODEC = RecordCodecBuilder.create(instance -> instance.group(
Codec.STRING.optionalFieldOf("group", "").forGetter(ZapAppleRecipe::getGroup),