mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-30 08:18:00 +01:00
Fixed the trick apple recipes
# Conflicts: # src/main/java/com/minelittlepony/unicopia/datagen/providers/recipe/TrickCraftingRecipeJsonBuilder.java
This commit is contained in:
parent
cab9b517c2
commit
f1ddb2381d
1 changed files with 5 additions and 0 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue