Skip to content

Commit

Permalink
Fixed the trick apple recipes
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/main/java/com/minelittlepony/unicopia/datagen/providers/recipe/TrickCraftingRecipeJsonBuilder.java
  • Loading branch information
Sollace committed Oct 10, 2024
1 parent cab9b51 commit f1ddb23
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ public ZapAppleRecipe(String group, CraftingRecipeCategory category, ItemStack o
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),
Expand Down

0 comments on commit f1ddb23

Please sign in to comment.