Fix coffee ingredient recipe using camel case for some keys

This commit is contained in:
Mrbysco 2024-10-23 15:55:32 +02:00
parent 5ac550f55f
commit 718494a938
11 changed files with 23 additions and 23 deletions

View file

@ -1,10 +1,10 @@
// 1.21.1 2024-08-11T19:30:01.831319 Coffee Ingredient Recipes // 1.21.1 2024-10-23T15:53:59.2712517 Coffee Ingredient Recipes
68a4a8ca4b24d8cc042c0a384069196f708a4dd9 data/actuallyadditions/recipe/coffee_ingredient/blaze_powder.json c27e4fb15f6385f5e539ae481204836fb61b315b data/actuallyadditions/recipe/coffee_ingredient/blaze_powder.json
f18e6b3fee9f1610c0366feabc0dd3ffe2455224 data/actuallyadditions/recipe/coffee_ingredient/fermented_spider_eye.json 58f717b91bb3bb0dd5cff8ebeb436062d45a2d0c data/actuallyadditions/recipe/coffee_ingredient/fermented_spider_eye.json
5402f0078e820175f117c4c3b63907f29daa6209 data/actuallyadditions/recipe/coffee_ingredient/ghast_tear.json 4a528b8d95a7df8789f61d34f7253b71c164543b data/actuallyadditions/recipe/coffee_ingredient/ghast_tear.json
58f7831e3e547732cb9b0605334d21f45730b566 data/actuallyadditions/recipe/coffee_ingredient/golden_carrot.json 5b423115202fec7a2d68ac37cba54bfa61a94985 data/actuallyadditions/recipe/coffee_ingredient/golden_carrot.json
708f899155df8a114e30f15e7e5940f75fb2a9e9 data/actuallyadditions/recipe/coffee_ingredient/magma_cream.json d30f3419c9c3bd2fc23bc0283c45c7c0106a7d3c data/actuallyadditions/recipe/coffee_ingredient/magma_cream.json
113a26d8cd82641cf612e39e4bf026f769e4597b data/actuallyadditions/recipe/coffee_ingredient/milk_bucket.json bcc38e8cce44fabc32911122306a631602618b84 data/actuallyadditions/recipe/coffee_ingredient/milk_bucket.json
2869da64a7df293242e280a3e5c61fc3070f3c37 data/actuallyadditions/recipe/coffee_ingredient/milk_tagged.json f8400141dd335ec5c9eec0015e622a33af249621 data/actuallyadditions/recipe/coffee_ingredient/milk_tagged.json
228b27e7fb0ea183b8c34561ceb6b7b6a48fc0fe data/actuallyadditions/recipe/coffee_ingredient/pufferfish.json ac8015c1d6abdc0afc07332002dd56c6aee20172 data/actuallyadditions/recipe/coffee_ingredient/pufferfish.json
1f74a319b1677a66f1fc83ccc6c284dc51db88ef data/actuallyadditions/recipe/coffee_ingredient/sugar.json 7f1611c9771254b5bd1d9451c942216a605b7dc5 data/actuallyadditions/recipe/coffee_ingredient/sugar.json

View file

@ -10,5 +10,5 @@
"ingredient": { "ingredient": {
"item": "minecraft:blaze_powder" "item": "minecraft:blaze_powder"
}, },
"maxAmplifier": 4 "max_amplifier": 4
} }

View file

@ -10,5 +10,5 @@
"ingredient": { "ingredient": {
"item": "minecraft:fermented_spider_eye" "item": "minecraft:fermented_spider_eye"
}, },
"maxAmplifier": 2 "max_amplifier": 2
} }

View file

@ -10,5 +10,5 @@
"ingredient": { "ingredient": {
"item": "minecraft:ghast_tear" "item": "minecraft:ghast_tear"
}, },
"maxAmplifier": 3 "max_amplifier": 3
} }

View file

@ -10,5 +10,5 @@
"ingredient": { "ingredient": {
"item": "minecraft:golden_carrot" "item": "minecraft:golden_carrot"
}, },
"maxAmplifier": 2 "max_amplifier": 2
} }

View file

@ -10,5 +10,5 @@
"ingredient": { "ingredient": {
"item": "minecraft:magma_cream" "item": "minecraft:magma_cream"
}, },
"maxAmplifier": 2 "max_amplifier": 2
} }

View file

@ -1,8 +1,8 @@
{ {
"type": "actuallyadditions:coffee_ingredient", "type": "actuallyadditions:coffee_ingredient",
"extraText": "jei.actuallyadditions.coffee.extra.milk", "extra_text": "jei.actuallyadditions.coffee.extra.milk",
"ingredient": { "ingredient": {
"item": "minecraft:milk_bucket" "item": "minecraft:milk_bucket"
}, },
"maxAmplifier": 0 "max_amplifier": 0
} }

View file

@ -9,9 +9,9 @@
} }
], ],
"type": "actuallyadditions:coffee_ingredient", "type": "actuallyadditions:coffee_ingredient",
"extraText": "jei.actuallyadditions.coffee.extra.milk", "extra_text": "jei.actuallyadditions.coffee.extra.milk",
"ingredient": { "ingredient": {
"tag": "c:milk" "tag": "c:milk"
}, },
"maxAmplifier": 0 "max_amplifier": 0
} }

View file

@ -10,5 +10,5 @@
"ingredient": { "ingredient": {
"item": "minecraft:pufferfish" "item": "minecraft:pufferfish"
}, },
"maxAmplifier": 2 "max_amplifier": 2
} }

View file

@ -10,5 +10,5 @@
"ingredient": { "ingredient": {
"item": "minecraft:sugar" "item": "minecraft:sugar"
}, },
"maxAmplifier": 4 "max_amplifier": 4
} }

View file

@ -164,8 +164,8 @@ public class CoffeeIngredientRecipe implements Recipe<RecipeInput> {
DataResult::success DataResult::success
) )
.forGetter(recipe -> recipe.instances), .forGetter(recipe -> recipe.instances),
Codec.INT.fieldOf("maxAmplifier").forGetter(recipe -> recipe.maxAmplifier), Codec.INT.fieldOf("max_amplifier").forGetter(recipe -> recipe.maxAmplifier),
Codec.STRING.optionalFieldOf("extraText", "").forGetter(recipe -> recipe.extraText) Codec.STRING.optionalFieldOf("extra_text", "").forGetter(recipe -> recipe.extraText)
) )
.apply(instance, CoffeeIngredientRecipe::new) .apply(instance, CoffeeIngredientRecipe::new)
); );