From fdce23601a70a6befb9f9fc80a86e44e902c3347 Mon Sep 17 00:00:00 2001 From: Mrbysco Date: Wed, 13 Nov 2024 15:34:36 +0100 Subject: [PATCH] Add egg to the chicken statue loot table --- .../resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e | 4 ++-- .../resources/data/statues/recipe/loot/chicken_statue.json | 4 ++++ .../shynieke/statues/datagen/server/StatueRecipeProvider.java | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/generated/resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e b/src/generated/resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e index cfa2a816..c46e54cb 100644 --- a/src/generated/resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e +++ b/src/generated/resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e @@ -1,4 +1,4 @@ -// 1.21.1 2024-09-30T20:40:24.5986735 Recipes +// 1.21.1 2024-11-13T15:30:30.5085386 Recipes 18e987dfadfe8b3a50e692cace2f8740225aa39b data/statues/advancement/recipes/decorations/display_stand_from_quartz_block_stonecutting.json 63a4b8f8cbc1656364761abc74c1b083424037a7 data/statues/advancement/recipes/misc/info_statue.json 19084d3ced99bf522cf7e8705ebdeb8ce8c04c44 data/statues/advancement/recipes/misc/statue_core.json @@ -18,7 +18,7 @@ ce4ba4f00d1adcab3ee53a3fc0f85d93f11db198 data/statues/recipe/loot/blaze_statue.j 9f3d228f76f73de6c35563d4e0e17d60fb2044a0 data/statues/recipe/loot/campfire_statue.json af6447af925fa36144b8960b3c274c38a0814568 data/statues/recipe/loot/cat_statue.json 788767f6c6c58542347c546f625bc8ffccad34c6 data/statues/recipe/loot/chicken_jockey_statue.json -8d6c10de208e5afbee4dcbaa259cc73f6a5b7ee7 data/statues/recipe/loot/chicken_statue.json +b248aae0dada7f6da91d5ca7dd614608d93cd14c data/statues/recipe/loot/chicken_statue.json 234e7b49ea59323e5da1d3a171121f12d26dce25 data/statues/recipe/loot/cod_statue.json 6910694f19fe1ce2c68a994a98380cfca0a91c07 data/statues/recipe/loot/cow_statue.json 2bbe4789dd9971868e8602b6826687a13e106e1b data/statues/recipe/loot/creeper_statue.json diff --git a/src/generated/resources/data/statues/recipe/loot/chicken_statue.json b/src/generated/resources/data/statues/recipe/loot/chicken_statue.json index f1f2ad4b..1b104447 100644 --- a/src/generated/resources/data/statues/recipe/loot/chicken_statue.json +++ b/src/generated/resources/data/statues/recipe/loot/chicken_statue.json @@ -10,5 +10,9 @@ "result2": { "count": 1, "id": "minecraft:chicken" + }, + "result3": { + "count": 1, + "id": "minecraft:egg" } } \ No newline at end of file diff --git a/src/main/java/com/shynieke/statues/datagen/server/StatueRecipeProvider.java b/src/main/java/com/shynieke/statues/datagen/server/StatueRecipeProvider.java index d179a038..38b59b48 100644 --- a/src/main/java/com/shynieke/statues/datagen/server/StatueRecipeProvider.java +++ b/src/main/java/com/shynieke/statues/datagen/server/StatueRecipeProvider.java @@ -60,7 +60,7 @@ protected void buildRecipes(RecipeOutput consumer, HolderLookup.Provider provide .result1(Items.STRING).result3(getIOU()).save(consumer, ResourceLocation.fromNamespaceAndPath(Reference.MOD_ID, "loot/cat_statue")); //TODO: Allow the sleeping loot table LootRecipeBuilder.loot(Ingredient.of(StatueRegistry.CHICKEN_STATUE.get())) - .result1(Items.FEATHER).result2(Items.CHICKEN).save(consumer); + .result1(Items.FEATHER).result2(Items.CHICKEN).result3(Items.EGG).save(consumer); LootRecipeBuilder.loot(Ingredient.of(StatueRegistry.CHICKEN_JOCKEY_STATUE.get())) .result1(Items.ROTTEN_FLESH).result2(Items.FEATHER).save(consumer); LootRecipeBuilder.loot(Ingredient.of(StatueRegistry.KING_CLUCK_STATUE.get()))