diff --git a/build.gradle b/build.gradle index 5762f632..e9d53835 100644 --- a/build.gradle +++ b/build.gradle @@ -68,7 +68,7 @@ minecraft { data { workingDirectory project.file('run-data') - args '--mod', mod_id+',growthcraft_milk', '--all', '--output', file('src/generated/resources/'), + args '--mod', mod_id+',growthcraft_apiary'+',growthcraft_apples'+',growthcraft_bamboo'+',growthcraft_cellar'+',growthcraft_milk'+',growthcraft_rice', '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/'), '--flat' } } diff --git a/gradle.properties b/gradle.properties index cbf8c7ab..e42d13c1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,7 +7,7 @@ org.gradle.daemon=false # ------------------------------------------------ minecraft_version=1.20.1 minecraft_version_range=[1.20.1,1.21) -forge_version=47.2.0 +forge_version=47.2.1 forge_version_range=47,) loader_version_range=[47,) mapping_channel=official diff --git a/src/main/resources/data/forge/tags/blocks/ores.json b/src/generated/resources/data/forge/tags/blocks/ores.json similarity index 69% rename from src/main/resources/data/forge/tags/blocks/ores.json rename to src/generated/resources/data/forge/tags/blocks/ores.json index 93de738f..b8469630 100644 --- a/src/main/resources/data/forge/tags/blocks/ores.json +++ b/src/generated/resources/data/forge/tags/blocks/ores.json @@ -1,9 +1,8 @@ { - "replace": false, "values": [ "growthcraft:salt_ore", "growthcraft:salt_ore_deepslate", - "growthcraft:salt_ore_nether", + "growthcraft:salt_ore_nether", "growthcraft:salt_ore_end" ] } \ No newline at end of file diff --git a/src/generated/resources/data/forge/tags/blocks/ores_in_ground/deepslate.json b/src/generated/resources/data/forge/tags/blocks/ores_in_ground/deepslate.json new file mode 100644 index 00000000..50dad4e0 --- /dev/null +++ b/src/generated/resources/data/forge/tags/blocks/ores_in_ground/deepslate.json @@ -0,0 +1,5 @@ +{ + "values": [ + "growthcraft:salt_ore_deepslate" + ] +} \ No newline at end of file diff --git a/src/main/resources/data/forge/tags/blocks/ores_in_ground/netherrack.json b/src/generated/resources/data/forge/tags/blocks/ores_in_ground/netherrack.json similarity index 73% rename from src/main/resources/data/forge/tags/blocks/ores_in_ground/netherrack.json rename to src/generated/resources/data/forge/tags/blocks/ores_in_ground/netherrack.json index 84ba22fe..ee39485f 100644 --- a/src/main/resources/data/forge/tags/blocks/ores_in_ground/netherrack.json +++ b/src/generated/resources/data/forge/tags/blocks/ores_in_ground/netherrack.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft:salt_ore_nether" ] diff --git a/src/main/resources/data/forge/tags/blocks/ores_in_ground/stone.json b/src/generated/resources/data/forge/tags/blocks/ores_in_ground/stone.json similarity index 70% rename from src/main/resources/data/forge/tags/blocks/ores_in_ground/stone.json rename to src/generated/resources/data/forge/tags/blocks/ores_in_ground/stone.json index 82a832d0..f2ae759b 100644 --- a/src/main/resources/data/forge/tags/blocks/ores_in_ground/stone.json +++ b/src/generated/resources/data/forge/tags/blocks/ores_in_ground/stone.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft:salt_ore" ] diff --git a/src/main/resources/data/forge/tags/items/crops/rice.json b/src/generated/resources/data/forge/tags/items/crops/rice.json similarity index 73% rename from src/main/resources/data/forge/tags/items/crops/rice.json rename to src/generated/resources/data/forge/tags/items/crops/rice.json index 1902b029..8102814b 100644 --- a/src/main/resources/data/forge/tags/items/crops/rice.json +++ b/src/generated/resources/data/forge/tags/items/crops/rice.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft_rice:rice_stalk" ] diff --git a/src/main/resources/data/growthcraft/tags/items/salt.json b/src/generated/resources/data/forge/tags/items/dusts/salt.json similarity index 68% rename from src/main/resources/data/growthcraft/tags/items/salt.json rename to src/generated/resources/data/forge/tags/items/dusts/salt.json index 7fda7988..9eb36030 100644 --- a/src/main/resources/data/growthcraft/tags/items/salt.json +++ b/src/generated/resources/data/forge/tags/items/dusts/salt.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft:salt" ] diff --git a/src/generated/resources/data/forge/tags/items/dyes/black.json b/src/generated/resources/data/forge/tags/items/dyes/black.json new file mode 100644 index 00000000..8c07d452 --- /dev/null +++ b/src/generated/resources/data/forge/tags/items/dyes/black.json @@ -0,0 +1,5 @@ +{ + "values": [ + "growthcraft_apiary:bees_wax_black" + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/forge/tags/items/dyes/blue.json b/src/generated/resources/data/forge/tags/items/dyes/blue.json new file mode 100644 index 00000000..13f26c90 --- /dev/null +++ b/src/generated/resources/data/forge/tags/items/dyes/blue.json @@ -0,0 +1,5 @@ +{ + "values": [ + "growthcraft_apiary:bees_wax_blue" + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/forge/tags/items/dyes/brown.json b/src/generated/resources/data/forge/tags/items/dyes/brown.json new file mode 100644 index 00000000..d5f80836 --- /dev/null +++ b/src/generated/resources/data/forge/tags/items/dyes/brown.json @@ -0,0 +1,5 @@ +{ + "values": [ + "growthcraft_apiary:bees_wax_brown" + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/forge/tags/items/dyes/cyan.json b/src/generated/resources/data/forge/tags/items/dyes/cyan.json new file mode 100644 index 00000000..acb63f19 --- /dev/null +++ b/src/generated/resources/data/forge/tags/items/dyes/cyan.json @@ -0,0 +1,5 @@ +{ + "values": [ + "growthcraft_apiary:bees_wax_cyan" + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/forge/tags/items/dyes/gray.json b/src/generated/resources/data/forge/tags/items/dyes/gray.json new file mode 100644 index 00000000..51546cf5 --- /dev/null +++ b/src/generated/resources/data/forge/tags/items/dyes/gray.json @@ -0,0 +1,5 @@ +{ + "values": [ + "growthcraft_apiary:bees_wax_gray" + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/forge/tags/items/dyes/green.json b/src/generated/resources/data/forge/tags/items/dyes/green.json new file mode 100644 index 00000000..f6befcc2 --- /dev/null +++ b/src/generated/resources/data/forge/tags/items/dyes/green.json @@ -0,0 +1,5 @@ +{ + "values": [ + "growthcraft_apiary:bees_wax_green" + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/forge/tags/items/dyes/light_blue.json b/src/generated/resources/data/forge/tags/items/dyes/light_blue.json new file mode 100644 index 00000000..390bf597 --- /dev/null +++ b/src/generated/resources/data/forge/tags/items/dyes/light_blue.json @@ -0,0 +1,5 @@ +{ + "values": [ + "growthcraft_apiary:bees_wax_light_blue" + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/forge/tags/items/dyes/light_gray.json b/src/generated/resources/data/forge/tags/items/dyes/light_gray.json new file mode 100644 index 00000000..563d1103 --- /dev/null +++ b/src/generated/resources/data/forge/tags/items/dyes/light_gray.json @@ -0,0 +1,5 @@ +{ + "values": [ + "growthcraft_apiary:bees_wax_light_gray" + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/forge/tags/items/dyes/lime.json b/src/generated/resources/data/forge/tags/items/dyes/lime.json new file mode 100644 index 00000000..12a4b9fc --- /dev/null +++ b/src/generated/resources/data/forge/tags/items/dyes/lime.json @@ -0,0 +1,5 @@ +{ + "values": [ + "growthcraft_apiary:bees_wax_lime" + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/forge/tags/items/dyes/magenta.json b/src/generated/resources/data/forge/tags/items/dyes/magenta.json new file mode 100644 index 00000000..2cf2f5c9 --- /dev/null +++ b/src/generated/resources/data/forge/tags/items/dyes/magenta.json @@ -0,0 +1,5 @@ +{ + "values": [ + "growthcraft_apiary:bees_wax_magenta" + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/forge/tags/items/dyes/orange.json b/src/generated/resources/data/forge/tags/items/dyes/orange.json new file mode 100644 index 00000000..8857c33f --- /dev/null +++ b/src/generated/resources/data/forge/tags/items/dyes/orange.json @@ -0,0 +1,5 @@ +{ + "values": [ + "growthcraft_apiary:bees_wax_orange" + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/forge/tags/items/dyes/pink.json b/src/generated/resources/data/forge/tags/items/dyes/pink.json new file mode 100644 index 00000000..77924e16 --- /dev/null +++ b/src/generated/resources/data/forge/tags/items/dyes/pink.json @@ -0,0 +1,5 @@ +{ + "values": [ + "growthcraft_apiary:bees_wax_pink" + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/forge/tags/items/dyes/purple.json b/src/generated/resources/data/forge/tags/items/dyes/purple.json new file mode 100644 index 00000000..5bd1751d --- /dev/null +++ b/src/generated/resources/data/forge/tags/items/dyes/purple.json @@ -0,0 +1,5 @@ +{ + "values": [ + "growthcraft_apiary:bees_wax_purple" + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/forge/tags/items/dyes/red.json b/src/generated/resources/data/forge/tags/items/dyes/red.json new file mode 100644 index 00000000..6903dd82 --- /dev/null +++ b/src/generated/resources/data/forge/tags/items/dyes/red.json @@ -0,0 +1,5 @@ +{ + "values": [ + "growthcraft_apiary:bees_wax_red" + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/forge/tags/items/dyes/white.json b/src/generated/resources/data/forge/tags/items/dyes/white.json new file mode 100644 index 00000000..3af0d20e --- /dev/null +++ b/src/generated/resources/data/forge/tags/items/dyes/white.json @@ -0,0 +1,5 @@ +{ + "values": [ + "growthcraft_apiary:bees_wax_white" + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/forge/tags/items/dyes/yellow.json b/src/generated/resources/data/forge/tags/items/dyes/yellow.json new file mode 100644 index 00000000..3e4c955e --- /dev/null +++ b/src/generated/resources/data/forge/tags/items/dyes/yellow.json @@ -0,0 +1,5 @@ +{ + "values": [ + "growthcraft_apiary:bees_wax_yellow" + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/forge/tags/items/fence_gates/wooden.json b/src/generated/resources/data/forge/tags/items/fence_gates/wooden.json new file mode 100644 index 00000000..7032f95d --- /dev/null +++ b/src/generated/resources/data/forge/tags/items/fence_gates/wooden.json @@ -0,0 +1,6 @@ +{ + "values": [ + "growthcraft_apples:apple_plank_fence_gate", + "growthcraft_bamboo:bamboo_plank_fence_gate" + ] +} \ No newline at end of file diff --git a/src/main/resources/data/forge/tags/items/fruits/grapes.json b/src/generated/resources/data/forge/tags/items/fruits/grapes.json similarity index 86% rename from src/main/resources/data/forge/tags/items/fruits/grapes.json rename to src/generated/resources/data/forge/tags/items/fruits/grapes.json index e53eb852..25009330 100644 --- a/src/main/resources/data/forge/tags/items/fruits/grapes.json +++ b/src/generated/resources/data/forge/tags/items/fruits/grapes.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft_cellar:grape_purple", "growthcraft_cellar:grape_red", diff --git a/src/main/resources/data/forge/tags/items/grain/barley.json b/src/generated/resources/data/forge/tags/items/grain/barley.json similarity index 94% rename from src/main/resources/data/forge/tags/items/grain/barley.json rename to src/generated/resources/data/forge/tags/items/grain/barley.json index 13e211a9..1a6a370f 100644 --- a/src/main/resources/data/forge/tags/items/grain/barley.json +++ b/src/generated/resources/data/forge/tags/items/grain/barley.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft_cellar:grain", "growthcraft_cellar:grain_amber", diff --git a/src/main/resources/data/forge/tags/items/grain/rice.json b/src/generated/resources/data/forge/tags/items/grain/rice.json similarity index 71% rename from src/main/resources/data/forge/tags/items/grain/rice.json rename to src/generated/resources/data/forge/tags/items/grain/rice.json index 4bfb23f0..55d6169d 100644 --- a/src/main/resources/data/forge/tags/items/grain/rice.json +++ b/src/generated/resources/data/forge/tags/items/grain/rice.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft_rice:rice" ] diff --git a/src/main/resources/data/forge/tags/items/seeds/grape.json b/src/generated/resources/data/forge/tags/items/seeds/grapes.json similarity index 88% rename from src/main/resources/data/forge/tags/items/seeds/grape.json rename to src/generated/resources/data/forge/tags/items/seeds/grapes.json index 62485648..8c372057 100644 --- a/src/main/resources/data/forge/tags/items/seeds/grape.json +++ b/src/generated/resources/data/forge/tags/items/seeds/grapes.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft_cellar:grape_seeds_purple", "growthcraft_cellar:grape_seeds_red", diff --git a/src/generated/resources/data/growthcraft/advancements/recipes/misc/rope_linen.json b/src/generated/resources/data/growthcraft/advancements/recipes/misc/rope_linen.json new file mode 100644 index 00000000..d85404d9 --- /dev/null +++ b/src/generated/resources/data/growthcraft/advancements/recipes/misc/rope_linen.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:lead" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft:rope_linen" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft:rope_linen" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft/advancements/recipes/misc/rope_linen_lengthen.json b/src/generated/resources/data/growthcraft/advancements/recipes/misc/rope_linen_lengthen.json new file mode 100644 index 00000000..d7ab75d5 --- /dev/null +++ b/src/generated/resources/data/growthcraft/advancements/recipes/misc/rope_linen_lengthen.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:lead" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft:rope_linen_lengthen" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft:rope_linen_lengthen" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/advancements/recipes/misc/salt.json b/src/generated/resources/data/growthcraft/advancements/recipes/misc/salt.json similarity index 82% rename from src/main/resources/data/growthcraft/advancements/recipes/misc/salt.json rename to src/generated/resources/data/growthcraft/advancements/recipes/misc/salt.json index 7ac14abb..7036c272 100644 --- a/src/main/resources/data/growthcraft/advancements/recipes/misc/salt.json +++ b/src/generated/resources/data/growthcraft/advancements/recipes/misc/salt.json @@ -1,12 +1,12 @@ { "parent": "minecraft:recipes/root", "criteria": { - "has_salt_block": { + "has_item": { "conditions": { "items": [ { "items": [ - "growthcraft:salt_block" + "growthcraft:salt" ] } ] @@ -22,7 +22,7 @@ }, "requirements": [ [ - "has_salt_block", + "has_item", "has_the_recipe" ] ], @@ -30,5 +30,6 @@ "recipes": [ "growthcraft:salt" ] - } + }, + "sends_telemetry_event": false } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/advancements/recipes/misc/salt_block.json b/src/generated/resources/data/growthcraft/advancements/recipes/misc/salt_block.json similarity index 88% rename from src/main/resources/data/growthcraft/advancements/recipes/misc/salt_block.json rename to src/generated/resources/data/growthcraft/advancements/recipes/misc/salt_block.json index 6249a535..11bda294 100644 --- a/src/main/resources/data/growthcraft/advancements/recipes/misc/salt_block.json +++ b/src/generated/resources/data/growthcraft/advancements/recipes/misc/salt_block.json @@ -1,7 +1,7 @@ { "parent": "minecraft:recipes/root", "criteria": { - "has_salt": { + "has_item": { "conditions": { "items": [ { @@ -22,7 +22,7 @@ }, "requirements": [ [ - "has_salt", + "has_item", "has_the_recipe" ] ], @@ -30,5 +30,6 @@ "recipes": [ "growthcraft:salt_block" ] - } + }, + "sends_telemetry_event": false } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_black.json b/src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_black.json similarity index 88% rename from src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_black.json rename to src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_black.json index 6dfd3f2b..fb45597c 100644 --- a/src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_black.json +++ b/src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_black.json @@ -6,7 +6,7 @@ "items": [ { "items": [ - "minecraft:black_carpet" + "minecraft:iron_ingot" ] } ] @@ -30,5 +30,6 @@ "recipes": [ "growthcraft:crowbar_black" ] - } + }, + "sends_telemetry_event": false } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_blue.json b/src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_blue.json similarity index 88% rename from src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_blue.json rename to src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_blue.json index 1a57af6e..8f5e94ec 100644 --- a/src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_blue.json +++ b/src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_blue.json @@ -6,7 +6,7 @@ "items": [ { "items": [ - "minecraft:blue_carpet" + "minecraft:iron_ingot" ] } ] @@ -30,5 +30,6 @@ "recipes": [ "growthcraft:crowbar_blue" ] - } + }, + "sends_telemetry_event": false } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_brown.json b/src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_brown.json similarity index 88% rename from src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_brown.json rename to src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_brown.json index 8e4cf5aa..b9ab69d8 100644 --- a/src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_brown.json +++ b/src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_brown.json @@ -6,7 +6,7 @@ "items": [ { "items": [ - "minecraft:brown_carpet" + "minecraft:iron_ingot" ] } ] @@ -30,5 +30,6 @@ "recipes": [ "growthcraft:crowbar_brown" ] - } + }, + "sends_telemetry_event": false } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_cyan.json b/src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_cyan.json similarity index 88% rename from src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_cyan.json rename to src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_cyan.json index 32eaf8f2..1dc8855b 100644 --- a/src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_cyan.json +++ b/src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_cyan.json @@ -6,7 +6,7 @@ "items": [ { "items": [ - "minecraft:cyan_carpet" + "minecraft:iron_ingot" ] } ] @@ -30,5 +30,6 @@ "recipes": [ "growthcraft:crowbar_cyan" ] - } + }, + "sends_telemetry_event": false } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_gray.json b/src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_gray.json similarity index 88% rename from src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_gray.json rename to src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_gray.json index 2ae13702..eb8b4c33 100644 --- a/src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_gray.json +++ b/src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_gray.json @@ -6,7 +6,7 @@ "items": [ { "items": [ - "minecraft:gray_carpet" + "minecraft:iron_ingot" ] } ] @@ -30,5 +30,6 @@ "recipes": [ "growthcraft:crowbar_gray" ] - } + }, + "sends_telemetry_event": false } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_green.json b/src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_green.json similarity index 88% rename from src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_green.json rename to src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_green.json index b2870cc9..2e2cbabf 100644 --- a/src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_green.json +++ b/src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_green.json @@ -6,7 +6,7 @@ "items": [ { "items": [ - "minecraft:green_carpet" + "minecraft:iron_ingot" ] } ] @@ -30,5 +30,6 @@ "recipes": [ "growthcraft:crowbar_green" ] - } + }, + "sends_telemetry_event": false } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_light_blue.json b/src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_light_blue.json similarity index 88% rename from src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_light_blue.json rename to src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_light_blue.json index 4527a7e2..857220c2 100644 --- a/src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_light_blue.json +++ b/src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_light_blue.json @@ -6,7 +6,7 @@ "items": [ { "items": [ - "minecraft:light_blue_carpet" + "minecraft:iron_ingot" ] } ] @@ -30,5 +30,6 @@ "recipes": [ "growthcraft:crowbar_light_blue" ] - } + }, + "sends_telemetry_event": false } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_light_gray.json b/src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_light_gray.json similarity index 88% rename from src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_light_gray.json rename to src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_light_gray.json index 0d25c3ed..8114d057 100644 --- a/src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_light_gray.json +++ b/src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_light_gray.json @@ -6,7 +6,7 @@ "items": [ { "items": [ - "minecraft:light_gray_carpet" + "minecraft:iron_ingot" ] } ] @@ -30,5 +30,6 @@ "recipes": [ "growthcraft:crowbar_light_gray" ] - } + }, + "sends_telemetry_event": false } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_lime.json b/src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_lime.json similarity index 88% rename from src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_lime.json rename to src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_lime.json index 2d97bdbf..678be962 100644 --- a/src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_lime.json +++ b/src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_lime.json @@ -6,7 +6,7 @@ "items": [ { "items": [ - "minecraft:lime_carpet" + "minecraft:iron_ingot" ] } ] @@ -30,5 +30,6 @@ "recipes": [ "growthcraft:crowbar_lime" ] - } + }, + "sends_telemetry_event": false } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_magenta.json b/src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_magenta.json similarity index 88% rename from src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_magenta.json rename to src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_magenta.json index a23f2ab1..7cfdd872 100644 --- a/src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_magenta.json +++ b/src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_magenta.json @@ -6,7 +6,7 @@ "items": [ { "items": [ - "minecraft:magenta_carpet" + "minecraft:iron_ingot" ] } ] @@ -30,5 +30,6 @@ "recipes": [ "growthcraft:crowbar_magenta" ] - } + }, + "sends_telemetry_event": false } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_orange.json b/src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_orange.json similarity index 88% rename from src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_orange.json rename to src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_orange.json index 40669cf4..73854a6a 100644 --- a/src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_orange.json +++ b/src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_orange.json @@ -6,7 +6,7 @@ "items": [ { "items": [ - "minecraft:orange_carpet" + "minecraft:iron_ingot" ] } ] @@ -30,5 +30,6 @@ "recipes": [ "growthcraft:crowbar_orange" ] - } + }, + "sends_telemetry_event": false } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_pink.json b/src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_pink.json similarity index 88% rename from src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_pink.json rename to src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_pink.json index de37fc97..0ca2c169 100644 --- a/src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_pink.json +++ b/src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_pink.json @@ -6,7 +6,7 @@ "items": [ { "items": [ - "minecraft:pink_carpet" + "minecraft:iron_ingot" ] } ] @@ -30,5 +30,6 @@ "recipes": [ "growthcraft:crowbar_pink" ] - } + }, + "sends_telemetry_event": false } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_purple.json b/src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_purple.json similarity index 88% rename from src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_purple.json rename to src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_purple.json index 9acfaf9e..de3e8c27 100644 --- a/src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_purple.json +++ b/src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_purple.json @@ -6,7 +6,7 @@ "items": [ { "items": [ - "minecraft:purple_carpet" + "minecraft:iron_ingot" ] } ] @@ -30,5 +30,6 @@ "recipes": [ "growthcraft:crowbar_purple" ] - } + }, + "sends_telemetry_event": false } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_red.json b/src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_red.json similarity index 88% rename from src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_red.json rename to src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_red.json index 9e05a806..990010fc 100644 --- a/src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_red.json +++ b/src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_red.json @@ -6,7 +6,7 @@ "items": [ { "items": [ - "minecraft:red_carpet" + "minecraft:iron_ingot" ] } ] @@ -30,5 +30,6 @@ "recipes": [ "growthcraft:crowbar_red" ] - } + }, + "sends_telemetry_event": false } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_white.json b/src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_white.json similarity index 88% rename from src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_white.json rename to src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_white.json index 77e97b2a..918dc743 100644 --- a/src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_white.json +++ b/src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_white.json @@ -6,7 +6,7 @@ "items": [ { "items": [ - "minecraft:white_carpet" + "minecraft:iron_ingot" ] } ] @@ -30,5 +30,6 @@ "recipes": [ "growthcraft:crowbar_white" ] - } + }, + "sends_telemetry_event": false } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_yellow.json b/src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_yellow.json similarity index 88% rename from src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_yellow.json rename to src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_yellow.json index 1719cc66..5bd1a4d7 100644 --- a/src/main/resources/data/growthcraft/advancements/recipes/tools/crowbar_yellow.json +++ b/src/generated/resources/data/growthcraft/advancements/recipes/tools/crowbar_yellow.json @@ -6,7 +6,7 @@ "items": [ { "items": [ - "minecraft:yellow_carpet" + "minecraft:iron_ingot" ] } ] @@ -30,5 +30,6 @@ "recipes": [ "growthcraft:crowbar_yellow" ] - } + }, + "sends_telemetry_event": false } \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft/advancements/recipes/tools/wrench.json b/src/generated/resources/data/growthcraft/advancements/recipes/tools/wrench.json new file mode 100644 index 00000000..bb324c6a --- /dev/null +++ b/src/generated/resources/data/growthcraft/advancements/recipes/tools/wrench.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft:salt" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft:wrench" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft:wrench" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/loot_tables/blocks/rope_linen.json b/src/generated/resources/data/growthcraft/loot_tables/blocks/rope_linen.json similarity index 85% rename from src/main/resources/data/growthcraft/loot_tables/blocks/rope_linen.json rename to src/generated/resources/data/growthcraft/loot_tables/blocks/rope_linen.json index a9cf5be3..e4fdb824 100644 --- a/src/main/resources/data/growthcraft/loot_tables/blocks/rope_linen.json +++ b/src/generated/resources/data/growthcraft/loot_tables/blocks/rope_linen.json @@ -16,5 +16,6 @@ ], "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft:blocks/rope_linen" } \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft/loot_tables/blocks/rope_linen_acacia_fence.json b/src/generated/resources/data/growthcraft/loot_tables/blocks/rope_linen_acacia_fence.json new file mode 100644 index 00000000..06843e5d --- /dev/null +++ b/src/generated/resources/data/growthcraft/loot_tables/blocks/rope_linen_acacia_fence.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:air" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft:blocks/rope_linen_acacia_fence" +} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/loot_tables/blocks/rope_linen_birch_fence.json b/src/generated/resources/data/growthcraft/loot_tables/blocks/rope_linen_birch_fence.json similarity index 73% rename from src/main/resources/data/growthcraft/loot_tables/blocks/rope_linen_birch_fence.json rename to src/generated/resources/data/growthcraft/loot_tables/blocks/rope_linen_birch_fence.json index a9cf5be3..c3e1baa6 100644 --- a/src/main/resources/data/growthcraft/loot_tables/blocks/rope_linen_birch_fence.json +++ b/src/generated/resources/data/growthcraft/loot_tables/blocks/rope_linen_birch_fence.json @@ -11,10 +11,11 @@ "entries": [ { "type": "minecraft:item", - "name": "growthcraft:rope_linen" + "name": "minecraft:air" } ], "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft:blocks/rope_linen_birch_fence" } \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft/loot_tables/blocks/rope_linen_crimson_fence.json b/src/generated/resources/data/growthcraft/loot_tables/blocks/rope_linen_crimson_fence.json new file mode 100644 index 00000000..9b27fe87 --- /dev/null +++ b/src/generated/resources/data/growthcraft/loot_tables/blocks/rope_linen_crimson_fence.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:air" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft:blocks/rope_linen_crimson_fence" +} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/loot_tables/blocks/rope_linen_dark_oak_fence.json b/src/generated/resources/data/growthcraft/loot_tables/blocks/rope_linen_dark_oak_fence.json similarity index 73% rename from src/main/resources/data/growthcraft/loot_tables/blocks/rope_linen_dark_oak_fence.json rename to src/generated/resources/data/growthcraft/loot_tables/blocks/rope_linen_dark_oak_fence.json index a9cf5be3..3340f11a 100644 --- a/src/main/resources/data/growthcraft/loot_tables/blocks/rope_linen_dark_oak_fence.json +++ b/src/generated/resources/data/growthcraft/loot_tables/blocks/rope_linen_dark_oak_fence.json @@ -11,10 +11,11 @@ "entries": [ { "type": "minecraft:item", - "name": "growthcraft:rope_linen" + "name": "minecraft:air" } ], "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft:blocks/rope_linen_dark_oak_fence" } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/loot_tables/blocks/rope_linen_jungle_fence.json b/src/generated/resources/data/growthcraft/loot_tables/blocks/rope_linen_jungle_fence.json similarity index 73% rename from src/main/resources/data/growthcraft/loot_tables/blocks/rope_linen_jungle_fence.json rename to src/generated/resources/data/growthcraft/loot_tables/blocks/rope_linen_jungle_fence.json index a9cf5be3..80662861 100644 --- a/src/main/resources/data/growthcraft/loot_tables/blocks/rope_linen_jungle_fence.json +++ b/src/generated/resources/data/growthcraft/loot_tables/blocks/rope_linen_jungle_fence.json @@ -11,10 +11,11 @@ "entries": [ { "type": "minecraft:item", - "name": "growthcraft:rope_linen" + "name": "minecraft:air" } ], "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft:blocks/rope_linen_jungle_fence" } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/loot_tables/blocks/rope_linen_nether_brick_fence.json b/src/generated/resources/data/growthcraft/loot_tables/blocks/rope_linen_nether_brick_fence.json similarity index 72% rename from src/main/resources/data/growthcraft/loot_tables/blocks/rope_linen_nether_brick_fence.json rename to src/generated/resources/data/growthcraft/loot_tables/blocks/rope_linen_nether_brick_fence.json index a9cf5be3..e46e0ff7 100644 --- a/src/main/resources/data/growthcraft/loot_tables/blocks/rope_linen_nether_brick_fence.json +++ b/src/generated/resources/data/growthcraft/loot_tables/blocks/rope_linen_nether_brick_fence.json @@ -11,10 +11,11 @@ "entries": [ { "type": "minecraft:item", - "name": "growthcraft:rope_linen" + "name": "minecraft:air" } ], "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft:blocks/rope_linen_nether_brick_fence" } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/loot_tables/blocks/rope_linen_oak_fence.json b/src/generated/resources/data/growthcraft/loot_tables/blocks/rope_linen_oak_fence.json similarity index 74% rename from src/main/resources/data/growthcraft/loot_tables/blocks/rope_linen_oak_fence.json rename to src/generated/resources/data/growthcraft/loot_tables/blocks/rope_linen_oak_fence.json index a9cf5be3..320ba20f 100644 --- a/src/main/resources/data/growthcraft/loot_tables/blocks/rope_linen_oak_fence.json +++ b/src/generated/resources/data/growthcraft/loot_tables/blocks/rope_linen_oak_fence.json @@ -11,10 +11,11 @@ "entries": [ { "type": "minecraft:item", - "name": "growthcraft:rope_linen" + "name": "minecraft:air" } ], "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft:blocks/rope_linen_oak_fence" } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/loot_tables/blocks/rope_linen_spruce_fence.json b/src/generated/resources/data/growthcraft/loot_tables/blocks/rope_linen_spruce_fence.json similarity index 73% rename from src/main/resources/data/growthcraft/loot_tables/blocks/rope_linen_spruce_fence.json rename to src/generated/resources/data/growthcraft/loot_tables/blocks/rope_linen_spruce_fence.json index a9cf5be3..ddd3e078 100644 --- a/src/main/resources/data/growthcraft/loot_tables/blocks/rope_linen_spruce_fence.json +++ b/src/generated/resources/data/growthcraft/loot_tables/blocks/rope_linen_spruce_fence.json @@ -11,10 +11,11 @@ "entries": [ { "type": "minecraft:item", - "name": "growthcraft:rope_linen" + "name": "minecraft:air" } ], "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft:blocks/rope_linen_spruce_fence" } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/loot_tables/blocks/rope_linen_warped_fence.json b/src/generated/resources/data/growthcraft/loot_tables/blocks/rope_linen_warped_fence.json similarity index 73% rename from src/main/resources/data/growthcraft/loot_tables/blocks/rope_linen_warped_fence.json rename to src/generated/resources/data/growthcraft/loot_tables/blocks/rope_linen_warped_fence.json index a9cf5be3..91e1b1c9 100644 --- a/src/main/resources/data/growthcraft/loot_tables/blocks/rope_linen_warped_fence.json +++ b/src/generated/resources/data/growthcraft/loot_tables/blocks/rope_linen_warped_fence.json @@ -11,10 +11,11 @@ "entries": [ { "type": "minecraft:item", - "name": "growthcraft:rope_linen" + "name": "minecraft:air" } ], "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft:blocks/rope_linen_warped_fence" } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/loot_tables/blocks/salt_block.json b/src/generated/resources/data/growthcraft/loot_tables/blocks/salt_block.json similarity index 85% rename from src/main/resources/data/growthcraft/loot_tables/blocks/salt_block.json rename to src/generated/resources/data/growthcraft/loot_tables/blocks/salt_block.json index 605a00bb..dbe6a0ae 100644 --- a/src/main/resources/data/growthcraft/loot_tables/blocks/salt_block.json +++ b/src/generated/resources/data/growthcraft/loot_tables/blocks/salt_block.json @@ -16,5 +16,6 @@ ], "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft:blocks/salt_block" } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/loot_tables/blocks/rope_linen_acacia_fence.json b/src/generated/resources/data/growthcraft/loot_tables/blocks/salt_ore.json similarity index 75% rename from src/main/resources/data/growthcraft/loot_tables/blocks/rope_linen_acacia_fence.json rename to src/generated/resources/data/growthcraft/loot_tables/blocks/salt_ore.json index a9cf5be3..1936c2da 100644 --- a/src/main/resources/data/growthcraft/loot_tables/blocks/rope_linen_acacia_fence.json +++ b/src/generated/resources/data/growthcraft/loot_tables/blocks/salt_ore.json @@ -11,10 +11,11 @@ "entries": [ { "type": "minecraft:item", - "name": "growthcraft:rope_linen" + "name": "growthcraft:salt_ore" } ], "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft:blocks/salt_ore" } \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft/loot_tables/blocks/salt_ore_deepslate.json b/src/generated/resources/data/growthcraft/loot_tables/blocks/salt_ore_deepslate.json new file mode 100644 index 00000000..39c4f4c6 --- /dev/null +++ b/src/generated/resources/data/growthcraft/loot_tables/blocks/salt_ore_deepslate.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "growthcraft:salt_ore_deepslate" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft:blocks/salt_ore_deepslate" +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft/loot_tables/blocks/salt_ore_end.json b/src/generated/resources/data/growthcraft/loot_tables/blocks/salt_ore_end.json new file mode 100644 index 00000000..d737a27b --- /dev/null +++ b/src/generated/resources/data/growthcraft/loot_tables/blocks/salt_ore_end.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "growthcraft:salt_ore_end" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft:blocks/salt_ore_end" +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft/loot_tables/blocks/salt_ore_nether.json b/src/generated/resources/data/growthcraft/loot_tables/blocks/salt_ore_nether.json new file mode 100644 index 00000000..3107d2bb --- /dev/null +++ b/src/generated/resources/data/growthcraft/loot_tables/blocks/salt_ore_nether.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "growthcraft:salt_ore_nether" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft:blocks/salt_ore_nether" +} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/recipes/crowbar_black.json b/src/generated/resources/data/growthcraft/recipes/crowbar_black.json similarity index 77% rename from src/main/resources/data/growthcraft/recipes/crowbar_black.json rename to src/generated/resources/data/growthcraft/recipes/crowbar_black.json index 262cd4b0..2b05a136 100644 --- a/src/main/resources/data/growthcraft/recipes/crowbar_black.json +++ b/src/generated/resources/data/growthcraft/recipes/crowbar_black.json @@ -1,12 +1,13 @@ { "type": "minecraft:crafting_shaped", "category": "equipment", + "group": "growthcraft", "key": { "A": { - "item": "minecraft:iron_nugget" + "tag": "forge:nuggets/iron" }, "B": { - "item": "minecraft:iron_ingot" + "tag": "forge:ingots/iron" }, "C": { "item": "minecraft:black_carpet" diff --git a/src/main/resources/data/growthcraft/recipes/crowbar_blue.json b/src/generated/resources/data/growthcraft/recipes/crowbar_blue.json similarity index 77% rename from src/main/resources/data/growthcraft/recipes/crowbar_blue.json rename to src/generated/resources/data/growthcraft/recipes/crowbar_blue.json index c7dddfed..d369687e 100644 --- a/src/main/resources/data/growthcraft/recipes/crowbar_blue.json +++ b/src/generated/resources/data/growthcraft/recipes/crowbar_blue.json @@ -1,12 +1,13 @@ { "type": "minecraft:crafting_shaped", "category": "equipment", + "group": "growthcraft", "key": { "A": { - "item": "minecraft:iron_nugget" + "tag": "forge:nuggets/iron" }, "B": { - "item": "minecraft:iron_ingot" + "tag": "forge:ingots/iron" }, "C": { "item": "minecraft:blue_carpet" diff --git a/src/main/resources/data/growthcraft/recipes/crowbar_brown.json b/src/generated/resources/data/growthcraft/recipes/crowbar_brown.json similarity index 77% rename from src/main/resources/data/growthcraft/recipes/crowbar_brown.json rename to src/generated/resources/data/growthcraft/recipes/crowbar_brown.json index 6ef0cf52..467de30c 100644 --- a/src/main/resources/data/growthcraft/recipes/crowbar_brown.json +++ b/src/generated/resources/data/growthcraft/recipes/crowbar_brown.json @@ -1,12 +1,13 @@ { "type": "minecraft:crafting_shaped", "category": "equipment", + "group": "growthcraft", "key": { "A": { - "item": "minecraft:iron_nugget" + "tag": "forge:nuggets/iron" }, "B": { - "item": "minecraft:iron_ingot" + "tag": "forge:ingots/iron" }, "C": { "item": "minecraft:brown_carpet" diff --git a/src/main/resources/data/growthcraft/recipes/crowbar_cyan.json b/src/generated/resources/data/growthcraft/recipes/crowbar_cyan.json similarity index 77% rename from src/main/resources/data/growthcraft/recipes/crowbar_cyan.json rename to src/generated/resources/data/growthcraft/recipes/crowbar_cyan.json index 1cfb6a83..ae9f0cf2 100644 --- a/src/main/resources/data/growthcraft/recipes/crowbar_cyan.json +++ b/src/generated/resources/data/growthcraft/recipes/crowbar_cyan.json @@ -1,12 +1,13 @@ { "type": "minecraft:crafting_shaped", "category": "equipment", + "group": "growthcraft", "key": { "A": { - "item": "minecraft:iron_nugget" + "tag": "forge:nuggets/iron" }, "B": { - "item": "minecraft:iron_ingot" + "tag": "forge:ingots/iron" }, "C": { "item": "minecraft:cyan_carpet" diff --git a/src/main/resources/data/growthcraft/recipes/crowbar_gray.json b/src/generated/resources/data/growthcraft/recipes/crowbar_gray.json similarity index 77% rename from src/main/resources/data/growthcraft/recipes/crowbar_gray.json rename to src/generated/resources/data/growthcraft/recipes/crowbar_gray.json index acc46280..24f45457 100644 --- a/src/main/resources/data/growthcraft/recipes/crowbar_gray.json +++ b/src/generated/resources/data/growthcraft/recipes/crowbar_gray.json @@ -1,12 +1,13 @@ { "type": "minecraft:crafting_shaped", "category": "equipment", + "group": "growthcraft", "key": { "A": { - "item": "minecraft:iron_nugget" + "tag": "forge:nuggets/iron" }, "B": { - "item": "minecraft:iron_ingot" + "tag": "forge:ingots/iron" }, "C": { "item": "minecraft:gray_carpet" diff --git a/src/main/resources/data/growthcraft/recipes/crowbar_green.json b/src/generated/resources/data/growthcraft/recipes/crowbar_green.json similarity index 77% rename from src/main/resources/data/growthcraft/recipes/crowbar_green.json rename to src/generated/resources/data/growthcraft/recipes/crowbar_green.json index eb05cf1f..4c4a03d6 100644 --- a/src/main/resources/data/growthcraft/recipes/crowbar_green.json +++ b/src/generated/resources/data/growthcraft/recipes/crowbar_green.json @@ -1,12 +1,13 @@ { "type": "minecraft:crafting_shaped", "category": "equipment", + "group": "growthcraft", "key": { "A": { - "item": "minecraft:iron_nugget" + "tag": "forge:nuggets/iron" }, "B": { - "item": "minecraft:iron_ingot" + "tag": "forge:ingots/iron" }, "C": { "item": "minecraft:green_carpet" diff --git a/src/main/resources/data/growthcraft/recipes/crowbar_light_blue.json b/src/generated/resources/data/growthcraft/recipes/crowbar_light_blue.json similarity index 77% rename from src/main/resources/data/growthcraft/recipes/crowbar_light_blue.json rename to src/generated/resources/data/growthcraft/recipes/crowbar_light_blue.json index 0d1ee43d..fe7e4c19 100644 --- a/src/main/resources/data/growthcraft/recipes/crowbar_light_blue.json +++ b/src/generated/resources/data/growthcraft/recipes/crowbar_light_blue.json @@ -1,12 +1,13 @@ { "type": "minecraft:crafting_shaped", "category": "equipment", + "group": "growthcraft", "key": { "A": { - "item": "minecraft:iron_nugget" + "tag": "forge:nuggets/iron" }, "B": { - "item": "minecraft:iron_ingot" + "tag": "forge:ingots/iron" }, "C": { "item": "minecraft:light_blue_carpet" diff --git a/src/main/resources/data/growthcraft/recipes/crowbar_light_gray.json b/src/generated/resources/data/growthcraft/recipes/crowbar_light_gray.json similarity index 77% rename from src/main/resources/data/growthcraft/recipes/crowbar_light_gray.json rename to src/generated/resources/data/growthcraft/recipes/crowbar_light_gray.json index b807eb00..8bd41cdc 100644 --- a/src/main/resources/data/growthcraft/recipes/crowbar_light_gray.json +++ b/src/generated/resources/data/growthcraft/recipes/crowbar_light_gray.json @@ -1,12 +1,13 @@ { "type": "minecraft:crafting_shaped", "category": "equipment", + "group": "growthcraft", "key": { "A": { - "item": "minecraft:iron_nugget" + "tag": "forge:nuggets/iron" }, "B": { - "item": "minecraft:iron_ingot" + "tag": "forge:ingots/iron" }, "C": { "item": "minecraft:light_gray_carpet" diff --git a/src/main/resources/data/growthcraft/recipes/crowbar_lime.json b/src/generated/resources/data/growthcraft/recipes/crowbar_lime.json similarity index 77% rename from src/main/resources/data/growthcraft/recipes/crowbar_lime.json rename to src/generated/resources/data/growthcraft/recipes/crowbar_lime.json index 30d4670a..b8f01050 100644 --- a/src/main/resources/data/growthcraft/recipes/crowbar_lime.json +++ b/src/generated/resources/data/growthcraft/recipes/crowbar_lime.json @@ -1,12 +1,13 @@ { "type": "minecraft:crafting_shaped", "category": "equipment", + "group": "growthcraft", "key": { "A": { - "item": "minecraft:iron_nugget" + "tag": "forge:nuggets/iron" }, "B": { - "item": "minecraft:iron_ingot" + "tag": "forge:ingots/iron" }, "C": { "item": "minecraft:lime_carpet" diff --git a/src/main/resources/data/growthcraft/recipes/crowbar_magenta.json b/src/generated/resources/data/growthcraft/recipes/crowbar_magenta.json similarity index 77% rename from src/main/resources/data/growthcraft/recipes/crowbar_magenta.json rename to src/generated/resources/data/growthcraft/recipes/crowbar_magenta.json index 43049d10..53b8988f 100644 --- a/src/main/resources/data/growthcraft/recipes/crowbar_magenta.json +++ b/src/generated/resources/data/growthcraft/recipes/crowbar_magenta.json @@ -1,12 +1,13 @@ { "type": "minecraft:crafting_shaped", "category": "equipment", + "group": "growthcraft", "key": { "A": { - "item": "minecraft:iron_nugget" + "tag": "forge:nuggets/iron" }, "B": { - "item": "minecraft:iron_ingot" + "tag": "forge:ingots/iron" }, "C": { "item": "minecraft:magenta_carpet" diff --git a/src/main/resources/data/growthcraft/recipes/crowbar_orange.json b/src/generated/resources/data/growthcraft/recipes/crowbar_orange.json similarity index 77% rename from src/main/resources/data/growthcraft/recipes/crowbar_orange.json rename to src/generated/resources/data/growthcraft/recipes/crowbar_orange.json index b725aa13..6d131229 100644 --- a/src/main/resources/data/growthcraft/recipes/crowbar_orange.json +++ b/src/generated/resources/data/growthcraft/recipes/crowbar_orange.json @@ -1,12 +1,13 @@ { "type": "minecraft:crafting_shaped", "category": "equipment", + "group": "growthcraft", "key": { "A": { - "item": "minecraft:iron_nugget" + "tag": "forge:nuggets/iron" }, "B": { - "item": "minecraft:iron_ingot" + "tag": "forge:ingots/iron" }, "C": { "item": "minecraft:orange_carpet" diff --git a/src/main/resources/data/growthcraft/recipes/crowbar_pink.json b/src/generated/resources/data/growthcraft/recipes/crowbar_pink.json similarity index 77% rename from src/main/resources/data/growthcraft/recipes/crowbar_pink.json rename to src/generated/resources/data/growthcraft/recipes/crowbar_pink.json index e64b0915..09be548c 100644 --- a/src/main/resources/data/growthcraft/recipes/crowbar_pink.json +++ b/src/generated/resources/data/growthcraft/recipes/crowbar_pink.json @@ -1,12 +1,13 @@ { "type": "minecraft:crafting_shaped", "category": "equipment", + "group": "growthcraft", "key": { "A": { - "item": "minecraft:iron_nugget" + "tag": "forge:nuggets/iron" }, "B": { - "item": "minecraft:iron_ingot" + "tag": "forge:ingots/iron" }, "C": { "item": "minecraft:pink_carpet" diff --git a/src/main/resources/data/growthcraft/recipes/crowbar_purple.json b/src/generated/resources/data/growthcraft/recipes/crowbar_purple.json similarity index 77% rename from src/main/resources/data/growthcraft/recipes/crowbar_purple.json rename to src/generated/resources/data/growthcraft/recipes/crowbar_purple.json index 4292cbd3..48ec210b 100644 --- a/src/main/resources/data/growthcraft/recipes/crowbar_purple.json +++ b/src/generated/resources/data/growthcraft/recipes/crowbar_purple.json @@ -1,12 +1,13 @@ { "type": "minecraft:crafting_shaped", "category": "equipment", + "group": "growthcraft", "key": { "A": { - "item": "minecraft:iron_nugget" + "tag": "forge:nuggets/iron" }, "B": { - "item": "minecraft:iron_ingot" + "tag": "forge:ingots/iron" }, "C": { "item": "minecraft:purple_carpet" diff --git a/src/main/resources/data/growthcraft/recipes/crowbar_red.json b/src/generated/resources/data/growthcraft/recipes/crowbar_red.json similarity index 77% rename from src/main/resources/data/growthcraft/recipes/crowbar_red.json rename to src/generated/resources/data/growthcraft/recipes/crowbar_red.json index a8b98747..59b08e7e 100644 --- a/src/main/resources/data/growthcraft/recipes/crowbar_red.json +++ b/src/generated/resources/data/growthcraft/recipes/crowbar_red.json @@ -1,12 +1,13 @@ { "type": "minecraft:crafting_shaped", "category": "equipment", + "group": "growthcraft", "key": { "A": { - "item": "minecraft:iron_nugget" + "tag": "forge:nuggets/iron" }, "B": { - "item": "minecraft:iron_ingot" + "tag": "forge:ingots/iron" }, "C": { "item": "minecraft:red_carpet" diff --git a/src/main/resources/data/growthcraft/recipes/crowbar_white.json b/src/generated/resources/data/growthcraft/recipes/crowbar_white.json similarity index 77% rename from src/main/resources/data/growthcraft/recipes/crowbar_white.json rename to src/generated/resources/data/growthcraft/recipes/crowbar_white.json index bf68d69b..0d72bd4b 100644 --- a/src/main/resources/data/growthcraft/recipes/crowbar_white.json +++ b/src/generated/resources/data/growthcraft/recipes/crowbar_white.json @@ -1,12 +1,13 @@ { "type": "minecraft:crafting_shaped", "category": "equipment", + "group": "growthcraft", "key": { "A": { - "item": "minecraft:iron_nugget" + "tag": "forge:nuggets/iron" }, "B": { - "item": "minecraft:iron_ingot" + "tag": "forge:ingots/iron" }, "C": { "item": "minecraft:white_carpet" diff --git a/src/main/resources/data/growthcraft/recipes/crowbar_yellow.json b/src/generated/resources/data/growthcraft/recipes/crowbar_yellow.json similarity index 77% rename from src/main/resources/data/growthcraft/recipes/crowbar_yellow.json rename to src/generated/resources/data/growthcraft/recipes/crowbar_yellow.json index 71f5e92b..76659e36 100644 --- a/src/main/resources/data/growthcraft/recipes/crowbar_yellow.json +++ b/src/generated/resources/data/growthcraft/recipes/crowbar_yellow.json @@ -1,12 +1,13 @@ { "type": "minecraft:crafting_shaped", "category": "equipment", + "group": "growthcraft", "key": { "A": { - "item": "minecraft:iron_nugget" + "tag": "forge:nuggets/iron" }, "B": { - "item": "minecraft:iron_ingot" + "tag": "forge:ingots/iron" }, "C": { "item": "minecraft:yellow_carpet" diff --git a/src/main/resources/data/growthcraft/recipes/rope_linen_base.json b/src/generated/resources/data/growthcraft/recipes/rope_linen.json similarity index 62% rename from src/main/resources/data/growthcraft/recipes/rope_linen_base.json rename to src/generated/resources/data/growthcraft/recipes/rope_linen.json index 1b7f5eeb..73c7dda6 100644 --- a/src/main/resources/data/growthcraft/recipes/rope_linen_base.json +++ b/src/generated/resources/data/growthcraft/recipes/rope_linen.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "AAA", - "ABA", - "AAA" - ], + "category": "misc", + "group": "growthcraft", "key": { "A": { "item": "minecraft:string" @@ -13,8 +10,14 @@ "item": "minecraft:lead" } }, + "pattern": [ + "AAA", + "ABA", + "AAA" + ], "result": { - "item": "growthcraft:rope_linen", - "count": 8 - } + "count": 8, + "item": "growthcraft:rope_linen" + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/recipes/rope_linen_lengthen.json b/src/generated/resources/data/growthcraft/recipes/rope_linen_lengthen.json similarity index 63% rename from src/main/resources/data/growthcraft/recipes/rope_linen_lengthen.json rename to src/generated/resources/data/growthcraft/recipes/rope_linen_lengthen.json index 1002ae2f..7535ddd2 100644 --- a/src/main/resources/data/growthcraft/recipes/rope_linen_lengthen.json +++ b/src/generated/resources/data/growthcraft/recipes/rope_linen_lengthen.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "AAA", - "ABA", - "AAA" - ], + "category": "misc", + "group": "growthcraft", "key": { "A": { "item": "minecraft:string" @@ -13,8 +10,14 @@ "item": "growthcraft:rope_linen" } }, + "pattern": [ + "AAA", + "ABA", + "AAA" + ], "result": { - "item": "growthcraft:rope_linen", - "count": 8 - } + "count": 8, + "item": "growthcraft:rope_linen" + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/recipes/salt.json b/src/generated/resources/data/growthcraft/recipes/salt.json similarity index 88% rename from src/main/resources/data/growthcraft/recipes/salt.json rename to src/generated/resources/data/growthcraft/recipes/salt.json index 23293d27..dfe2236c 100644 --- a/src/main/resources/data/growthcraft/recipes/salt.json +++ b/src/generated/resources/data/growthcraft/recipes/salt.json @@ -1,6 +1,7 @@ { "type": "minecraft:crafting_shapeless", "category": "misc", + "group": "growthcraft", "ingredients": [ { "item": "growthcraft:salt_block" diff --git a/src/main/resources/data/growthcraft/recipes/salt_block.json b/src/generated/resources/data/growthcraft/recipes/salt_block.json similarity index 91% rename from src/main/resources/data/growthcraft/recipes/salt_block.json rename to src/generated/resources/data/growthcraft/recipes/salt_block.json index d3ee9124..79c87d80 100644 --- a/src/main/resources/data/growthcraft/recipes/salt_block.json +++ b/src/generated/resources/data/growthcraft/recipes/salt_block.json @@ -1,6 +1,7 @@ { "type": "minecraft:crafting_shaped", "category": "misc", + "group": "growthcraft", "key": { "#": { "item": "growthcraft:salt" diff --git a/src/main/resources/data/growthcraft/recipes/wrench.json b/src/generated/resources/data/growthcraft/recipes/wrench.json similarity index 73% rename from src/main/resources/data/growthcraft/recipes/wrench.json rename to src/generated/resources/data/growthcraft/recipes/wrench.json index f3aad235..739c02be 100644 --- a/src/main/resources/data/growthcraft/recipes/wrench.json +++ b/src/generated/resources/data/growthcraft/recipes/wrench.json @@ -1,12 +1,13 @@ { "type": "minecraft:crafting_shaped", "category": "equipment", + "group": "growthcraft", "key": { - "B": { - "item": "minecraft:iron_nugget" - }, "A": { - "item": "minecraft:iron_ingot" + "tag": "forge:ingots/iron" + }, + "B": { + "tag": "forge:nuggets/iron" } }, "pattern": [ diff --git a/src/main/resources/data/growthcraft/tags/blocks/heatsources.json b/src/generated/resources/data/growthcraft/tags/blocks/heatsources.json similarity index 85% rename from src/main/resources/data/growthcraft/tags/blocks/heatsources.json rename to src/generated/resources/data/growthcraft/tags/blocks/heatsources.json index ec0bd542..1af7baca 100644 --- a/src/main/resources/data/growthcraft/tags/blocks/heatsources.json +++ b/src/generated/resources/data/growthcraft/tags/blocks/heatsources.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "minecraft:lava", "minecraft:fire", diff --git a/src/main/resources/data/growthcraft/tags/blocks/rope.json b/src/generated/resources/data/growthcraft/tags/blocks/rope.json similarity index 97% rename from src/main/resources/data/growthcraft/tags/blocks/rope.json rename to src/generated/resources/data/growthcraft/tags/blocks/rope.json index 9e93d418..a3661cdb 100644 --- a/src/main/resources/data/growthcraft/tags/blocks/rope.json +++ b/src/generated/resources/data/growthcraft/tags/blocks/rope.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft:rope_linen", "growthcraft:rope_linen_acacia_fence", @@ -12,10 +11,10 @@ "growthcraft:rope_linen_spruce_fence", "growthcraft:rope_linen_warped_fence", "growthcraft_cellar:hops_vine", - "growthcraft_cellar:red_grape_vine", - "growthcraft_cellar:red_grape_vine_leaves", "growthcraft_cellar:purple_grape_vine", "growthcraft_cellar:purple_grape_vine_leaves", + "growthcraft_cellar:red_grape_vine", + "growthcraft_cellar:red_grape_vine_leaves", "growthcraft_cellar:white_grape_vine", "growthcraft_cellar:white_grape_vine_leaves", "growthcraft_apples:apple_plank_fence_rope_linen", diff --git a/src/main/resources/data/growthcraft/tags/blocks/salt.json b/src/generated/resources/data/growthcraft/tags/blocks/salt.json similarity index 71% rename from src/main/resources/data/growthcraft/tags/blocks/salt.json rename to src/generated/resources/data/growthcraft/tags/blocks/salt.json index d3127e0f..a1f824c0 100644 --- a/src/main/resources/data/growthcraft/tags/blocks/salt.json +++ b/src/generated/resources/data/growthcraft/tags/blocks/salt.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft:salt_block" ] diff --git a/src/main/resources/data/growthcraft/tags/items/roaster_wrench.json b/src/generated/resources/data/growthcraft/tags/items/roaster_wrench.json similarity index 69% rename from src/main/resources/data/growthcraft/tags/items/roaster_wrench.json rename to src/generated/resources/data/growthcraft/tags/items/roaster_wrench.json index 855dc9b0..5cf4c789 100644 --- a/src/main/resources/data/growthcraft/tags/items/roaster_wrench.json +++ b/src/generated/resources/data/growthcraft/tags/items/roaster_wrench.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft:wrench" ] diff --git a/src/generated/resources/data/growthcraft/tags/items/salt.json b/src/generated/resources/data/growthcraft/tags/items/salt.json new file mode 100644 index 00000000..9eb36030 --- /dev/null +++ b/src/generated/resources/data/growthcraft/tags/items/salt.json @@ -0,0 +1,5 @@ +{ + "values": [ + "growthcraft:salt" + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apiary/advancements/recipes/decorations/bee_box_acacia.json b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/decorations/bee_box_acacia.json new file mode 100644 index 00000000..4c67b96c --- /dev/null +++ b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/decorations/bee_box_acacia.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:acacia_planks" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apiary:bee_box_acacia" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apiary:bee_box_acacia" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apiary/advancements/recipes/decorations/bee_box_birch.json b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/decorations/bee_box_birch.json new file mode 100644 index 00000000..7cf17984 --- /dev/null +++ b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/decorations/bee_box_birch.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:birch_planks" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apiary:bee_box_birch" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apiary:bee_box_birch" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apiary/advancements/recipes/decorations/bee_box_crimson.json b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/decorations/bee_box_crimson.json new file mode 100644 index 00000000..8a1bb83b --- /dev/null +++ b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/decorations/bee_box_crimson.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:crimson_planks" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apiary:bee_box_crimson" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apiary:bee_box_crimson" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apiary/advancements/recipes/decorations/bee_box_dark_oak.json b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/decorations/bee_box_dark_oak.json new file mode 100644 index 00000000..730e2a7d --- /dev/null +++ b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/decorations/bee_box_dark_oak.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:dark_oak_planks" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apiary:bee_box_dark_oak" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apiary:bee_box_dark_oak" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apiary/advancements/recipes/decorations/bee_box_jungle.json b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/decorations/bee_box_jungle.json new file mode 100644 index 00000000..58353246 --- /dev/null +++ b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/decorations/bee_box_jungle.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:jungle_planks" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apiary:bee_box_jungle" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apiary:bee_box_jungle" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apiary/advancements/recipes/decorations/bee_box_oak.json b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/decorations/bee_box_oak.json new file mode 100644 index 00000000..4ea79e4a --- /dev/null +++ b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/decorations/bee_box_oak.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:acacia_planks" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apiary:bee_box_oak" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apiary:bee_box_oak" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apiary/advancements/recipes/decorations/bee_box_spruce.json b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/decorations/bee_box_spruce.json new file mode 100644 index 00000000..0f0683e8 --- /dev/null +++ b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/decorations/bee_box_spruce.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:spruce_planks" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apiary:bee_box_spruce" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apiary:bee_box_spruce" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apiary/advancements/recipes/decorations/bee_box_warped.json b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/decorations/bee_box_warped.json new file mode 100644 index 00000000..822a3846 --- /dev/null +++ b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/decorations/bee_box_warped.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:warped_planks" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apiary:bee_box_warped" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apiary:bee_box_warped" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_black.json b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_black.json new file mode 100644 index 00000000..ba8e8694 --- /dev/null +++ b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_black.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_apiary:bees_wax" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apiary:bees_wax_black" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apiary:bees_wax_black" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_blue.json b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_blue.json new file mode 100644 index 00000000..80b41d44 --- /dev/null +++ b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_blue.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_apiary:bees_wax" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apiary:bees_wax_blue" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apiary:bees_wax_blue" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_brown.json b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_brown.json new file mode 100644 index 00000000..4f7dc865 --- /dev/null +++ b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_brown.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_apiary:bees_wax" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apiary:bees_wax_brown" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apiary:bees_wax_brown" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_cyan.json b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_cyan.json new file mode 100644 index 00000000..1f63d716 --- /dev/null +++ b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_cyan.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_apiary:bees_wax" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apiary:bees_wax_cyan" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apiary:bees_wax_cyan" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_gray.json b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_gray.json new file mode 100644 index 00000000..bcb10395 --- /dev/null +++ b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_gray.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_apiary:bees_wax" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apiary:bees_wax_gray" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apiary:bees_wax_gray" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_green.json b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_green.json new file mode 100644 index 00000000..cd1a79bf --- /dev/null +++ b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_green.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_apiary:bees_wax" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apiary:bees_wax_green" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apiary:bees_wax_green" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_light_blue.json b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_light_blue.json new file mode 100644 index 00000000..84929777 --- /dev/null +++ b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_light_blue.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_apiary:bees_wax" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apiary:bees_wax_light_blue" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apiary:bees_wax_light_blue" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_light_gray.json b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_light_gray.json new file mode 100644 index 00000000..3c644265 --- /dev/null +++ b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_light_gray.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_apiary:bees_wax" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apiary:bees_wax_light_gray" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apiary:bees_wax_light_gray" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_lime.json b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_lime.json new file mode 100644 index 00000000..1b668ac4 --- /dev/null +++ b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_lime.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_apiary:bees_wax" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apiary:bees_wax_lime" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apiary:bees_wax_lime" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_magenta.json b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_magenta.json new file mode 100644 index 00000000..145303cb --- /dev/null +++ b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_magenta.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_apiary:bees_wax" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apiary:bees_wax_magenta" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apiary:bees_wax_magenta" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_orange.json b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_orange.json new file mode 100644 index 00000000..bab332ed --- /dev/null +++ b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_orange.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_apiary:bees_wax" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apiary:bees_wax_orange" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apiary:bees_wax_orange" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_pink.json b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_pink.json new file mode 100644 index 00000000..f1aa3e1a --- /dev/null +++ b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_pink.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_apiary:bees_wax" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apiary:bees_wax_pink" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apiary:bees_wax_pink" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_purple.json b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_purple.json new file mode 100644 index 00000000..468e7e43 --- /dev/null +++ b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_purple.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_apiary:bees_wax" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apiary:bees_wax_purple" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apiary:bees_wax_purple" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_red.json b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_red.json new file mode 100644 index 00000000..b74fec9b --- /dev/null +++ b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_red.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_apiary:bees_wax" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apiary:bees_wax_red" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apiary:bees_wax_red" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_white.json b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_white.json new file mode 100644 index 00000000..f361b83a --- /dev/null +++ b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_white.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_apiary:bees_wax" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apiary:bees_wax_white" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apiary:bees_wax_white" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_yellow.json b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_yellow.json new file mode 100644 index 00000000..e183b358 --- /dev/null +++ b/src/generated/resources/data/growthcraft_apiary/advancements/recipes/misc/bees_wax_yellow.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_apiary:bees_wax" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apiary:bees_wax_yellow" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apiary:bees_wax_yellow" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_acacia.json b/src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_acacia.json similarity index 70% rename from src/main/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_acacia.json rename to src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_acacia.json index ab3811c5..1a388606 100644 --- a/src/main/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_acacia.json +++ b/src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_acacia.json @@ -2,18 +2,20 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1, + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], "entries": [ { "type": "minecraft:item", "name": "growthcraft_apiary:bee_box_acacia" } ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] + "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft_apiary:blocks/bee_box_acacia" } \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_birch.json b/src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_birch.json new file mode 100644 index 00000000..d6191873 --- /dev/null +++ b/src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_birch.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "growthcraft_apiary:bee_box_birch" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft_apiary:blocks/bee_box_birch" +} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_cherry.json b/src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_cherry.json similarity index 70% rename from src/main/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_cherry.json rename to src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_cherry.json index f414c4e0..493a3a31 100644 --- a/src/main/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_cherry.json +++ b/src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_cherry.json @@ -2,18 +2,20 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1, + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], "entries": [ { "type": "minecraft:item", "name": "growthcraft_apiary:bee_box_cherry" } ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] + "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft_apiary:blocks/bee_box_cherry" } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_crimson.json b/src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_crimson.json similarity index 70% rename from src/main/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_crimson.json rename to src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_crimson.json index ba2b4c49..3376d47a 100644 --- a/src/main/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_crimson.json +++ b/src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_crimson.json @@ -2,18 +2,20 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1, + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], "entries": [ { "type": "minecraft:item", "name": "growthcraft_apiary:bee_box_crimson" } ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] + "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft_apiary:blocks/bee_box_crimson" } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_dark_oak.json b/src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_dark_oak.json similarity index 70% rename from src/main/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_dark_oak.json rename to src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_dark_oak.json index ce2044b8..c6e03560 100644 --- a/src/main/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_dark_oak.json +++ b/src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_dark_oak.json @@ -2,18 +2,20 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1, + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], "entries": [ { "type": "minecraft:item", "name": "growthcraft_apiary:bee_box_dark_oak" } ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] + "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft_apiary:blocks/bee_box_dark_oak" } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_jungle.json b/src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_jungle.json similarity index 70% rename from src/main/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_jungle.json rename to src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_jungle.json index a96f1d21..a44498ba 100644 --- a/src/main/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_jungle.json +++ b/src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_jungle.json @@ -2,18 +2,20 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1, + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], "entries": [ { "type": "minecraft:item", "name": "growthcraft_apiary:bee_box_jungle" } ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] + "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft_apiary:blocks/bee_box_jungle" } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_mangrove.json b/src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_mangrove.json similarity index 70% rename from src/main/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_mangrove.json rename to src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_mangrove.json index e883b06b..6864d089 100644 --- a/src/main/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_mangrove.json +++ b/src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_mangrove.json @@ -2,18 +2,20 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1, + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], "entries": [ { "type": "minecraft:item", "name": "growthcraft_apiary:bee_box_mangrove" } ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] + "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft_apiary:blocks/bee_box_mangrove" } \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_oak.json b/src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_oak.json new file mode 100644 index 00000000..b8e5c2b8 --- /dev/null +++ b/src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_oak.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "growthcraft_apiary:bee_box_oak" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft_apiary:blocks/bee_box_oak" +} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_spruce.json b/src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_spruce.json similarity index 70% rename from src/main/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_spruce.json rename to src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_spruce.json index 44e61f49..99e0283d 100644 --- a/src/main/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_spruce.json +++ b/src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_spruce.json @@ -2,18 +2,20 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1, + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], "entries": [ { "type": "minecraft:item", "name": "growthcraft_apiary:bee_box_spruce" } ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] + "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft_apiary:blocks/bee_box_spruce" } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_warped.json b/src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_warped.json similarity index 70% rename from src/main/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_warped.json rename to src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_warped.json index af266c5a..1da0ba8c 100644 --- a/src/main/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_warped.json +++ b/src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_warped.json @@ -2,18 +2,20 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1, + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], "entries": [ { "type": "minecraft:item", "name": "growthcraft_apiary:bee_box_warped" } ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] + "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft_apiary:blocks/bee_box_warped" } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/loot_tables/blocks/rope_linen_crimson_fence.json b/src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/honey_fluid.json similarity index 74% rename from src/main/resources/data/growthcraft/loot_tables/blocks/rope_linen_crimson_fence.json rename to src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/honey_fluid.json index a9cf5be3..df230eae 100644 --- a/src/main/resources/data/growthcraft/loot_tables/blocks/rope_linen_crimson_fence.json +++ b/src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/honey_fluid.json @@ -11,10 +11,11 @@ "entries": [ { "type": "minecraft:item", - "name": "growthcraft:rope_linen" + "name": "minecraft:air" } ], "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft_apiary:blocks/honey_fluid" } \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/honey_mead_fluid.json b/src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/honey_mead_fluid.json new file mode 100644 index 00000000..f22d1557 --- /dev/null +++ b/src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/honey_mead_fluid.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:air" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft_apiary:blocks/honey_mead_fluid" +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/honey_mead_must_fluid.json b/src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/honey_mead_must_fluid.json new file mode 100644 index 00000000..f72b7bf5 --- /dev/null +++ b/src/generated/resources/data/growthcraft_apiary/loot_tables/blocks/honey_mead_must_fluid.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:air" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft_apiary:blocks/honey_mead_must_fluid" +} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/recipes/bee_box_acacia.json b/src/generated/resources/data/growthcraft_apiary/recipes/bee_box_acacia.json similarity index 79% rename from src/main/resources/data/growthcraft_apiary/recipes/bee_box_acacia.json rename to src/generated/resources/data/growthcraft_apiary/recipes/bee_box_acacia.json index cb6e5370..b97ec701 100644 --- a/src/main/resources/data/growthcraft_apiary/recipes/bee_box_acacia.json +++ b/src/generated/resources/data/growthcraft_apiary/recipes/bee_box_acacia.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "SPS", - "PBP", - "SPS" - ], + "category": "misc", + "group": "growthcraft_apiary", "key": { "B": { "item": "minecraft:acacia_slab" @@ -16,7 +13,13 @@ "tag": "forge:rods/wooden" } }, + "pattern": [ + "SPS", + "PBP", + "SPS" + ], "result": { "item": "growthcraft_apiary:bee_box_acacia" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/recipes/bee_box_birch.json b/src/generated/resources/data/growthcraft_apiary/recipes/bee_box_birch.json similarity index 79% rename from src/main/resources/data/growthcraft_apiary/recipes/bee_box_birch.json rename to src/generated/resources/data/growthcraft_apiary/recipes/bee_box_birch.json index feaf50b7..18dc8c0b 100644 --- a/src/main/resources/data/growthcraft_apiary/recipes/bee_box_birch.json +++ b/src/generated/resources/data/growthcraft_apiary/recipes/bee_box_birch.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "SPS", - "PBP", - "SPS" - ], + "category": "misc", + "group": "growthcraft_apiary", "key": { "B": { "item": "minecraft:birch_slab" @@ -16,7 +13,13 @@ "tag": "forge:rods/wooden" } }, + "pattern": [ + "SPS", + "PBP", + "SPS" + ], "result": { "item": "growthcraft_apiary:bee_box_birch" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/recipes/bee_box_crimson.json b/src/generated/resources/data/growthcraft_apiary/recipes/bee_box_crimson.json similarity index 79% rename from src/main/resources/data/growthcraft_apiary/recipes/bee_box_crimson.json rename to src/generated/resources/data/growthcraft_apiary/recipes/bee_box_crimson.json index 2f32aaeb..f9e2cf8c 100644 --- a/src/main/resources/data/growthcraft_apiary/recipes/bee_box_crimson.json +++ b/src/generated/resources/data/growthcraft_apiary/recipes/bee_box_crimson.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "SPS", - "PBP", - "SPS" - ], + "category": "misc", + "group": "growthcraft_apiary", "key": { "B": { "item": "minecraft:crimson_slab" @@ -16,7 +13,13 @@ "tag": "forge:rods/wooden" } }, + "pattern": [ + "SPS", + "PBP", + "SPS" + ], "result": { "item": "growthcraft_apiary:bee_box_crimson" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/recipes/bee_box_dark_oak.json b/src/generated/resources/data/growthcraft_apiary/recipes/bee_box_dark_oak.json similarity index 79% rename from src/main/resources/data/growthcraft_apiary/recipes/bee_box_dark_oak.json rename to src/generated/resources/data/growthcraft_apiary/recipes/bee_box_dark_oak.json index 62c198ea..ccca79bb 100644 --- a/src/main/resources/data/growthcraft_apiary/recipes/bee_box_dark_oak.json +++ b/src/generated/resources/data/growthcraft_apiary/recipes/bee_box_dark_oak.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "SPS", - "PBP", - "SPS" - ], + "category": "misc", + "group": "growthcraft_apiary", "key": { "B": { "item": "minecraft:dark_oak_slab" @@ -16,7 +13,13 @@ "tag": "forge:rods/wooden" } }, + "pattern": [ + "SPS", + "PBP", + "SPS" + ], "result": { "item": "growthcraft_apiary:bee_box_dark_oak" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/recipes/bee_box_jungle.json b/src/generated/resources/data/growthcraft_apiary/recipes/bee_box_jungle.json similarity index 79% rename from src/main/resources/data/growthcraft_apiary/recipes/bee_box_jungle.json rename to src/generated/resources/data/growthcraft_apiary/recipes/bee_box_jungle.json index 77ddc753..5c2f92dc 100644 --- a/src/main/resources/data/growthcraft_apiary/recipes/bee_box_jungle.json +++ b/src/generated/resources/data/growthcraft_apiary/recipes/bee_box_jungle.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "SPS", - "PBP", - "SPS" - ], + "category": "misc", + "group": "growthcraft_apiary", "key": { "B": { "item": "minecraft:jungle_slab" @@ -16,7 +13,13 @@ "tag": "forge:rods/wooden" } }, + "pattern": [ + "SPS", + "PBP", + "SPS" + ], "result": { "item": "growthcraft_apiary:bee_box_jungle" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/recipes/bee_box_oak.json b/src/generated/resources/data/growthcraft_apiary/recipes/bee_box_oak.json similarity index 60% rename from src/main/resources/data/growthcraft_apiary/recipes/bee_box_oak.json rename to src/generated/resources/data/growthcraft_apiary/recipes/bee_box_oak.json index 4a3753ab..e4b1edc5 100644 --- a/src/main/resources/data/growthcraft_apiary/recipes/bee_box_oak.json +++ b/src/generated/resources/data/growthcraft_apiary/recipes/bee_box_oak.json @@ -1,22 +1,25 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "SPS", - "PBP", - "SPS" - ], + "category": "misc", + "group": "growthcraft_apiary", "key": { "B": { - "item": "minecraft:oak_slab" + "item": "minecraft:acacia_slab" }, "P": { - "item": "minecraft:oak_planks" + "item": "minecraft:acacia_planks" }, "S": { "tag": "forge:rods/wooden" } }, + "pattern": [ + "SPS", + "PBP", + "SPS" + ], "result": { "item": "growthcraft_apiary:bee_box_oak" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/recipes/bee_box_spruce.json b/src/generated/resources/data/growthcraft_apiary/recipes/bee_box_spruce.json similarity index 79% rename from src/main/resources/data/growthcraft_apiary/recipes/bee_box_spruce.json rename to src/generated/resources/data/growthcraft_apiary/recipes/bee_box_spruce.json index f08c68a3..8309eeac 100644 --- a/src/main/resources/data/growthcraft_apiary/recipes/bee_box_spruce.json +++ b/src/generated/resources/data/growthcraft_apiary/recipes/bee_box_spruce.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "SPS", - "PBP", - "SPS" - ], + "category": "misc", + "group": "growthcraft_apiary", "key": { "B": { "item": "minecraft:spruce_slab" @@ -16,7 +13,13 @@ "tag": "forge:rods/wooden" } }, + "pattern": [ + "SPS", + "PBP", + "SPS" + ], "result": { "item": "growthcraft_apiary:bee_box_spruce" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/recipes/bee_box_warped.json b/src/generated/resources/data/growthcraft_apiary/recipes/bee_box_warped.json similarity index 79% rename from src/main/resources/data/growthcraft_apiary/recipes/bee_box_warped.json rename to src/generated/resources/data/growthcraft_apiary/recipes/bee_box_warped.json index 6cfcd915..33caf6be 100644 --- a/src/main/resources/data/growthcraft_apiary/recipes/bee_box_warped.json +++ b/src/generated/resources/data/growthcraft_apiary/recipes/bee_box_warped.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "SPS", - "PBP", - "SPS" - ], + "category": "misc", + "group": "growthcraft_apiary", "key": { "B": { "item": "minecraft:warped_slab" @@ -16,7 +13,13 @@ "tag": "forge:rods/wooden" } }, + "pattern": [ + "SPS", + "PBP", + "SPS" + ], "result": { "item": "growthcraft_apiary:bee_box_warped" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/recipes/bees_wax_black.json b/src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_black.json similarity index 60% rename from src/main/resources/data/growthcraft_apiary/recipes/bees_wax_black.json rename to src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_black.json index be91d4b9..34e4ec00 100644 --- a/src/main/resources/data/growthcraft_apiary/recipes/bees_wax_black.json +++ b/src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_black.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "AAA", - "ABA", - "AAA" - ], + "category": "misc", + "group": "growthcraft_apiary", "key": { "A": { "item": "growthcraft_apiary:bees_wax" @@ -13,8 +10,14 @@ "tag": "forge:dyes/black" } }, + "pattern": [ + "AAA", + "ABA", + "AAA" + ], "result": { - "item": "growthcraft_apiary:bees_wax_black", - "count": 8 - } + "count": 8, + "item": "growthcraft_apiary:bees_wax_black" + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/recipes/bees_wax_blue.json b/src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_blue.json similarity index 60% rename from src/main/resources/data/growthcraft_apiary/recipes/bees_wax_blue.json rename to src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_blue.json index 024e4bb7..070eb6cc 100644 --- a/src/main/resources/data/growthcraft_apiary/recipes/bees_wax_blue.json +++ b/src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_blue.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "AAA", - "ABA", - "AAA" - ], + "category": "misc", + "group": "growthcraft_apiary", "key": { "A": { "item": "growthcraft_apiary:bees_wax" @@ -13,8 +10,14 @@ "tag": "forge:dyes/blue" } }, + "pattern": [ + "AAA", + "ABA", + "AAA" + ], "result": { - "item": "growthcraft_apiary:bees_wax_blue", - "count": 8 - } + "count": 8, + "item": "growthcraft_apiary:bees_wax_blue" + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/recipes/bees_wax_brown.json b/src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_brown.json similarity index 60% rename from src/main/resources/data/growthcraft_apiary/recipes/bees_wax_brown.json rename to src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_brown.json index f16b4bb1..e240eb53 100644 --- a/src/main/resources/data/growthcraft_apiary/recipes/bees_wax_brown.json +++ b/src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_brown.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "AAA", - "ABA", - "AAA" - ], + "category": "misc", + "group": "growthcraft_apiary", "key": { "A": { "item": "growthcraft_apiary:bees_wax" @@ -13,8 +10,14 @@ "tag": "forge:dyes/brown" } }, + "pattern": [ + "AAA", + "ABA", + "AAA" + ], "result": { - "item": "growthcraft_apiary:bees_wax_brown", - "count": 8 - } + "count": 8, + "item": "growthcraft_apiary:bees_wax_brown" + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/recipes/bees_wax_cyan.json b/src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_cyan.json similarity index 60% rename from src/main/resources/data/growthcraft_apiary/recipes/bees_wax_cyan.json rename to src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_cyan.json index a928ff57..340cd270 100644 --- a/src/main/resources/data/growthcraft_apiary/recipes/bees_wax_cyan.json +++ b/src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_cyan.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "AAA", - "ABA", - "AAA" - ], + "category": "misc", + "group": "growthcraft_apiary", "key": { "A": { "item": "growthcraft_apiary:bees_wax" @@ -13,8 +10,14 @@ "tag": "forge:dyes/cyan" } }, + "pattern": [ + "AAA", + "ABA", + "AAA" + ], "result": { - "item": "growthcraft_apiary:bees_wax_cyan", - "count": 8 - } + "count": 8, + "item": "growthcraft_apiary:bees_wax_cyan" + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/recipes/bees_wax_gray.json b/src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_gray.json similarity index 60% rename from src/main/resources/data/growthcraft_apiary/recipes/bees_wax_gray.json rename to src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_gray.json index 1f827d6a..0cd01ca8 100644 --- a/src/main/resources/data/growthcraft_apiary/recipes/bees_wax_gray.json +++ b/src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_gray.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "AAA", - "ABA", - "AAA" - ], + "category": "misc", + "group": "growthcraft_apiary", "key": { "A": { "item": "growthcraft_apiary:bees_wax" @@ -13,8 +10,14 @@ "tag": "forge:dyes/gray" } }, + "pattern": [ + "AAA", + "ABA", + "AAA" + ], "result": { - "item": "growthcraft_apiary:bees_wax_gray", - "count": 8 - } + "count": 8, + "item": "growthcraft_apiary:bees_wax_gray" + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/recipes/bees_wax_green.json b/src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_green.json similarity index 60% rename from src/main/resources/data/growthcraft_apiary/recipes/bees_wax_green.json rename to src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_green.json index 8df5194f..ec4f935f 100644 --- a/src/main/resources/data/growthcraft_apiary/recipes/bees_wax_green.json +++ b/src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_green.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "AAA", - "ABA", - "AAA" - ], + "category": "misc", + "group": "growthcraft_apiary", "key": { "A": { "item": "growthcraft_apiary:bees_wax" @@ -13,8 +10,14 @@ "tag": "forge:dyes/green" } }, + "pattern": [ + "AAA", + "ABA", + "AAA" + ], "result": { - "item": "growthcraft_apiary:bees_wax_green", - "count": 8 - } + "count": 8, + "item": "growthcraft_apiary:bees_wax_green" + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/recipes/bees_wax_light_blue.json b/src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_light_blue.json similarity index 60% rename from src/main/resources/data/growthcraft_apiary/recipes/bees_wax_light_blue.json rename to src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_light_blue.json index 61e8b013..b7e880f8 100644 --- a/src/main/resources/data/growthcraft_apiary/recipes/bees_wax_light_blue.json +++ b/src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_light_blue.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "AAA", - "ABA", - "AAA" - ], + "category": "misc", + "group": "growthcraft_apiary", "key": { "A": { "item": "growthcraft_apiary:bees_wax" @@ -13,8 +10,14 @@ "tag": "forge:dyes/light_blue" } }, + "pattern": [ + "AAA", + "ABA", + "AAA" + ], "result": { - "item": "growthcraft_apiary:bees_wax_light_blue", - "count": 8 - } + "count": 8, + "item": "growthcraft_apiary:bees_wax_light_blue" + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/recipes/bees_wax_light_gray.json b/src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_light_gray.json similarity index 60% rename from src/main/resources/data/growthcraft_apiary/recipes/bees_wax_light_gray.json rename to src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_light_gray.json index 82e4246d..667a92c6 100644 --- a/src/main/resources/data/growthcraft_apiary/recipes/bees_wax_light_gray.json +++ b/src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_light_gray.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "AAA", - "ABA", - "AAA" - ], + "category": "misc", + "group": "growthcraft_apiary", "key": { "A": { "item": "growthcraft_apiary:bees_wax" @@ -13,8 +10,14 @@ "tag": "forge:dyes/light_gray" } }, + "pattern": [ + "AAA", + "ABA", + "AAA" + ], "result": { - "item": "growthcraft_apiary:bees_wax_light_gray", - "count": 8 - } + "count": 8, + "item": "growthcraft_apiary:bees_wax_light_gray" + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/recipes/bees_wax_lime.json b/src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_lime.json similarity index 60% rename from src/main/resources/data/growthcraft_apiary/recipes/bees_wax_lime.json rename to src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_lime.json index e52c0951..87486e72 100644 --- a/src/main/resources/data/growthcraft_apiary/recipes/bees_wax_lime.json +++ b/src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_lime.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "AAA", - "ABA", - "AAA" - ], + "category": "misc", + "group": "growthcraft_apiary", "key": { "A": { "item": "growthcraft_apiary:bees_wax" @@ -13,8 +10,14 @@ "tag": "forge:dyes/lime" } }, + "pattern": [ + "AAA", + "ABA", + "AAA" + ], "result": { - "item": "growthcraft_apiary:bees_wax_lime", - "count": 8 - } + "count": 8, + "item": "growthcraft_apiary:bees_wax_lime" + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/recipes/bees_wax_magenta.json b/src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_magenta.json similarity index 60% rename from src/main/resources/data/growthcraft_apiary/recipes/bees_wax_magenta.json rename to src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_magenta.json index ed7645dc..612c183e 100644 --- a/src/main/resources/data/growthcraft_apiary/recipes/bees_wax_magenta.json +++ b/src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_magenta.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "AAA", - "ABA", - "AAA" - ], + "category": "misc", + "group": "growthcraft_apiary", "key": { "A": { "item": "growthcraft_apiary:bees_wax" @@ -13,8 +10,14 @@ "tag": "forge:dyes/magenta" } }, + "pattern": [ + "AAA", + "ABA", + "AAA" + ], "result": { - "item": "growthcraft_apiary:bees_wax_magenta", - "count": 8 - } + "count": 8, + "item": "growthcraft_apiary:bees_wax_magenta" + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/recipes/bees_wax_orange.json b/src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_orange.json similarity index 60% rename from src/main/resources/data/growthcraft_apiary/recipes/bees_wax_orange.json rename to src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_orange.json index c28252a7..82fcc770 100644 --- a/src/main/resources/data/growthcraft_apiary/recipes/bees_wax_orange.json +++ b/src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_orange.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "AAA", - "ABA", - "AAA" - ], + "category": "misc", + "group": "growthcraft_apiary", "key": { "A": { "item": "growthcraft_apiary:bees_wax" @@ -13,8 +10,14 @@ "tag": "forge:dyes/orange" } }, + "pattern": [ + "AAA", + "ABA", + "AAA" + ], "result": { - "item": "growthcraft_apiary:bees_wax_orange", - "count": 8 - } + "count": 8, + "item": "growthcraft_apiary:bees_wax_orange" + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/recipes/bees_wax_pink.json b/src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_pink.json similarity index 60% rename from src/main/resources/data/growthcraft_apiary/recipes/bees_wax_pink.json rename to src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_pink.json index bb3cde2b..14fcdee0 100644 --- a/src/main/resources/data/growthcraft_apiary/recipes/bees_wax_pink.json +++ b/src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_pink.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "AAA", - "ABA", - "AAA" - ], + "category": "misc", + "group": "growthcraft_apiary", "key": { "A": { "item": "growthcraft_apiary:bees_wax" @@ -13,8 +10,14 @@ "tag": "forge:dyes/pink" } }, + "pattern": [ + "AAA", + "ABA", + "AAA" + ], "result": { - "item": "growthcraft_apiary:bees_wax_pink", - "count": 8 - } + "count": 8, + "item": "growthcraft_apiary:bees_wax_pink" + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/recipes/bees_wax_purple.json b/src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_purple.json similarity index 60% rename from src/main/resources/data/growthcraft_apiary/recipes/bees_wax_purple.json rename to src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_purple.json index 3798f619..5888b536 100644 --- a/src/main/resources/data/growthcraft_apiary/recipes/bees_wax_purple.json +++ b/src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_purple.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "AAA", - "ABA", - "AAA" - ], + "category": "misc", + "group": "growthcraft_apiary", "key": { "A": { "item": "growthcraft_apiary:bees_wax" @@ -13,8 +10,14 @@ "tag": "forge:dyes/purple" } }, + "pattern": [ + "AAA", + "ABA", + "AAA" + ], "result": { - "item": "growthcraft_apiary:bees_wax_purple", - "count": 8 - } + "count": 8, + "item": "growthcraft_apiary:bees_wax_purple" + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/recipes/bees_wax_red.json b/src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_red.json similarity index 60% rename from src/main/resources/data/growthcraft_apiary/recipes/bees_wax_red.json rename to src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_red.json index de5d782d..996f4290 100644 --- a/src/main/resources/data/growthcraft_apiary/recipes/bees_wax_red.json +++ b/src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_red.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "AAA", - "ABA", - "AAA" - ], + "category": "misc", + "group": "growthcraft_apiary", "key": { "A": { "item": "growthcraft_apiary:bees_wax" @@ -13,8 +10,14 @@ "tag": "forge:dyes/red" } }, + "pattern": [ + "AAA", + "ABA", + "AAA" + ], "result": { - "item": "growthcraft_apiary:bees_wax_red", - "count": 8 - } + "count": 8, + "item": "growthcraft_apiary:bees_wax_red" + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/recipes/bees_wax_white.json b/src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_white.json similarity index 60% rename from src/main/resources/data/growthcraft_apiary/recipes/bees_wax_white.json rename to src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_white.json index 8a7458a2..90872d04 100644 --- a/src/main/resources/data/growthcraft_apiary/recipes/bees_wax_white.json +++ b/src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_white.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "AAA", - "ABA", - "AAA" - ], + "category": "misc", + "group": "growthcraft_apiary", "key": { "A": { "item": "growthcraft_apiary:bees_wax" @@ -13,8 +10,14 @@ "tag": "forge:dyes/white" } }, + "pattern": [ + "AAA", + "ABA", + "AAA" + ], "result": { - "item": "growthcraft_apiary:bees_wax_white", - "count": 8 - } + "count": 8, + "item": "growthcraft_apiary:bees_wax_white" + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/recipes/bees_wax_yellow.json b/src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_yellow.json similarity index 60% rename from src/main/resources/data/growthcraft_apiary/recipes/bees_wax_yellow.json rename to src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_yellow.json index 1268b048..bd9d5973 100644 --- a/src/main/resources/data/growthcraft_apiary/recipes/bees_wax_yellow.json +++ b/src/generated/resources/data/growthcraft_apiary/recipes/bees_wax_yellow.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "AAA", - "ABA", - "AAA" - ], + "category": "misc", + "group": "growthcraft_apiary", "key": { "A": { "item": "growthcraft_apiary:bees_wax" @@ -13,8 +10,14 @@ "tag": "forge:dyes/yellow" } }, + "pattern": [ + "AAA", + "ABA", + "AAA" + ], "result": { - "item": "growthcraft_apiary:bees_wax_yellow", - "count": 8 - } + "count": 8, + "item": "growthcraft_apiary:bees_wax_yellow" + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/tags/items/bee.json b/src/generated/resources/data/growthcraft_apiary/tags/items/bee.json similarity index 71% rename from src/main/resources/data/growthcraft_apiary/tags/items/bee.json rename to src/generated/resources/data/growthcraft_apiary/tags/items/bee.json index 86d8a36b..d8632f4e 100644 --- a/src/main/resources/data/growthcraft_apiary/tags/items/bee.json +++ b/src/generated/resources/data/growthcraft_apiary/tags/items/bee.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft_apiary:bee" ] diff --git a/src/main/resources/data/growthcraft_apiary/tags/items/bees_wax.json b/src/generated/resources/data/growthcraft_apiary/tags/items/bees_wax.json similarity index 97% rename from src/main/resources/data/growthcraft_apiary/tags/items/bees_wax.json rename to src/generated/resources/data/growthcraft_apiary/tags/items/bees_wax.json index fe6b39ea..b7708fa1 100644 --- a/src/main/resources/data/growthcraft_apiary/tags/items/bees_wax.json +++ b/src/generated/resources/data/growthcraft_apiary/tags/items/bees_wax.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft_apiary:bees_wax", "growthcraft_apiary:bees_wax_black", diff --git a/src/main/resources/data/growthcraft_apiary/tags/items/honey_comb.json b/src/generated/resources/data/growthcraft_apiary/tags/items/honey_comb.json similarity index 86% rename from src/main/resources/data/growthcraft_apiary/tags/items/honey_comb.json rename to src/generated/resources/data/growthcraft_apiary/tags/items/honey_comb.json index c3f2cbd9..77a4b183 100644 --- a/src/main/resources/data/growthcraft_apiary/tags/items/honey_comb.json +++ b/src/generated/resources/data/growthcraft_apiary/tags/items/honey_comb.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft_apiary:honey_comb_empty", "growthcraft_apiary:honey_comb_full", diff --git a/src/generated/resources/data/growthcraft_apples/advancements/recipes/building_blocks/apple_plank.json b/src/generated/resources/data/growthcraft_apples/advancements/recipes/building_blocks/apple_plank.json new file mode 100644 index 00000000..908e877b --- /dev/null +++ b/src/generated/resources/data/growthcraft_apples/advancements/recipes/building_blocks/apple_plank.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_apples:apple_wood_log" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apples:apple_plank" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apples:apple_plank" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apples/advancements/recipes/building_blocks/apple_plank_button.json b/src/generated/resources/data/growthcraft_apples/advancements/recipes/building_blocks/apple_plank_button.json new file mode 100644 index 00000000..c47c9b1d --- /dev/null +++ b/src/generated/resources/data/growthcraft_apples/advancements/recipes/building_blocks/apple_plank_button.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_apples:apple_plank" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apples:apple_plank_button" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apples:apple_plank_button" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apples/advancements/recipes/building_blocks/apple_plank_door.json b/src/generated/resources/data/growthcraft_apples/advancements/recipes/building_blocks/apple_plank_door.json new file mode 100644 index 00000000..b00905bd --- /dev/null +++ b/src/generated/resources/data/growthcraft_apples/advancements/recipes/building_blocks/apple_plank_door.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_apples:apple_plank" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apples:apple_plank_door" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apples:apple_plank_door" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apples/advancements/recipes/building_blocks/apple_plank_fence.json b/src/generated/resources/data/growthcraft_apples/advancements/recipes/building_blocks/apple_plank_fence.json new file mode 100644 index 00000000..b6f1d489 --- /dev/null +++ b/src/generated/resources/data/growthcraft_apples/advancements/recipes/building_blocks/apple_plank_fence.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_apples:apple_plank" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apples:apple_plank_fence" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apples:apple_plank_fence" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apples/advancements/recipes/building_blocks/apple_plank_fence_gate.json b/src/generated/resources/data/growthcraft_apples/advancements/recipes/building_blocks/apple_plank_fence_gate.json new file mode 100644 index 00000000..f1305c4e --- /dev/null +++ b/src/generated/resources/data/growthcraft_apples/advancements/recipes/building_blocks/apple_plank_fence_gate.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_apples:apple_plank" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apples:apple_plank_fence_gate" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apples:apple_plank_fence_gate" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apples/advancements/recipes/building_blocks/apple_plank_pressure_plate.json b/src/generated/resources/data/growthcraft_apples/advancements/recipes/building_blocks/apple_plank_pressure_plate.json new file mode 100644 index 00000000..852f1335 --- /dev/null +++ b/src/generated/resources/data/growthcraft_apples/advancements/recipes/building_blocks/apple_plank_pressure_plate.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_apples:apple_plank" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apples:apple_plank_pressure_plate" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apples:apple_plank_pressure_plate" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apples/advancements/recipes/building_blocks/apple_plank_slab.json b/src/generated/resources/data/growthcraft_apples/advancements/recipes/building_blocks/apple_plank_slab.json new file mode 100644 index 00000000..cf459ef4 --- /dev/null +++ b/src/generated/resources/data/growthcraft_apples/advancements/recipes/building_blocks/apple_plank_slab.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_apples:apple_plank" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apples:apple_plank_slab" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apples:apple_plank_slab" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apples/advancements/recipes/building_blocks/apple_plank_stairs.json b/src/generated/resources/data/growthcraft_apples/advancements/recipes/building_blocks/apple_plank_stairs.json new file mode 100644 index 00000000..a1c5d972 --- /dev/null +++ b/src/generated/resources/data/growthcraft_apples/advancements/recipes/building_blocks/apple_plank_stairs.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_apples:apple_plank" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apples:apple_plank_stairs" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apples:apple_plank_stairs" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apples/advancements/recipes/building_blocks/apple_plank_trapdoor.json b/src/generated/resources/data/growthcraft_apples/advancements/recipes/building_blocks/apple_plank_trapdoor.json new file mode 100644 index 00000000..055759f1 --- /dev/null +++ b/src/generated/resources/data/growthcraft_apples/advancements/recipes/building_blocks/apple_plank_trapdoor.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_apples:apple_plank" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apples:apple_plank_trapdoor" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apples:apple_plank_trapdoor" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apples/advancements/recipes/building_blocks/apple_wood.json b/src/generated/resources/data/growthcraft_apples/advancements/recipes/building_blocks/apple_wood.json new file mode 100644 index 00000000..72c1088d --- /dev/null +++ b/src/generated/resources/data/growthcraft_apples/advancements/recipes/building_blocks/apple_wood.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_apples:apple_wood_log" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apples:apple_wood" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apples:apple_wood" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apples/advancements/recipes/decorations/bee_box_apple.json b/src/generated/resources/data/growthcraft_apples/advancements/recipes/decorations/bee_box_apple.json new file mode 100644 index 00000000..bb572a31 --- /dev/null +++ b/src/generated/resources/data/growthcraft_apples/advancements/recipes/decorations/bee_box_apple.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_apples:apple_plank" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apples:bee_box_apple" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apples:bee_box_apple" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apples/advancements/recipes/food/apple_seeds.json b/src/generated/resources/data/growthcraft_apples/advancements/recipes/food/apple_seeds.json new file mode 100644 index 00000000..0ff34b37 --- /dev/null +++ b/src/generated/resources/data/growthcraft_apples/advancements/recipes/food/apple_seeds.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:apple" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_apples:apple_seeds" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_apples:apple_seeds" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_cider_fluid.json b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_cider_fluid.json new file mode 100644 index 00000000..706c6239 --- /dev/null +++ b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_cider_fluid.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:air" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft_apples:blocks/apple_cider_fluid" +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_juice_fluid.json b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_juice_fluid.json new file mode 100644 index 00000000..f709557b --- /dev/null +++ b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_juice_fluid.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:air" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft_apples:blocks/apple_juice_fluid" +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank.json b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank.json new file mode 100644 index 00000000..61b8c1fd --- /dev/null +++ b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "growthcraft_apples:apple_plank" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft_apples:blocks/apple_plank" +} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_button.json b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_button.json similarity index 69% rename from src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_button.json rename to src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_button.json index 07199f83..599b1c61 100644 --- a/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_button.json +++ b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_button.json @@ -2,18 +2,20 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1, + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], "entries": [ { "type": "minecraft:item", "name": "growthcraft_apples:apple_plank_button" } ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] + "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft_apples:blocks/apple_plank_button" } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_door.json b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_door.json similarity index 89% rename from src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_door.json rename to src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_door.json index 11833dae..b5db81e6 100644 --- a/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_door.json +++ b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_door.json @@ -25,5 +25,6 @@ ], "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft_apples:blocks/apple_plank_door" } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_fence.json b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_fence.json similarity index 70% rename from src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_fence.json rename to src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_fence.json index 79b4c8e9..daecd7ab 100644 --- a/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_fence.json +++ b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_fence.json @@ -2,18 +2,20 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1, + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], "entries": [ { "type": "minecraft:item", "name": "growthcraft_apples:apple_plank_fence" } ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] + "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft_apples:blocks/apple_plank_fence" } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_fence_gate.json b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_fence_gate.json similarity index 69% rename from src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_fence_gate.json rename to src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_fence_gate.json index 64ee4a25..3c3ea119 100644 --- a/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_fence_gate.json +++ b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_fence_gate.json @@ -2,18 +2,20 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1, + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], "entries": [ { "type": "minecraft:item", "name": "growthcraft_apples:apple_plank_fence_gate" } ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] + "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft_apples:blocks/apple_plank_fence_gate" } \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_fence_rope_linen.json b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_fence_rope_linen.json new file mode 100644 index 00000000..1a1c691f --- /dev/null +++ b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_fence_rope_linen.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:air" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft_apples:blocks/apple_plank_fence_rope_linen" +} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_pressure_plate.json b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_pressure_plate.json similarity index 69% rename from src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_pressure_plate.json rename to src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_pressure_plate.json index 8f51cbc4..40015a27 100644 --- a/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_pressure_plate.json +++ b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_pressure_plate.json @@ -2,18 +2,20 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1, + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], "entries": [ { "type": "minecraft:item", "name": "growthcraft_apples:apple_plank_pressure_plate" } ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] + "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft_apples:blocks/apple_plank_pressure_plate" } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_slab.json b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_slab.json similarity index 73% rename from src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_slab.json rename to src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_slab.json index a67674d4..24641df3 100644 --- a/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_slab.json +++ b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_slab.json @@ -2,23 +2,24 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1, + "bonus_rolls": 0.0, "entries": [ { "type": "minecraft:item", "functions": [ { - "function": "minecraft:set_count", + "add": false, "conditions": [ { - "condition": "minecraft:block_state_property", "block": "growthcraft_apples:apple_plank_slab", + "condition": "minecraft:block_state_property", "properties": { "type": "double" } } ], - "count": 2 + "count": 2.0, + "function": "minecraft:set_count" }, { "function": "minecraft:explosion_decay" @@ -26,7 +27,9 @@ ], "name": "growthcraft_apples:apple_plank_slab" } - ] + ], + "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft_apples:blocks/apple_plank_slab" } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_stairs.json b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_stairs.json similarity index 69% rename from src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_stairs.json rename to src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_stairs.json index d832f838..d2fb8a68 100644 --- a/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_stairs.json +++ b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_stairs.json @@ -2,18 +2,20 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1, + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], "entries": [ { "type": "minecraft:item", "name": "growthcraft_apples:apple_plank_stairs" } ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] + "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft_apples:blocks/apple_plank_stairs" } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_trapdoor.json b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_trapdoor.json similarity index 69% rename from src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_trapdoor.json rename to src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_trapdoor.json index 3d7014a6..ba86540d 100644 --- a/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_trapdoor.json +++ b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank_trapdoor.json @@ -2,18 +2,20 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1, + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], "entries": [ { "type": "minecraft:item", "name": "growthcraft_apples:apple_plank_trapdoor" } ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] + "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft_apples:blocks/apple_plank_trapdoor" } \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_tree_fruit.json b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_tree_fruit.json new file mode 100644 index 00000000..3c4129c6 --- /dev/null +++ b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_tree_fruit.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:air" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft_apples:blocks/apple_tree_fruit" +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_tree_leaves.json b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_tree_leaves.json new file mode 100644 index 00000000..89dbfce9 --- /dev/null +++ b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_tree_leaves.json @@ -0,0 +1,136 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:any_of", + "terms": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "items": [ + "minecraft:shears" + ] + } + }, + { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [ + { + "enchantment": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + ] + } + ], + "name": "growthcraft_apples:apple_tree_leaves" + }, + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:survives_explosion" + }, + { + "chances": [ + 0.05, + 0.0625, + 0.083333336, + 0.1 + ], + "condition": "minecraft:table_bonus", + "enchantment": "minecraft:fortune" + } + ], + "name": "growthcraft_apples:apple_tree_sapling" + } + ] + } + ], + "rolls": 1.0 + }, + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:inverted", + "term": { + "condition": "minecraft:any_of", + "terms": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "items": [ + "minecraft:shears" + ] + } + }, + { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [ + { + "enchantment": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + ] + } + } + ], + "entries": [ + { + "type": "minecraft:item", + "conditions": [ + { + "chances": [ + 0.02, + 0.022222223, + 0.025, + 0.033333335, + 0.1 + ], + "condition": "minecraft:table_bonus", + "enchantment": "minecraft:fortune" + } + ], + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 2.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + }, + { + "function": "minecraft:explosion_decay" + } + ], + "name": "minecraft:stick" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft_apples:blocks/apple_tree_leaves" +} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_tree_sapling.json b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_tree_sapling.json similarity index 69% rename from src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_tree_sapling.json rename to src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_tree_sapling.json index 2ef6af26..5b1a3aef 100644 --- a/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_tree_sapling.json +++ b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_tree_sapling.json @@ -2,18 +2,20 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1, + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], "entries": [ { "type": "minecraft:item", "name": "growthcraft_apples:apple_tree_sapling" } ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] + "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft_apples:blocks/apple_tree_sapling" } \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_wood.json b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_wood.json new file mode 100644 index 00000000..2836819f --- /dev/null +++ b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_wood.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "growthcraft_apples:apple_wood" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft_apples:blocks/apple_wood" +} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_wood_log.json b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_wood_log.json similarity index 70% rename from src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_wood_log.json rename to src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_wood_log.json index 5ea5ed88..b25a4dbe 100644 --- a/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_wood_log.json +++ b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_wood_log.json @@ -2,18 +2,20 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1, + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], "entries": [ { "type": "minecraft:item", "name": "growthcraft_apples:apple_wood_log" } ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] + "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft_apples:blocks/apple_wood_log" } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_wood_log_stripped.json b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_wood_log_stripped.json similarity index 69% rename from src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_wood_log_stripped.json rename to src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_wood_log_stripped.json index bcd29760..7f134484 100644 --- a/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_wood_log_stripped.json +++ b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_wood_log_stripped.json @@ -2,18 +2,20 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1, + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], "entries": [ { "type": "minecraft:item", "name": "growthcraft_apples:apple_wood_log_stripped" } ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] + "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft_apples:blocks/apple_wood_log_stripped" } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_wood_stripped.json b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_wood_stripped.json similarity index 69% rename from src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_wood_stripped.json rename to src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_wood_stripped.json index 2bc859c0..83ed44a2 100644 --- a/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_wood_stripped.json +++ b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/apple_wood_stripped.json @@ -2,18 +2,20 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1, + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], "entries": [ { "type": "minecraft:item", "name": "growthcraft_apples:apple_wood_stripped" } ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] + "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft_apples:blocks/apple_wood_stripped" } \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/bee_box_apple.json b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/bee_box_apple.json new file mode 100644 index 00000000..33617f51 --- /dev/null +++ b/src/generated/resources/data/growthcraft_apples/loot_tables/blocks/bee_box_apple.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "growthcraft_apples:bee_box_apple" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft_apples:blocks/bee_box_apple" +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_apples/recipes/apple_plank.json b/src/generated/resources/data/growthcraft_apples/recipes/apple_plank.json new file mode 100644 index 00000000..72f285cd --- /dev/null +++ b/src/generated/resources/data/growthcraft_apples/recipes/apple_plank.json @@ -0,0 +1,14 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "building", + "group": "growthcraft_apples", + "ingredients": [ + { + "item": "growthcraft_apples:apple_wood_log" + } + ], + "result": { + "count": 4, + "item": "growthcraft_apples:apple_plank" + } +} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apples/recipes/apple_plank_button.json b/src/generated/resources/data/growthcraft_apples/recipes/apple_plank_button.json similarity index 89% rename from src/main/resources/data/growthcraft_apples/recipes/apple_plank_button.json rename to src/generated/resources/data/growthcraft_apples/recipes/apple_plank_button.json index 0d0f65b6..906425bc 100644 --- a/src/main/resources/data/growthcraft_apples/recipes/apple_plank_button.json +++ b/src/generated/resources/data/growthcraft_apples/recipes/apple_plank_button.json @@ -1,5 +1,6 @@ { "type": "minecraft:crafting_shapeless", + "category": "building", "group": "wooden_button", "ingredients": [ { diff --git a/src/main/resources/data/growthcraft_apples/recipes/apple_plank_door.json b/src/generated/resources/data/growthcraft_apples/recipes/apple_plank_door.json similarity index 53% rename from src/main/resources/data/growthcraft_apples/recipes/apple_plank_door.json rename to src/generated/resources/data/growthcraft_apples/recipes/apple_plank_door.json index f097eeff..19edd9db 100644 --- a/src/main/resources/data/growthcraft_apples/recipes/apple_plank_door.json +++ b/src/generated/resources/data/growthcraft_apples/recipes/apple_plank_door.json @@ -1,18 +1,20 @@ { "type": "minecraft:crafting_shaped", - "group": "wooden_door", - "pattern": [ - "##", - "##", - "##" - ], + "category": "building", + "group": "growthcraft_apples", "key": { "#": { "item": "growthcraft_apples:apple_plank" } }, + "pattern": [ + "##", + "##", + "##" + ], "result": { - "item": "growthcraft_apples:apple_plank_door", - "count": 3 - } + "count": 3, + "item": "growthcraft_apples:apple_plank_door" + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apples/recipes/apple_plank_fence.json b/src/generated/resources/data/growthcraft_apples/recipes/apple_plank_fence.json similarity index 58% rename from src/main/resources/data/growthcraft_apples/recipes/apple_plank_fence.json rename to src/generated/resources/data/growthcraft_apples/recipes/apple_plank_fence.json index e3165291..3bf42487 100644 --- a/src/main/resources/data/growthcraft_apples/recipes/apple_plank_fence.json +++ b/src/generated/resources/data/growthcraft_apples/recipes/apple_plank_fence.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "group": "wooden_fence", - "pattern": [ - "212", - "212" - ], + "category": "building", + "group": "growthcraft_apples", "key": { "1": { "item": "minecraft:stick" @@ -13,8 +10,13 @@ "item": "growthcraft_apples:apple_plank" } }, + "pattern": [ + "212", + "212" + ], "result": { - "item": "growthcraft_apples:apple_plank_fence", - "count": 3 - } + "count": 3, + "item": "growthcraft_apples:apple_plank_fence" + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apples/recipes/apple_plank_fence_gate.json b/src/generated/resources/data/growthcraft_apples/recipes/apple_plank_fence_gate.json similarity index 58% rename from src/main/resources/data/growthcraft_apples/recipes/apple_plank_fence_gate.json rename to src/generated/resources/data/growthcraft_apples/recipes/apple_plank_fence_gate.json index b1e64b4d..cbec9d64 100644 --- a/src/main/resources/data/growthcraft_apples/recipes/apple_plank_fence_gate.json +++ b/src/generated/resources/data/growthcraft_apples/recipes/apple_plank_fence_gate.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "group": "wooden_fence", - "pattern": [ - "121", - "121" - ], + "category": "building", + "group": "growthcraft_apples", "key": { "1": { "item": "minecraft:stick" @@ -13,8 +10,13 @@ "item": "growthcraft_apples:apple_plank" } }, + "pattern": [ + "121", + "121" + ], "result": { - "item": "growthcraft_apples:apple_plank_fence_gate", - "count": 3 - } + "count": 3, + "item": "growthcraft_apples:apple_plank_fence_gate" + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apples/recipes/apple_plank_pressure_plate.json b/src/generated/resources/data/growthcraft_apples/recipes/apple_plank_pressure_plate.json similarity index 70% rename from src/main/resources/data/growthcraft_apples/recipes/apple_plank_pressure_plate.json rename to src/generated/resources/data/growthcraft_apples/recipes/apple_plank_pressure_plate.json index d01198db..3957b51d 100644 --- a/src/main/resources/data/growthcraft_apples/recipes/apple_plank_pressure_plate.json +++ b/src/generated/resources/data/growthcraft_apples/recipes/apple_plank_pressure_plate.json @@ -1,15 +1,17 @@ { "type": "minecraft:crafting_shaped", - "group": "wooden_pressure_plate", - "pattern": [ - "##" - ], + "category": "building", + "group": "growthcraft_apples", "key": { "#": { "item": "growthcraft_apples:apple_plank" } }, + "pattern": [ + "##" + ], "result": { "item": "growthcraft_apples:apple_plank_pressure_plate" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apples/recipes/apple_plank_slab.json b/src/generated/resources/data/growthcraft_apples/recipes/apple_plank_slab.json similarity index 51% rename from src/main/resources/data/growthcraft_apples/recipes/apple_plank_slab.json rename to src/generated/resources/data/growthcraft_apples/recipes/apple_plank_slab.json index 46c628c7..52f41a45 100644 --- a/src/main/resources/data/growthcraft_apples/recipes/apple_plank_slab.json +++ b/src/generated/resources/data/growthcraft_apples/recipes/apple_plank_slab.json @@ -1,16 +1,18 @@ { "type": "minecraft:crafting_shaped", - "group": "wooden_slab", - "pattern": [ - "###" - ], + "category": "building", + "group": "growthcraft_apples", "key": { "#": { "item": "growthcraft_apples:apple_plank" } }, + "pattern": [ + "###" + ], "result": { - "item": "growthcraft_apples:apple_plank_slab", - "count": 6 - } + "count": 6, + "item": "growthcraft_apples:apple_plank_slab" + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apples/recipes/apple_plank_stairs.json b/src/generated/resources/data/growthcraft_apples/recipes/apple_plank_stairs.json similarity index 54% rename from src/main/resources/data/growthcraft_apples/recipes/apple_plank_stairs.json rename to src/generated/resources/data/growthcraft_apples/recipes/apple_plank_stairs.json index 49e8ee4a..6c005707 100644 --- a/src/main/resources/data/growthcraft_apples/recipes/apple_plank_stairs.json +++ b/src/generated/resources/data/growthcraft_apples/recipes/apple_plank_stairs.json @@ -1,18 +1,20 @@ { "type": "minecraft:crafting_shaped", - "group": "wooden_stairs", - "pattern": [ - "# ", - "## ", - "###" - ], + "category": "building", + "group": "growthcraft_apples", "key": { "#": { "item": "growthcraft_apples:apple_plank" } }, + "pattern": [ + "# ", + "## ", + "###" + ], "result": { - "item": "growthcraft_apples:apple_plank_stairs", - "count": 4 - } + "count": 4, + "item": "growthcraft_apples:apple_plank_stairs" + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apples/recipes/apple_plank_trapdoor.json b/src/generated/resources/data/growthcraft_apples/recipes/apple_plank_trapdoor.json similarity index 71% rename from src/main/resources/data/growthcraft_apples/recipes/apple_plank_trapdoor.json rename to src/generated/resources/data/growthcraft_apples/recipes/apple_plank_trapdoor.json index b469e5f0..9422ba36 100644 --- a/src/main/resources/data/growthcraft_apples/recipes/apple_plank_trapdoor.json +++ b/src/generated/resources/data/growthcraft_apples/recipes/apple_plank_trapdoor.json @@ -1,16 +1,18 @@ { "type": "minecraft:crafting_shaped", - "group": "wooden_pressure_plate", - "pattern": [ - "###", - "###" - ], + "category": "building", + "group": "growthcraft_apples", "key": { "#": { "item": "growthcraft_apples:apple_plank" } }, + "pattern": [ + "###", + "###" + ], "result": { "item": "growthcraft_apples:apple_plank_trapdoor" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apples/recipes/apple_seeds.json b/src/generated/resources/data/growthcraft_apples/recipes/apple_seeds.json similarity index 76% rename from src/main/resources/data/growthcraft_apples/recipes/apple_seeds.json rename to src/generated/resources/data/growthcraft_apples/recipes/apple_seeds.json index 46074068..49d8ce05 100644 --- a/src/main/resources/data/growthcraft_apples/recipes/apple_seeds.json +++ b/src/generated/resources/data/growthcraft_apples/recipes/apple_seeds.json @@ -1,6 +1,7 @@ { "type": "minecraft:crafting_shapeless", - "group": "seeds", + "category": "misc", + "group": "growthcraft_apples", "ingredients": [ { "item": "minecraft:apple" diff --git a/src/main/resources/data/growthcraft_apples/recipes/apple_wood.json b/src/generated/resources/data/growthcraft_apples/recipes/apple_wood.json similarity index 53% rename from src/main/resources/data/growthcraft_apples/recipes/apple_wood.json rename to src/generated/resources/data/growthcraft_apples/recipes/apple_wood.json index 0452d7c0..cdee126d 100644 --- a/src/main/resources/data/growthcraft_apples/recipes/apple_wood.json +++ b/src/generated/resources/data/growthcraft_apples/recipes/apple_wood.json @@ -1,17 +1,19 @@ { "type": "minecraft:crafting_shaped", - "group": "bark", - "pattern": [ - "##", - "##" - ], + "category": "building", + "group": "growthcraft_apples", "key": { "#": { "item": "growthcraft_apples:apple_wood_log" } }, + "pattern": [ + "##", + "##" + ], "result": { - "item": "growthcraft_apples:apple_wood", - "count": 3 - } + "count": 3, + "item": "growthcraft_apples:apple_wood" + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apples/recipes/bee_box_apple_plank.json b/src/generated/resources/data/growthcraft_apples/recipes/bee_box_apple.json similarity index 80% rename from src/main/resources/data/growthcraft_apples/recipes/bee_box_apple_plank.json rename to src/generated/resources/data/growthcraft_apples/recipes/bee_box_apple.json index 10ece1c9..c783fa60 100644 --- a/src/main/resources/data/growthcraft_apples/recipes/bee_box_apple_plank.json +++ b/src/generated/resources/data/growthcraft_apples/recipes/bee_box_apple.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "SPS", - "PBP", - "SPS" - ], + "category": "misc", + "group": "growthcraft_apples", "key": { "B": { "item": "growthcraft_apples:apple_plank_slab" @@ -16,7 +13,13 @@ "tag": "forge:rods/wooden" } }, + "pattern": [ + "SPS", + "PBP", + "SPS" + ], "result": { "item": "growthcraft_apples:bee_box_apple" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apples/tags/blocks/apple_wood_logs.json b/src/generated/resources/data/growthcraft_apples/tags/blocks/apple_wood_logs.json similarity index 52% rename from src/main/resources/data/growthcraft_apples/tags/blocks/apple_wood_logs.json rename to src/generated/resources/data/growthcraft_apples/tags/blocks/apple_wood_logs.json index 77b675fc..cf8d846a 100644 --- a/src/main/resources/data/growthcraft_apples/tags/blocks/apple_wood_logs.json +++ b/src/generated/resources/data/growthcraft_apples/tags/blocks/apple_wood_logs.json @@ -1,7 +1,6 @@ { - "replace": false, "values": [ "growthcraft_apples:apple_wood_log", - "growthcraft_apples:apple_wood" + "growthcraft_apples:apple_wood_log_stripped" ] } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apples/tags/items/apple_wood_logs.json b/src/generated/resources/data/growthcraft_apples/tags/items/apple_wood_logs.json similarity index 52% rename from src/main/resources/data/growthcraft_apples/tags/items/apple_wood_logs.json rename to src/generated/resources/data/growthcraft_apples/tags/items/apple_wood_logs.json index 77b675fc..cf8d846a 100644 --- a/src/main/resources/data/growthcraft_apples/tags/items/apple_wood_logs.json +++ b/src/generated/resources/data/growthcraft_apples/tags/items/apple_wood_logs.json @@ -1,7 +1,6 @@ { - "replace": false, "values": [ "growthcraft_apples:apple_wood_log", - "growthcraft_apples:apple_wood" + "growthcraft_apples:apple_wood_log_stripped" ] } \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_plank.json b/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_plank.json new file mode 100644 index 00000000..e99706b9 --- /dev/null +++ b/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_plank.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_bamboo:bamboo_wood_log" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_bamboo:bamboo_plank" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_bamboo:bamboo_plank" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_plank_button.json b/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_plank_button.json new file mode 100644 index 00000000..4882f307 --- /dev/null +++ b/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_plank_button.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_bamboo:bamboo_plank" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_bamboo:bamboo_plank_button" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_bamboo:bamboo_plank_button" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_plank_door.json b/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_plank_door.json new file mode 100644 index 00000000..268398e6 --- /dev/null +++ b/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_plank_door.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_bamboo:bamboo_plank" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_bamboo:bamboo_plank_door" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_bamboo:bamboo_plank_door" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_plank_fence.json b/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_plank_fence.json new file mode 100644 index 00000000..cc130cd0 --- /dev/null +++ b/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_plank_fence.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_bamboo:bamboo_plank" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_bamboo:bamboo_plank_fence" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_bamboo:bamboo_plank_fence" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_plank_fence_gate.json b/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_plank_fence_gate.json new file mode 100644 index 00000000..f8d2d44f --- /dev/null +++ b/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_plank_fence_gate.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_bamboo:bamboo_plank" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_bamboo:bamboo_plank_fence_gate" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_bamboo:bamboo_plank_fence_gate" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_plank_pressure_plate.json b/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_plank_pressure_plate.json new file mode 100644 index 00000000..a6fac098 --- /dev/null +++ b/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_plank_pressure_plate.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_bamboo:bamboo_plank" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_bamboo:bamboo_plank_pressure_plate" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_bamboo:bamboo_plank_pressure_plate" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_plank_slab.json b/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_plank_slab.json new file mode 100644 index 00000000..cc6ef43a --- /dev/null +++ b/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_plank_slab.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_bamboo:bamboo_plank" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_bamboo:bamboo_plank_slab" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_bamboo:bamboo_plank_slab" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_plank_stairs.json b/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_plank_stairs.json new file mode 100644 index 00000000..0445018f --- /dev/null +++ b/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_plank_stairs.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_bamboo:bamboo_plank" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_bamboo:bamboo_plank_stairs" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_bamboo:bamboo_plank_stairs" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_plank_trapdoor.json b/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_plank_trapdoor.json new file mode 100644 index 00000000..c5d5c901 --- /dev/null +++ b/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_plank_trapdoor.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_bamboo:bamboo_plank" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_bamboo:bamboo_plank_trapdoor" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_bamboo:bamboo_plank_trapdoor" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_wood.json b/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_wood.json new file mode 100644 index 00000000..14200562 --- /dev/null +++ b/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_wood.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_bamboo:bamboo_wood_log" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_bamboo:bamboo_wood" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_bamboo:bamboo_wood" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_wood_log.json b/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_wood_log.json new file mode 100644 index 00000000..fb9240b1 --- /dev/null +++ b/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bamboo_wood_log.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:bamboo" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_bamboo:bamboo_wood_log" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_bamboo:bamboo_wood_log" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bee_box_bamboo.json b/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bee_box_bamboo.json new file mode 100644 index 00000000..a30f45d2 --- /dev/null +++ b/src/generated/resources/data/growthcraft_bamboo/advancements/recipes/building_blocks/bee_box_bamboo.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_bamboo:bamboo_plank" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_bamboo:bee_box_bamboo" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_bamboo:bee_box_bamboo" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank.json b/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank.json new file mode 100644 index 00000000..12be7ac9 --- /dev/null +++ b/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "growthcraft_bamboo:bamboo_plank" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft_bamboo:blocks/bamboo_plank" +} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_button.json b/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_button.json similarity index 69% rename from src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_button.json rename to src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_button.json index 2d778217..40164f94 100644 --- a/src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_button.json +++ b/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_button.json @@ -2,18 +2,20 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1, + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], "entries": [ { "type": "minecraft:item", "name": "growthcraft_bamboo:bamboo_plank_button" } ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] + "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft_bamboo:blocks/bamboo_plank_button" } \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_door.json b/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_door.json new file mode 100644 index 00000000..349ba97a --- /dev/null +++ b/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_door.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "growthcraft_bamboo:bamboo_plank_door" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft_bamboo:blocks/bamboo_plank_door" +} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_fence.json b/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_fence.json similarity index 69% rename from src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_fence.json rename to src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_fence.json index 4dd85c8e..efda9e35 100644 --- a/src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_fence.json +++ b/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_fence.json @@ -2,18 +2,20 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1, + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], "entries": [ { "type": "minecraft:item", "name": "growthcraft_bamboo:bamboo_plank_fence" } ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] + "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft_bamboo:blocks/bamboo_plank_fence" } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_fence_gate.json b/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_fence_gate.json similarity index 69% rename from src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_fence_gate.json rename to src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_fence_gate.json index 71e10195..75228f63 100644 --- a/src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_fence_gate.json +++ b/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_fence_gate.json @@ -2,18 +2,20 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1, + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], "entries": [ { "type": "minecraft:item", "name": "growthcraft_bamboo:bamboo_plank_fence_gate" } ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] + "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft_bamboo:blocks/bamboo_plank_fence_gate" } \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_fence_rope_linen.json b/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_fence_rope_linen.json new file mode 100644 index 00000000..4ba3f37c --- /dev/null +++ b/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_fence_rope_linen.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:air" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft_bamboo:blocks/bamboo_plank_fence_rope_linen" +} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_pressure_plate.json b/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_pressure_plate.json similarity index 69% rename from src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_pressure_plate.json rename to src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_pressure_plate.json index d525f1ec..2e5dfcc6 100644 --- a/src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_pressure_plate.json +++ b/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_pressure_plate.json @@ -2,18 +2,20 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1, + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], "entries": [ { "type": "minecraft:item", "name": "growthcraft_bamboo:bamboo_plank_pressure_plate" } ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] + "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft_bamboo:blocks/bamboo_plank_pressure_plate" } \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_slab.json b/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_slab.json new file mode 100644 index 00000000..82c2b380 --- /dev/null +++ b/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_slab.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "growthcraft_bamboo:bamboo_plank_slab" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft_bamboo:blocks/bamboo_plank_slab" +} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_stairs.json b/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_stairs.json similarity index 69% rename from src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_stairs.json rename to src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_stairs.json index 30dc53e6..3880e4d4 100644 --- a/src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_stairs.json +++ b/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_stairs.json @@ -2,18 +2,20 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1, + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], "entries": [ { "type": "minecraft:item", "name": "growthcraft_bamboo:bamboo_plank_stairs" } ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] + "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft_bamboo:blocks/bamboo_plank_stairs" } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_trapdoor.json b/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_trapdoor.json similarity index 69% rename from src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_trapdoor.json rename to src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_trapdoor.json index 805c2b76..13c45e84 100644 --- a/src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_trapdoor.json +++ b/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_trapdoor.json @@ -2,18 +2,20 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1, + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], "entries": [ { "type": "minecraft:item", "name": "growthcraft_bamboo:bamboo_plank_trapdoor" } ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] + "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft_bamboo:blocks/bamboo_plank_trapdoor" } \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_wood.json b/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_wood.json new file mode 100644 index 00000000..ea733fc5 --- /dev/null +++ b/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_wood.json @@ -0,0 +1,21 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "growthcraft_bamboo:bamboo_wood" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft_bamboo:blocks/bamboo_wood" +} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_wood_log.json b/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_wood_log.json similarity index 70% rename from src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_wood_log.json rename to src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_wood_log.json index b74115c4..eda9bf4d 100644 --- a/src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_wood_log.json +++ b/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_wood_log.json @@ -2,18 +2,20 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1, + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], "entries": [ { "type": "minecraft:item", "name": "growthcraft_bamboo:bamboo_wood_log" } ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] + "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft_bamboo:blocks/bamboo_wood_log" } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_wood_log_stripped.json b/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_wood_log_stripped.json similarity index 69% rename from src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_wood_log_stripped.json rename to src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_wood_log_stripped.json index 07e6afb6..c7edd517 100644 --- a/src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_wood_log_stripped.json +++ b/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_wood_log_stripped.json @@ -2,18 +2,20 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1, + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], "entries": [ { "type": "minecraft:item", "name": "growthcraft_bamboo:bamboo_wood_log_stripped" } ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] + "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft_bamboo:blocks/bamboo_wood_log_stripped" } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_wood_stripped.json b/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_wood_stripped.json similarity index 69% rename from src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_wood_stripped.json rename to src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_wood_stripped.json index dd6ff8b8..40e30a0a 100644 --- a/src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_wood_stripped.json +++ b/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_wood_stripped.json @@ -2,18 +2,20 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1, + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], "entries": [ { "type": "minecraft:item", "name": "growthcraft_bamboo:bamboo_wood_stripped" } ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] + "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft_bamboo:blocks/bamboo_wood_stripped" } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bee_box_bamboo.json b/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bee_box_bamboo.json similarity index 70% rename from src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bee_box_bamboo.json rename to src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bee_box_bamboo.json index 6d9e3e76..30bea0a8 100644 --- a/src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bee_box_bamboo.json +++ b/src/generated/resources/data/growthcraft_bamboo/loot_tables/blocks/bee_box_bamboo.json @@ -2,18 +2,20 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1, + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], "entries": [ { "type": "minecraft:item", "name": "growthcraft_bamboo:bee_box_bamboo" } ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] + "rolls": 1.0 } - ] + ], + "random_sequence": "growthcraft_bamboo:blocks/bee_box_bamboo" } \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_plank.json b/src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_plank.json new file mode 100644 index 00000000..91894a9d --- /dev/null +++ b/src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_plank.json @@ -0,0 +1,14 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "building", + "group": "growthcraft_bamboo", + "ingredients": [ + { + "item": "growthcraft_bamboo:bamboo_wood_log" + } + ], + "result": { + "count": 4, + "item": "growthcraft_bamboo:bamboo_plank" + } +} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_bamboo/recipes/bamboo_plank_button.json b/src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_plank_button.json similarity index 89% rename from src/main/resources/data/growthcraft_bamboo/recipes/bamboo_plank_button.json rename to src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_plank_button.json index b0b7ca21..5f8f433a 100644 --- a/src/main/resources/data/growthcraft_bamboo/recipes/bamboo_plank_button.json +++ b/src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_plank_button.json @@ -1,5 +1,6 @@ { "type": "minecraft:crafting_shapeless", + "category": "building", "group": "wooden_button", "ingredients": [ { diff --git a/src/main/resources/data/growthcraft_bamboo/recipes/bamboo_plank_door.json b/src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_plank_door.json similarity index 53% rename from src/main/resources/data/growthcraft_bamboo/recipes/bamboo_plank_door.json rename to src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_plank_door.json index d1162121..bbabc5d3 100644 --- a/src/main/resources/data/growthcraft_bamboo/recipes/bamboo_plank_door.json +++ b/src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_plank_door.json @@ -1,18 +1,20 @@ { "type": "minecraft:crafting_shaped", - "group": "wooden_door", - "pattern": [ - "##", - "##", - "##" - ], + "category": "building", + "group": "growthcraft_bamboo", "key": { "#": { "item": "growthcraft_bamboo:bamboo_plank" } }, + "pattern": [ + "##", + "##", + "##" + ], "result": { - "item": "growthcraft_bamboo:bamboo_plank_door", - "count": 3 - } + "count": 3, + "item": "growthcraft_bamboo:bamboo_plank_door" + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_bamboo/recipes/bamboo_plank_fence.json b/src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_plank_fence.json similarity index 58% rename from src/main/resources/data/growthcraft_bamboo/recipes/bamboo_plank_fence.json rename to src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_plank_fence.json index 5fd3c908..e5b93c23 100644 --- a/src/main/resources/data/growthcraft_bamboo/recipes/bamboo_plank_fence.json +++ b/src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_plank_fence.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "group": "wooden_fence", - "pattern": [ - "212", - "212" - ], + "category": "building", + "group": "growthcraft_bamboo", "key": { "1": { "item": "minecraft:stick" @@ -13,8 +10,13 @@ "item": "growthcraft_bamboo:bamboo_plank" } }, + "pattern": [ + "212", + "212" + ], "result": { - "item": "growthcraft_bamboo:bamboo_plank_fence", - "count": 3 - } + "count": 3, + "item": "growthcraft_bamboo:bamboo_plank_fence" + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_bamboo/recipes/bamboo_plank_fence_gate.json b/src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_plank_fence_gate.json similarity index 58% rename from src/main/resources/data/growthcraft_bamboo/recipes/bamboo_plank_fence_gate.json rename to src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_plank_fence_gate.json index b48a47f2..73a65d05 100644 --- a/src/main/resources/data/growthcraft_bamboo/recipes/bamboo_plank_fence_gate.json +++ b/src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_plank_fence_gate.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "group": "wooden_fence", - "pattern": [ - "121", - "121" - ], + "category": "building", + "group": "growthcraft_bamboo", "key": { "1": { "item": "minecraft:stick" @@ -13,8 +10,13 @@ "item": "growthcraft_bamboo:bamboo_plank" } }, + "pattern": [ + "121", + "121" + ], "result": { - "item": "growthcraft_bamboo:bamboo_plank_fence_gate", - "count": 3 - } + "count": 3, + "item": "growthcraft_bamboo:bamboo_plank_fence_gate" + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_bamboo/recipes/bamboo_plank_pressure_plate.json b/src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_plank_pressure_plate.json similarity index 71% rename from src/main/resources/data/growthcraft_bamboo/recipes/bamboo_plank_pressure_plate.json rename to src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_plank_pressure_plate.json index afddeed9..19a65733 100644 --- a/src/main/resources/data/growthcraft_bamboo/recipes/bamboo_plank_pressure_plate.json +++ b/src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_plank_pressure_plate.json @@ -1,15 +1,17 @@ { "type": "minecraft:crafting_shaped", - "group": "wooden_pressure_plate", - "pattern": [ - "##" - ], + "category": "building", + "group": "growthcraft_bamboo", "key": { "#": { "item": "growthcraft_bamboo:bamboo_plank" } }, + "pattern": [ + "##" + ], "result": { "item": "growthcraft_bamboo:bamboo_plank_pressure_plate" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_bamboo/recipes/bamboo_plank_slab.json b/src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_plank_slab.json similarity index 51% rename from src/main/resources/data/growthcraft_bamboo/recipes/bamboo_plank_slab.json rename to src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_plank_slab.json index 1420ac94..1c8af87b 100644 --- a/src/main/resources/data/growthcraft_bamboo/recipes/bamboo_plank_slab.json +++ b/src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_plank_slab.json @@ -1,16 +1,18 @@ { "type": "minecraft:crafting_shaped", - "group": "wooden_slab", - "pattern": [ - "###" - ], + "category": "building", + "group": "growthcraft_bamboo", "key": { "#": { "item": "growthcraft_bamboo:bamboo_plank" } }, + "pattern": [ + "###" + ], "result": { - "item": "growthcraft_bamboo:bamboo_plank_slab", - "count": 6 - } + "count": 6, + "item": "growthcraft_bamboo:bamboo_plank_slab" + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_bamboo/recipes/bamboo_plank_stairs.json b/src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_plank_stairs.json similarity index 54% rename from src/main/resources/data/growthcraft_bamboo/recipes/bamboo_plank_stairs.json rename to src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_plank_stairs.json index ac48b8c5..0cecddeb 100644 --- a/src/main/resources/data/growthcraft_bamboo/recipes/bamboo_plank_stairs.json +++ b/src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_plank_stairs.json @@ -1,18 +1,20 @@ { "type": "minecraft:crafting_shaped", - "group": "wooden_stairs", - "pattern": [ - "# ", - "## ", - "###" - ], + "category": "building", + "group": "growthcraft_bamboo", "key": { "#": { "item": "growthcraft_bamboo:bamboo_plank" } }, + "pattern": [ + "# ", + "## ", + "###" + ], "result": { - "item": "growthcraft_bamboo:bamboo_plank_stairs", - "count": 4 - } + "count": 4, + "item": "growthcraft_bamboo:bamboo_plank_stairs" + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_bamboo/recipes/bamboo_plank_trapdoor.json b/src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_plank_trapdoor.json similarity index 71% rename from src/main/resources/data/growthcraft_bamboo/recipes/bamboo_plank_trapdoor.json rename to src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_plank_trapdoor.json index 0dd11dd3..bf424386 100644 --- a/src/main/resources/data/growthcraft_bamboo/recipes/bamboo_plank_trapdoor.json +++ b/src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_plank_trapdoor.json @@ -1,16 +1,18 @@ { "type": "minecraft:crafting_shaped", - "group": "wooden_pressure_plate", - "pattern": [ - "###", - "###" - ], + "category": "building", + "group": "growthcraft_bamboo", "key": { "#": { "item": "growthcraft_bamboo:bamboo_plank" } }, + "pattern": [ + "###", + "###" + ], "result": { "item": "growthcraft_bamboo:bamboo_plank_trapdoor" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_bamboo/recipes/bamboo_wood.json b/src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_wood.json similarity index 53% rename from src/main/resources/data/growthcraft_bamboo/recipes/bamboo_wood.json rename to src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_wood.json index 7481e8fc..dfc3b652 100644 --- a/src/main/resources/data/growthcraft_bamboo/recipes/bamboo_wood.json +++ b/src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_wood.json @@ -1,17 +1,19 @@ { "type": "minecraft:crafting_shaped", - "group": "bark", - "pattern": [ - "##", - "##" - ], + "category": "building", + "group": "growthcraft_bamboo", "key": { "#": { "item": "growthcraft_bamboo:bamboo_wood_log" } }, + "pattern": [ + "##", + "##" + ], "result": { - "item": "growthcraft_bamboo:bamboo_wood", - "count": 3 - } + "count": 3, + "item": "growthcraft_bamboo:bamboo_wood" + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_wood_log.json b/src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_wood_log.json new file mode 100644 index 00000000..57567e22 --- /dev/null +++ b/src/generated/resources/data/growthcraft_bamboo/recipes/bamboo_wood_log.json @@ -0,0 +1,9 @@ +{ + "type": "minecraft:stonecutting", + "count": 1, + "group": "growthcraft_bamboo", + "ingredient": { + "item": "minecraft:bamboo" + }, + "result": "growthcraft_bamboo:bamboo_wood_log" +} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_bamboo/recipes/bee_box_bamboo.json b/src/generated/resources/data/growthcraft_bamboo/recipes/bee_box_bamboo.json similarity index 79% rename from src/main/resources/data/growthcraft_bamboo/recipes/bee_box_bamboo.json rename to src/generated/resources/data/growthcraft_bamboo/recipes/bee_box_bamboo.json index 5539d7c7..3d2974d1 100644 --- a/src/main/resources/data/growthcraft_bamboo/recipes/bee_box_bamboo.json +++ b/src/generated/resources/data/growthcraft_bamboo/recipes/bee_box_bamboo.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "SPS", - "PBP", - "SPS" - ], + "category": "building", + "group": "growthcraft_bamboo", "key": { "B": { "item": "growthcraft_bamboo:bamboo_plank_slab" @@ -16,7 +13,13 @@ "tag": "forge:rods/wooden" } }, + "pattern": [ + "SPS", + "PBP", + "SPS" + ], "result": { "item": "growthcraft_bamboo:bee_box_bamboo" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_bamboo/tags/blocks/bamboo_wood.json b/src/generated/resources/data/growthcraft_bamboo/tags/blocks/bamboo_wood.json new file mode 100644 index 00000000..f321379c --- /dev/null +++ b/src/generated/resources/data/growthcraft_bamboo/tags/blocks/bamboo_wood.json @@ -0,0 +1,8 @@ +{ + "values": [ + "growthcraft_bamboo:bamboo_wood_log", + "growthcraft_bamboo:bamboo_wood", + "growthcraft_bamboo:bamboo_wood_stripped", + "growthcraft_bamboo:bamboo_wood_log_stripped" + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_bamboo/tags/blocks/bamboo_wood_logs.json b/src/generated/resources/data/growthcraft_bamboo/tags/blocks/bamboo_wood_logs.json new file mode 100644 index 00000000..6d513346 --- /dev/null +++ b/src/generated/resources/data/growthcraft_bamboo/tags/blocks/bamboo_wood_logs.json @@ -0,0 +1,7 @@ +{ + "values": [ + "growthcraft_bamboo:bamboo_wood_log", + "growthcraft_bamboo:bamboo_wood", + "growthcraft_bamboo:bamboo_wood_log_stripped" + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_bamboo/tags/items/bamboo_wood.json b/src/generated/resources/data/growthcraft_bamboo/tags/items/bamboo_wood.json new file mode 100644 index 00000000..f321379c --- /dev/null +++ b/src/generated/resources/data/growthcraft_bamboo/tags/items/bamboo_wood.json @@ -0,0 +1,8 @@ +{ + "values": [ + "growthcraft_bamboo:bamboo_wood_log", + "growthcraft_bamboo:bamboo_wood", + "growthcraft_bamboo:bamboo_wood_stripped", + "growthcraft_bamboo:bamboo_wood_log_stripped" + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_bamboo/tags/items/bamboo_wood_logs.json b/src/generated/resources/data/growthcraft_bamboo/tags/items/bamboo_wood_logs.json new file mode 100644 index 00000000..6d513346 --- /dev/null +++ b/src/generated/resources/data/growthcraft_bamboo/tags/items/bamboo_wood_logs.json @@ -0,0 +1,7 @@ +{ + "values": [ + "growthcraft_bamboo:bamboo_wood_log", + "growthcraft_bamboo:bamboo_wood", + "growthcraft_bamboo:bamboo_wood_log_stripped" + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_cellar/advancements/recipes/food/grain.json b/src/generated/resources/data/growthcraft_cellar/advancements/recipes/food/grain.json new file mode 100644 index 00000000..d5da398b --- /dev/null +++ b/src/generated/resources/data/growthcraft_cellar/advancements/recipes/food/grain.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:wheat" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_cellar:grain" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_cellar:grain" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_cellar/advancements/recipes/misc/brew_kettle.json b/src/generated/resources/data/growthcraft_cellar/advancements/recipes/misc/brew_kettle.json new file mode 100644 index 00000000..ff199c9a --- /dev/null +++ b/src/generated/resources/data/growthcraft_cellar/advancements/recipes/misc/brew_kettle.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:cauldron" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_cellar:brew_kettle" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_cellar:brew_kettle" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_cellar/advancements/recipes/misc/brew_kettle_lid.json b/src/generated/resources/data/growthcraft_cellar/advancements/recipes/misc/brew_kettle_lid.json new file mode 100644 index 00000000..ccf87202 --- /dev/null +++ b/src/generated/resources/data/growthcraft_cellar/advancements/recipes/misc/brew_kettle_lid.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:iron_ingot" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_cellar:brew_kettle_lid" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_cellar:brew_kettle_lid" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_cellar/advancements/recipes/misc/culture_jar.json b/src/generated/resources/data/growthcraft_cellar/advancements/recipes/misc/culture_jar.json new file mode 100644 index 00000000..7a3706da --- /dev/null +++ b/src/generated/resources/data/growthcraft_cellar/advancements/recipes/misc/culture_jar.json @@ -0,0 +1,33 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "tag": "minecraft:planks" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_cellar:culture_jar" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_cellar:culture_jar" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_cellar/advancements/recipes/misc/fermentation_barrel_oak.json b/src/generated/resources/data/growthcraft_cellar/advancements/recipes/misc/fermentation_barrel_oak.json new file mode 100644 index 00000000..b2513cfe --- /dev/null +++ b/src/generated/resources/data/growthcraft_cellar/advancements/recipes/misc/fermentation_barrel_oak.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:oak_planks" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_cellar:fermentation_barrel_oak" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_cellar:fermentation_barrel_oak" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_cellar/advancements/recipes/misc/fruit_press.json b/src/generated/resources/data/growthcraft_cellar/advancements/recipes/misc/fruit_press.json new file mode 100644 index 00000000..d1d62ead --- /dev/null +++ b/src/generated/resources/data/growthcraft_cellar/advancements/recipes/misc/fruit_press.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:piston" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_cellar:fruit_press" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_cellar:fruit_press" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_cellar/advancements/recipes/misc/roaster.json b/src/generated/resources/data/growthcraft_cellar/advancements/recipes/misc/roaster.json new file mode 100644 index 00000000..14eb0dc0 --- /dev/null +++ b/src/generated/resources/data/growthcraft_cellar/advancements/recipes/misc/roaster.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_cellar:brew_kettle" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_cellar:roaster" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_cellar:roaster" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_cellar/loot_tables/blocks/brew_kettle.json b/src/generated/resources/data/growthcraft_cellar/loot_tables/blocks/brew_kettle.json new file mode 100644 index 00000000..e721e701 --- /dev/null +++ b/src/generated/resources/data/growthcraft_cellar/loot_tables/blocks/brew_kettle.json @@ -0,0 +1,65 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:copy_name", + "source": "block_entity" + }, + { + "function": "minecraft:copy_nbt", + "ops": [ + { + "op": "replace", + "source": "inventory", + "target": "BlockEntityTag.inventory" + } + ], + "source": "block_entity" + }, + { + "function": "minecraft:copy_nbt", + "ops": [ + { + "op": "replace", + "source": "fluid_tank_input_0", + "target": "BlockEntityTag.fluid_tank_input_0" + } + ], + "source": "block_entity" + }, + { + "function": "minecraft:copy_nbt", + "ops": [ + { + "op": "replace", + "source": "fluid_tank_output_0", + "target": "BlockEntityTag.fluid_tank_output_0" + } + ], + "source": "block_entity" + }, + { + "type": "growthcraft_cellar:brew_kettle", + "entries": [ + { + "type": "minecraft:dynamic", + "name": "minecraft:contents" + } + ], + "function": "minecraft:set_contents" + } + ], + "name": "growthcraft_cellar:brew_kettle" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft_cellar:blocks/brew_kettle" +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_cellar/loot_tables/blocks/culture_jar.json b/src/generated/resources/data/growthcraft_cellar/loot_tables/blocks/culture_jar.json new file mode 100644 index 00000000..0703ed1d --- /dev/null +++ b/src/generated/resources/data/growthcraft_cellar/loot_tables/blocks/culture_jar.json @@ -0,0 +1,43 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:copy_name", + "source": "block_entity" + }, + { + "function": "minecraft:copy_nbt", + "ops": [ + { + "op": "replace", + "source": "fluid_tank_input_0", + "target": "BlockEntityTag.fluid_tank_input_0" + } + ], + "source": "block_entity" + }, + { + "type": "growthcraft_cellar:culture_jar", + "entries": [ + { + "type": "minecraft:dynamic", + "name": "minecraft:contents" + } + ], + "function": "minecraft:set_contents" + } + ], + "name": "growthcraft_cellar:culture_jar" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft_cellar:blocks/culture_jar" +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_cellar/loot_tables/blocks/fermentation_barrel_oak.json b/src/generated/resources/data/growthcraft_cellar/loot_tables/blocks/fermentation_barrel_oak.json new file mode 100644 index 00000000..dbd76524 --- /dev/null +++ b/src/generated/resources/data/growthcraft_cellar/loot_tables/blocks/fermentation_barrel_oak.json @@ -0,0 +1,43 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:copy_name", + "source": "block_entity" + }, + { + "function": "minecraft:copy_nbt", + "ops": [ + { + "op": "replace", + "source": "fluid_tank_input_0", + "target": "BlockEntityTag.fluid_tank_input_0" + } + ], + "source": "block_entity" + }, + { + "type": "growthcraft_cellar:fermentation_barrel", + "entries": [ + { + "type": "minecraft:dynamic", + "name": "minecraft:contents" + } + ], + "function": "minecraft:set_contents" + } + ], + "name": "growthcraft_cellar:fermentation_barrel_oak" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft_cellar:blocks/fermentation_barrel_oak" +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_cellar/loot_tables/blocks/fruit_press.json b/src/generated/resources/data/growthcraft_cellar/loot_tables/blocks/fruit_press.json new file mode 100644 index 00000000..a80c134a --- /dev/null +++ b/src/generated/resources/data/growthcraft_cellar/loot_tables/blocks/fruit_press.json @@ -0,0 +1,43 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:copy_name", + "source": "block_entity" + }, + { + "function": "minecraft:copy_nbt", + "ops": [ + { + "op": "replace", + "source": "fluid_tank_input_0", + "target": "BlockEntityTag.fluid_tank_input_0" + } + ], + "source": "block_entity" + }, + { + "type": "growthcraft_cellar:fruit_press", + "entries": [ + { + "type": "minecraft:dynamic", + "name": "minecraft:contents" + } + ], + "function": "minecraft:set_contents" + } + ], + "name": "growthcraft_cellar:fruit_press" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft_cellar:blocks/fruit_press" +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_cellar/loot_tables/blocks/fruit_press_piston.json b/src/generated/resources/data/growthcraft_cellar/loot_tables/blocks/fruit_press_piston.json new file mode 100644 index 00000000..2de28515 --- /dev/null +++ b/src/generated/resources/data/growthcraft_cellar/loot_tables/blocks/fruit_press_piston.json @@ -0,0 +1,43 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:copy_name", + "source": "block_entity" + }, + { + "function": "minecraft:copy_nbt", + "ops": [ + { + "op": "replace", + "source": "fluid_tank_input_0", + "target": "BlockEntityTag.fluid_tank_input_0" + } + ], + "source": "block_entity" + }, + { + "type": "growthcraft_cellar:fruit_press", + "entries": [ + { + "type": "minecraft:dynamic", + "name": "minecraft:contents" + } + ], + "function": "minecraft:set_contents" + } + ], + "name": "minecraft:air" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft_cellar:blocks/fruit_press_piston" +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_cellar/loot_tables/blocks/purple_grape_vine_leaves.json b/src/generated/resources/data/growthcraft_cellar/loot_tables/blocks/purple_grape_vine_leaves.json new file mode 100644 index 00000000..43bb9a0c --- /dev/null +++ b/src/generated/resources/data/growthcraft_cellar/loot_tables/blocks/purple_grape_vine_leaves.json @@ -0,0 +1,80 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:any_of", + "terms": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "items": [ + "minecraft:shears" + ] + } + }, + { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [ + { + "enchantment": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + ] + } + ], + "name": "minecraft:air" + }, + { + "type": "minecraft:item", + "conditions": [ + { + "chances": [ + 0.02, + 0.022222223, + 0.025, + 0.033333335, + 0.1 + ], + "condition": "minecraft:table_bonus", + "enchantment": "minecraft:fortune" + } + ], + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 2.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + }, + { + "function": "minecraft:explosion_decay" + } + ], + "name": "minecraft:stick" + } + ] + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft_cellar:blocks/purple_grape_vine_leaves" +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_cellar/loot_tables/blocks/red_grape_vine_leaves.json b/src/generated/resources/data/growthcraft_cellar/loot_tables/blocks/red_grape_vine_leaves.json new file mode 100644 index 00000000..2543f9e0 --- /dev/null +++ b/src/generated/resources/data/growthcraft_cellar/loot_tables/blocks/red_grape_vine_leaves.json @@ -0,0 +1,80 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:any_of", + "terms": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "items": [ + "minecraft:shears" + ] + } + }, + { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [ + { + "enchantment": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + ] + } + ], + "name": "minecraft:air" + }, + { + "type": "minecraft:item", + "conditions": [ + { + "chances": [ + 0.02, + 0.022222223, + 0.025, + 0.033333335, + 0.1 + ], + "condition": "minecraft:table_bonus", + "enchantment": "minecraft:fortune" + } + ], + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 2.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + }, + { + "function": "minecraft:explosion_decay" + } + ], + "name": "minecraft:stick" + } + ] + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft_cellar:blocks/red_grape_vine_leaves" +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_cellar/loot_tables/blocks/roaster.json b/src/generated/resources/data/growthcraft_cellar/loot_tables/blocks/roaster.json new file mode 100644 index 00000000..8601709f --- /dev/null +++ b/src/generated/resources/data/growthcraft_cellar/loot_tables/blocks/roaster.json @@ -0,0 +1,43 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:copy_name", + "source": "block_entity" + }, + { + "function": "minecraft:copy_nbt", + "ops": [ + { + "op": "replace", + "source": "inventory", + "target": "BlockEntityTag.inventory" + } + ], + "source": "block_entity" + }, + { + "type": "growthcraft_cellar:roaster", + "entries": [ + { + "type": "minecraft:dynamic", + "name": "minecraft:contents" + } + ], + "function": "minecraft:set_contents" + } + ], + "name": "growthcraft_cellar:roaster" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft_cellar:blocks/roaster" +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_cellar/loot_tables/blocks/white_grape_vine_leaves.json b/src/generated/resources/data/growthcraft_cellar/loot_tables/blocks/white_grape_vine_leaves.json new file mode 100644 index 00000000..05c0c59c --- /dev/null +++ b/src/generated/resources/data/growthcraft_cellar/loot_tables/blocks/white_grape_vine_leaves.json @@ -0,0 +1,80 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:any_of", + "terms": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "items": [ + "minecraft:shears" + ] + } + }, + { + "condition": "minecraft:match_tool", + "predicate": { + "enchantments": [ + { + "enchantment": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + ] + } + ], + "name": "minecraft:air" + }, + { + "type": "minecraft:item", + "conditions": [ + { + "chances": [ + 0.02, + 0.022222223, + 0.025, + 0.033333335, + 0.1 + ], + "condition": "minecraft:table_bonus", + "enchantment": "minecraft:fortune" + } + ], + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 2.0, + "min": 1.0 + }, + "function": "minecraft:set_count" + }, + { + "function": "minecraft:explosion_decay" + } + ], + "name": "minecraft:stick" + } + ] + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft_cellar:blocks/white_grape_vine_leaves" +} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_cellar/recipes/brew_kettle.json b/src/generated/resources/data/growthcraft_cellar/recipes/brew_kettle.json similarity index 76% rename from src/main/resources/data/growthcraft_cellar/recipes/brew_kettle.json rename to src/generated/resources/data/growthcraft_cellar/recipes/brew_kettle.json index 916e0564..c25ab05d 100644 --- a/src/main/resources/data/growthcraft_cellar/recipes/brew_kettle.json +++ b/src/generated/resources/data/growthcraft_cellar/recipes/brew_kettle.json @@ -1,5 +1,7 @@ { "type": "minecraft:crafting_shapeless", + "category": "misc", + "group": "growthcraft_cellar", "ingredients": [ { "item": "minecraft:cauldron" diff --git a/src/main/resources/data/growthcraft_cellar/recipes/brew_kettle_lid.json b/src/generated/resources/data/growthcraft_cellar/recipes/brew_kettle_lid.json similarity index 75% rename from src/main/resources/data/growthcraft_cellar/recipes/brew_kettle_lid.json rename to src/generated/resources/data/growthcraft_cellar/recipes/brew_kettle_lid.json index ddda8604..62e48f83 100644 --- a/src/main/resources/data/growthcraft_cellar/recipes/brew_kettle_lid.json +++ b/src/generated/resources/data/growthcraft_cellar/recipes/brew_kettle_lid.json @@ -1,9 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - " i ", - "III" - ], + "category": "misc", + "group": "growthcraft_cellar", "key": { "I": { "tag": "forge:ingots/iron" @@ -12,7 +10,12 @@ "tag": "forge:nuggets/iron" } }, + "pattern": [ + " i ", + "III" + ], "result": { "item": "growthcraft_cellar:brew_kettle_lid" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_cellar/recipes/culture_jar.json b/src/generated/resources/data/growthcraft_cellar/recipes/culture_jar.json similarity index 75% rename from src/main/resources/data/growthcraft_cellar/recipes/culture_jar.json rename to src/generated/resources/data/growthcraft_cellar/recipes/culture_jar.json index 17ec841c..db3fc910 100644 --- a/src/main/resources/data/growthcraft_cellar/recipes/culture_jar.json +++ b/src/generated/resources/data/growthcraft_cellar/recipes/culture_jar.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "BAB", - "B B", - "BBB" - ], + "category": "misc", + "group": "growthcraft_cellar", "key": { "A": { "tag": "minecraft:planks" @@ -13,7 +10,13 @@ "tag": "forge:glass_panes" } }, + "pattern": [ + "BAB", + "B B", + "BBB" + ], "result": { "item": "growthcraft_cellar:culture_jar" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_cellar/recipes/fermentation_barrel_oak.json b/src/generated/resources/data/growthcraft_cellar/recipes/fermentation_barrel_oak.json similarity index 66% rename from src/main/resources/data/growthcraft_cellar/recipes/fermentation_barrel_oak.json rename to src/generated/resources/data/growthcraft_cellar/recipes/fermentation_barrel_oak.json index b370340e..bd6510d5 100644 --- a/src/main/resources/data/growthcraft_cellar/recipes/fermentation_barrel_oak.json +++ b/src/generated/resources/data/growthcraft_cellar/recipes/fermentation_barrel_oak.json @@ -1,19 +1,22 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "AAA", - "BBB", - "AAA" - ], + "category": "misc", + "group": "growthcraft_cellar", "key": { - "B": { - "tag": "minecraft:planks" - }, "A": { "tag": "forge:ingots/iron" + }, + "B": { + "item": "minecraft:oak_planks" } }, + "pattern": [ + "AAA", + "BBB", + "AAA" + ], "result": { "item": "growthcraft_cellar:fermentation_barrel_oak" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_cellar/recipes/fruit_press.json b/src/generated/resources/data/growthcraft_cellar/recipes/fruit_press.json similarity index 74% rename from src/main/resources/data/growthcraft_cellar/recipes/fruit_press.json rename to src/generated/resources/data/growthcraft_cellar/recipes/fruit_press.json index 87580c04..dbec4c65 100644 --- a/src/main/resources/data/growthcraft_cellar/recipes/fruit_press.json +++ b/src/generated/resources/data/growthcraft_cellar/recipes/fruit_press.json @@ -1,13 +1,10 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "ABA", - "CCC", - "DDD" - ], + "category": "misc", + "group": "growthcraft_cellar", "key": { "A": { - "tag": "minecraft:fences" + "tag": "forge:fences" }, "B": { "item": "minecraft:piston" @@ -19,7 +16,13 @@ "tag": "minecraft:planks" } }, + "pattern": [ + "ABA", + "CCC", + "DDD" + ], "result": { "item": "growthcraft_cellar:fruit_press" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_cellar/recipes/grain.json b/src/generated/resources/data/growthcraft_cellar/recipes/grain.json similarity index 51% rename from src/main/resources/data/growthcraft_cellar/recipes/grain.json rename to src/generated/resources/data/growthcraft_cellar/recipes/grain.json index 96854777..11ee8a50 100644 --- a/src/main/resources/data/growthcraft_cellar/recipes/grain.json +++ b/src/generated/resources/data/growthcraft_cellar/recipes/grain.json @@ -1,8 +1,9 @@ { "type": "minecraft:stonecutting", + "count": 1, + "group": "growthcraft_cellar", "ingredient": { "item": "minecraft:wheat" }, - "result": "growthcraft_cellar:grain", - "count": 1 + "result": "growthcraft_cellar:grain" } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_cellar/recipes/roaster.json b/src/generated/resources/data/growthcraft_cellar/recipes/roaster.json similarity index 76% rename from src/main/resources/data/growthcraft_cellar/recipes/roaster.json rename to src/generated/resources/data/growthcraft_cellar/recipes/roaster.json index f8836d14..1ff8b364 100644 --- a/src/main/resources/data/growthcraft_cellar/recipes/roaster.json +++ b/src/generated/resources/data/growthcraft_cellar/recipes/roaster.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - " I ", - " B ", - "I I" - ], + "category": "misc", + "group": "growthcraft_cellar", "key": { "B": { "item": "growthcraft_cellar:brew_kettle" @@ -13,7 +10,13 @@ "tag": "forge:ingots/iron" } }, + "pattern": [ + " I ", + " B ", + "I I" + ], "result": { "item": "growthcraft_cellar:roaster" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_cellar/tags/items/grain.json b/src/generated/resources/data/growthcraft_cellar/tags/items/grain.json new file mode 100644 index 00000000..1a6a370f --- /dev/null +++ b/src/generated/resources/data/growthcraft_cellar/tags/items/grain.json @@ -0,0 +1,13 @@ +{ + "values": [ + "growthcraft_cellar:grain", + "growthcraft_cellar:grain_amber", + "growthcraft_cellar:grain_brown", + "growthcraft_cellar:grain_copper", + "growthcraft_cellar:grain_dark", + "growthcraft_cellar:grain_deep_amber", + "growthcraft_cellar:grain_deep_copper", + "growthcraft_cellar:grain_golden", + "growthcraft_cellar:grain_pale_golden" + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/butter_salted.json b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/butter_salted.json new file mode 100644 index 00000000..e57f077b --- /dev/null +++ b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/butter_salted.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_milk:butter" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_milk:butter_salted" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_milk:butter_salted" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/ice_cream_apple.json b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/ice_cream_apple.json new file mode 100644 index 00000000..1f7a994e --- /dev/null +++ b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/ice_cream_apple.json @@ -0,0 +1,33 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "tag": "growthcraft_milk:milk_buckets" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_milk:ice_cream_apple" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_milk:ice_cream_apple" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/ice_cream_chocolate.json b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/ice_cream_chocolate.json new file mode 100644 index 00000000..1046da9c --- /dev/null +++ b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/ice_cream_chocolate.json @@ -0,0 +1,33 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "tag": "growthcraft_milk:milk_buckets" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_milk:ice_cream_chocolate" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_milk:ice_cream_chocolate" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/ice_cream_grape_purple.json b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/ice_cream_grape_purple.json new file mode 100644 index 00000000..a8d30c6b --- /dev/null +++ b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/ice_cream_grape_purple.json @@ -0,0 +1,33 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "tag": "growthcraft_milk:milk_buckets" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_milk:ice_cream_grape_purple" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_milk:ice_cream_grape_purple" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/ice_cream_grape_red.json b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/ice_cream_grape_red.json new file mode 100644 index 00000000..f875a477 --- /dev/null +++ b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/ice_cream_grape_red.json @@ -0,0 +1,33 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "tag": "growthcraft_milk:milk_buckets" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_milk:ice_cream_grape_red" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_milk:ice_cream_grape_red" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/ice_cream_grape_white.json b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/ice_cream_grape_white.json new file mode 100644 index 00000000..50b51acf --- /dev/null +++ b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/ice_cream_grape_white.json @@ -0,0 +1,33 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "tag": "growthcraft_milk:milk_buckets" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_milk:ice_cream_grape_white" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_milk:ice_cream_grape_white" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/ice_cream_honey.json b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/ice_cream_honey.json new file mode 100644 index 00000000..2b32332a --- /dev/null +++ b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/ice_cream_honey.json @@ -0,0 +1,33 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "tag": "growthcraft_milk:milk_buckets" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_milk:ice_cream_honey" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_milk:ice_cream_honey" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/ice_cream_pumpkin.json b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/ice_cream_pumpkin.json new file mode 100644 index 00000000..6b5e3e78 --- /dev/null +++ b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/ice_cream_pumpkin.json @@ -0,0 +1,33 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "tag": "growthcraft_milk:milk_buckets" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_milk:ice_cream_pumpkin" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_milk:ice_cream_pumpkin" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/ice_cream_watermelon.json b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/ice_cream_watermelon.json new file mode 100644 index 00000000..1f144d77 --- /dev/null +++ b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/ice_cream_watermelon.json @@ -0,0 +1,33 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "tag": "growthcraft_milk:milk_buckets" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_milk:ice_cream_watermelon" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_milk:ice_cream_watermelon" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/thistle_seed.json b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/thistle_seed.json new file mode 100644 index 00000000..a1de502f --- /dev/null +++ b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/thistle_seed.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_milk:thistle" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_milk:thistle_seed" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_milk:thistle_seed" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/yogurt_apple.json b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/yogurt_apple.json new file mode 100644 index 00000000..09c9c9d7 --- /dev/null +++ b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/yogurt_apple.json @@ -0,0 +1,33 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "tag": "growthcraft_milk:milk_buckets" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_milk:yogurt_apple" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_milk:yogurt_apple" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/yogurt_chocolate.json b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/yogurt_chocolate.json new file mode 100644 index 00000000..dbea4279 --- /dev/null +++ b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/yogurt_chocolate.json @@ -0,0 +1,33 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "tag": "growthcraft_milk:milk_buckets" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_milk:yogurt_chocolate" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_milk:yogurt_chocolate" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/yogurt_grape_purple.json b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/yogurt_grape_purple.json new file mode 100644 index 00000000..159d1cdd --- /dev/null +++ b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/yogurt_grape_purple.json @@ -0,0 +1,33 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "tag": "growthcraft_milk:milk_buckets" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_milk:yogurt_grape_purple" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_milk:yogurt_grape_purple" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/yogurt_grape_red.json b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/yogurt_grape_red.json new file mode 100644 index 00000000..1a1ace81 --- /dev/null +++ b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/yogurt_grape_red.json @@ -0,0 +1,33 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "tag": "growthcraft_milk:milk_buckets" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_milk:yogurt_grape_red" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_milk:yogurt_grape_red" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/yogurt_grape_white.json b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/yogurt_grape_white.json new file mode 100644 index 00000000..41463f37 --- /dev/null +++ b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/yogurt_grape_white.json @@ -0,0 +1,33 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "tag": "growthcraft_milk:milk_buckets" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_milk:yogurt_grape_white" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_milk:yogurt_grape_white" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/yogurt_honey.json b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/yogurt_honey.json new file mode 100644 index 00000000..3948ebaf --- /dev/null +++ b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/yogurt_honey.json @@ -0,0 +1,33 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "tag": "growthcraft_milk:milk_buckets" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_milk:yogurt_honey" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_milk:yogurt_honey" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/yogurt_plain.json b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/yogurt_plain.json new file mode 100644 index 00000000..8f05b9f5 --- /dev/null +++ b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/yogurt_plain.json @@ -0,0 +1,33 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "tag": "growthcraft_milk:milk_buckets" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_milk:yogurt_plain" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_milk:yogurt_plain" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/yogurt_pumpkin.json b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/yogurt_pumpkin.json new file mode 100644 index 00000000..86c66dd6 --- /dev/null +++ b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/yogurt_pumpkin.json @@ -0,0 +1,33 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "tag": "growthcraft_milk:milk_buckets" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_milk:yogurt_pumpkin" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_milk:yogurt_pumpkin" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/yogurt_watermelon.json b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/yogurt_watermelon.json new file mode 100644 index 00000000..ffffdcfd --- /dev/null +++ b/src/generated/resources/data/growthcraft_milk/advancements/recipes/food/yogurt_watermelon.json @@ -0,0 +1,33 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "tag": "growthcraft_milk:milk_buckets" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_milk:yogurt_watermelon" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_milk:yogurt_watermelon" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_milk/advancements/recipes/misc/cheese_cloth.json b/src/generated/resources/data/growthcraft_milk/advancements/recipes/misc/cheese_cloth.json new file mode 100644 index 00000000..9025cacb --- /dev/null +++ b/src/generated/resources/data/growthcraft_milk/advancements/recipes/misc/cheese_cloth.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:iron_ingot" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_milk:cheese_cloth" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_milk:cheese_cloth" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_milk/advancements/recipes/misc/cheese_press.json b/src/generated/resources/data/growthcraft_milk/advancements/recipes/misc/cheese_press.json new file mode 100644 index 00000000..f36051aa --- /dev/null +++ b/src/generated/resources/data/growthcraft_milk/advancements/recipes/misc/cheese_press.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:iron_ingot" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_milk:cheese_press" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_milk:cheese_press" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_milk/advancements/recipes/misc/churn.json b/src/generated/resources/data/growthcraft_milk/advancements/recipes/misc/churn.json new file mode 100644 index 00000000..b0785c1c --- /dev/null +++ b/src/generated/resources/data/growthcraft_milk/advancements/recipes/misc/churn.json @@ -0,0 +1,33 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "tag": "minecraft:planks" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_milk:churn" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_milk:churn" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_milk/advancements/recipes/misc/milking_bucket_iron.json b/src/generated/resources/data/growthcraft_milk/advancements/recipes/misc/milking_bucket_iron.json new file mode 100644 index 00000000..96c382e2 --- /dev/null +++ b/src/generated/resources/data/growthcraft_milk/advancements/recipes/misc/milking_bucket_iron.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:iron_ingot" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_milk:milking_bucket_iron" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_milk:milking_bucket_iron" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_milk/advancements/recipes/misc/mixing_vat.json b/src/generated/resources/data/growthcraft_milk/advancements/recipes/misc/mixing_vat.json new file mode 100644 index 00000000..0bd55f5a --- /dev/null +++ b/src/generated/resources/data/growthcraft_milk/advancements/recipes/misc/mixing_vat.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_cellar:brew_kettle" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_milk:mixing_vat" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_milk:mixing_vat" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_milk/advancements/recipes/misc/pancheon.json b/src/generated/resources/data/growthcraft_milk/advancements/recipes/misc/pancheon.json new file mode 100644 index 00000000..29516582 --- /dev/null +++ b/src/generated/resources/data/growthcraft_milk/advancements/recipes/misc/pancheon.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:clay_ball" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_milk:pancheon" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_milk:pancheon" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_milk/loot_tables/blocks/cheese_press.json b/src/generated/resources/data/growthcraft_milk/loot_tables/blocks/cheese_press.json new file mode 100644 index 00000000..c3edcf19 --- /dev/null +++ b/src/generated/resources/data/growthcraft_milk/loot_tables/blocks/cheese_press.json @@ -0,0 +1,43 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:copy_name", + "source": "block_entity" + }, + { + "function": "minecraft:copy_nbt", + "ops": [ + { + "op": "replace", + "source": "inventory", + "target": "BlockEntityTag.inventory" + } + ], + "source": "block_entity" + }, + { + "type": "growthcraft_milk:cheese_press", + "entries": [ + { + "type": "minecraft:dynamic", + "name": "minecraft:contents" + } + ], + "function": "minecraft:set_contents" + } + ], + "name": "growthcraft_milk:cheese_press" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft_milk:blocks/cheese_press" +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_milk/loot_tables/blocks/churn.json b/src/generated/resources/data/growthcraft_milk/loot_tables/blocks/churn.json new file mode 100644 index 00000000..f5e83abd --- /dev/null +++ b/src/generated/resources/data/growthcraft_milk/loot_tables/blocks/churn.json @@ -0,0 +1,54 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:copy_name", + "source": "block_entity" + }, + { + "function": "minecraft:copy_nbt", + "ops": [ + { + "op": "replace", + "source": "inventory", + "target": "BlockEntityTag.inventory" + } + ], + "source": "block_entity" + }, + { + "function": "minecraft:copy_nbt", + "ops": [ + { + "op": "replace", + "source": "fluid_tank_input_0", + "target": "BlockEntityTag.fluid_tank_input_0" + } + ], + "source": "block_entity" + }, + { + "type": "growthcraft_milk:churn", + "entries": [ + { + "type": "minecraft:dynamic", + "name": "minecraft:contents" + } + ], + "function": "minecraft:set_contents" + } + ], + "name": "growthcraft_milk:churn" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft_milk:blocks/churn" +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_milk/loot_tables/blocks/mixing_vat.json b/src/generated/resources/data/growthcraft_milk/loot_tables/blocks/mixing_vat.json new file mode 100644 index 00000000..29ca005b --- /dev/null +++ b/src/generated/resources/data/growthcraft_milk/loot_tables/blocks/mixing_vat.json @@ -0,0 +1,54 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:copy_name", + "source": "block_entity" + }, + { + "function": "minecraft:copy_nbt", + "ops": [ + { + "op": "replace", + "source": "inventory", + "target": "BlockEntityTag.inventory" + } + ], + "source": "block_entity" + }, + { + "function": "minecraft:copy_nbt", + "ops": [ + { + "op": "replace", + "source": "fluid_tank_input_0", + "target": "BlockEntityTag.fluid_tank_input_0" + } + ], + "source": "block_entity" + }, + { + "type": "growthcraft_milk:mixing_vat", + "entries": [ + { + "type": "minecraft:dynamic", + "name": "minecraft:contents" + } + ], + "function": "minecraft:set_contents" + } + ], + "name": "growthcraft_milk:mixing_vat" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft_milk:blocks/mixing_vat" +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_milk/loot_tables/blocks/pancheon.json b/src/generated/resources/data/growthcraft_milk/loot_tables/blocks/pancheon.json new file mode 100644 index 00000000..fd9f9b0f --- /dev/null +++ b/src/generated/resources/data/growthcraft_milk/loot_tables/blocks/pancheon.json @@ -0,0 +1,76 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "functions": [ + { + "function": "minecraft:copy_name", + "source": "block_entity" + }, + { + "function": "minecraft:copy_nbt", + "ops": [ + { + "op": "replace", + "source": "inventory", + "target": "BlockEntityTag.inventory" + } + ], + "source": "block_entity" + }, + { + "function": "minecraft:copy_nbt", + "ops": [ + { + "op": "replace", + "source": "fluid_tank_input_0", + "target": "BlockEntityTag.fluid_tank_input_0" + } + ], + "source": "block_entity" + }, + { + "function": "minecraft:copy_nbt", + "ops": [ + { + "op": "replace", + "source": "fluid_tank_output_0", + "target": "BlockEntityTag.fluid_tank_output_0" + } + ], + "source": "block_entity" + }, + { + "function": "minecraft:copy_nbt", + "ops": [ + { + "op": "replace", + "source": "fluid_tank_output_1", + "target": "BlockEntityTag.fluid_tank_output_1" + } + ], + "source": "block_entity" + }, + { + "type": "growthcraft_milk:pancheon", + "entries": [ + { + "type": "minecraft:dynamic", + "name": "minecraft:contents" + } + ], + "function": "minecraft:set_contents" + } + ], + "name": "growthcraft_milk:pancheon" + } + ], + "rolls": 1.0 + } + ], + "random_sequence": "growthcraft_milk:blocks/pancheon" +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_milk/recipes/butter_salted.json b/src/generated/resources/data/growthcraft_milk/recipes/butter_salted.json new file mode 100644 index 00000000..7672e91b --- /dev/null +++ b/src/generated/resources/data/growthcraft_milk/recipes/butter_salted.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "misc", + "group": "growthcraft_milk", + "ingredients": [ + { + "item": "growthcraft_milk:butter" + }, + { + "item": "growthcraft:salt" + } + ], + "result": { + "item": "growthcraft_milk:butter_salted" + } +} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_milk/recipes/cheese_cloth.json b/src/generated/resources/data/growthcraft_milk/recipes/cheese_cloth.json similarity index 57% rename from src/main/resources/data/growthcraft_milk/recipes/cheese_cloth.json rename to src/generated/resources/data/growthcraft_milk/recipes/cheese_cloth.json index a7dc4a19..19219c6c 100644 --- a/src/main/resources/data/growthcraft_milk/recipes/cheese_cloth.json +++ b/src/generated/resources/data/growthcraft_milk/recipes/cheese_cloth.json @@ -1,17 +1,19 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "sss", - "s s", - "sss" - ], + "category": "misc", + "group": "growthcraft_milk", "key": { "s": { "item": "minecraft:string" } }, + "pattern": [ + "sss", + "s s", + "sss" + ], "result": { - "item": "growthcraft_milk:cheese_cloth", - "count": 4 - } + "item": "growthcraft_milk:cheese_cloth" + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_milk/recipes/cheese_press.json b/src/generated/resources/data/growthcraft_milk/recipes/cheese_press.json similarity index 79% rename from src/main/resources/data/growthcraft_milk/recipes/cheese_press.json rename to src/generated/resources/data/growthcraft_milk/recipes/cheese_press.json index 3ddaaf00..8c7970aa 100644 --- a/src/main/resources/data/growthcraft_milk/recipes/cheese_press.json +++ b/src/generated/resources/data/growthcraft_milk/recipes/cheese_press.json @@ -1,22 +1,25 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "III", - "ICI", - "SSS" - ], + "category": "misc", + "group": "growthcraft_milk", "key": { + "C": { + "tag": "forge:chests/wooden" + }, "I": { "tag": "forge:ingots/iron" }, "S": { "tag": "minecraft:wooden_slabs" - }, - "C": { - "tag": "forge:chests/wooden" } }, + "pattern": [ + "III", + "ICI", + "SSS" + ], "result": { "item": "growthcraft_milk:cheese_press" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_milk/recipes/churn.json b/src/generated/resources/data/growthcraft_milk/recipes/churn.json similarity index 75% rename from src/main/resources/data/growthcraft_milk/recipes/churn.json rename to src/generated/resources/data/growthcraft_milk/recipes/churn.json index f5e546d5..9786f213 100644 --- a/src/main/resources/data/growthcraft_milk/recipes/churn.json +++ b/src/generated/resources/data/growthcraft_milk/recipes/churn.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - " S ", - "P P", - "PPP" - ], + "category": "misc", + "group": "growthcraft_milk", "key": { "P": { "tag": "minecraft:planks" @@ -13,7 +10,13 @@ "tag": "forge:rods/wooden" } }, + "pattern": [ + " S ", + "P P", + "PPP" + ], "result": { "item": "growthcraft_milk:churn" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_milk/recipes/ice_cream_apple.json b/src/generated/resources/data/growthcraft_milk/recipes/ice_cream_apple.json similarity index 73% rename from src/main/resources/data/growthcraft_milk/recipes/ice_cream_apple.json rename to src/generated/resources/data/growthcraft_milk/recipes/ice_cream_apple.json index 0c69ae3e..805a48bd 100644 --- a/src/main/resources/data/growthcraft_milk/recipes/ice_cream_apple.json +++ b/src/generated/resources/data/growthcraft_milk/recipes/ice_cream_apple.json @@ -1,6 +1,7 @@ { "type": "minecraft:crafting_shapeless", - "group": "planks", + "category": "misc", + "group": "growthcraft_milk", "ingredients": [ { "tag": "growthcraft_milk:milk_buckets" @@ -16,7 +17,6 @@ } ], "result": { - "item": "growthcraft_milk:ice_cream_apple", - "count": 1 + "item": "growthcraft_milk:ice_cream_apple" } } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_milk/recipes/ice_cream_chocolate.json b/src/generated/resources/data/growthcraft_milk/recipes/ice_cream_chocolate.json similarity index 73% rename from src/main/resources/data/growthcraft_milk/recipes/ice_cream_chocolate.json rename to src/generated/resources/data/growthcraft_milk/recipes/ice_cream_chocolate.json index 8dd9283a..b6da8b3b 100644 --- a/src/main/resources/data/growthcraft_milk/recipes/ice_cream_chocolate.json +++ b/src/generated/resources/data/growthcraft_milk/recipes/ice_cream_chocolate.json @@ -1,6 +1,7 @@ { "type": "minecraft:crafting_shapeless", - "group": "planks", + "category": "misc", + "group": "growthcraft_milk", "ingredients": [ { "tag": "growthcraft_milk:milk_buckets" @@ -16,7 +17,6 @@ } ], "result": { - "item": "growthcraft_milk:ice_cream_chocolate", - "count": 1 + "item": "growthcraft_milk:ice_cream_chocolate" } } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_milk/recipes/ice_cream_grape_purple.json b/src/generated/resources/data/growthcraft_milk/recipes/ice_cream_grape_purple.json similarity index 73% rename from src/main/resources/data/growthcraft_milk/recipes/ice_cream_grape_purple.json rename to src/generated/resources/data/growthcraft_milk/recipes/ice_cream_grape_purple.json index 69ffd175..c8141d69 100644 --- a/src/main/resources/data/growthcraft_milk/recipes/ice_cream_grape_purple.json +++ b/src/generated/resources/data/growthcraft_milk/recipes/ice_cream_grape_purple.json @@ -1,6 +1,7 @@ { "type": "minecraft:crafting_shapeless", - "group": "planks", + "category": "misc", + "group": "growthcraft_milk", "ingredients": [ { "tag": "growthcraft_milk:milk_buckets" @@ -16,7 +17,6 @@ } ], "result": { - "item": "growthcraft_milk:ice_cream_grape_purple", - "count": 1 + "item": "growthcraft_milk:ice_cream_grape_purple" } } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_milk/recipes/ice_cream_grape_red.json b/src/generated/resources/data/growthcraft_milk/recipes/ice_cream_grape_red.json similarity index 73% rename from src/main/resources/data/growthcraft_milk/recipes/ice_cream_grape_red.json rename to src/generated/resources/data/growthcraft_milk/recipes/ice_cream_grape_red.json index daf42102..b7851c39 100644 --- a/src/main/resources/data/growthcraft_milk/recipes/ice_cream_grape_red.json +++ b/src/generated/resources/data/growthcraft_milk/recipes/ice_cream_grape_red.json @@ -1,6 +1,7 @@ { "type": "minecraft:crafting_shapeless", - "group": "planks", + "category": "misc", + "group": "growthcraft_milk", "ingredients": [ { "tag": "growthcraft_milk:milk_buckets" @@ -16,7 +17,6 @@ } ], "result": { - "item": "growthcraft_milk:ice_cream_grape_red", - "count": 1 + "item": "growthcraft_milk:ice_cream_grape_red" } } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_milk/recipes/ice_cream_grape_white.json b/src/generated/resources/data/growthcraft_milk/recipes/ice_cream_grape_white.json similarity index 73% rename from src/main/resources/data/growthcraft_milk/recipes/ice_cream_grape_white.json rename to src/generated/resources/data/growthcraft_milk/recipes/ice_cream_grape_white.json index 56645abf..d59be210 100644 --- a/src/main/resources/data/growthcraft_milk/recipes/ice_cream_grape_white.json +++ b/src/generated/resources/data/growthcraft_milk/recipes/ice_cream_grape_white.json @@ -1,6 +1,7 @@ { "type": "minecraft:crafting_shapeless", - "group": "planks", + "category": "misc", + "group": "growthcraft_milk", "ingredients": [ { "tag": "growthcraft_milk:milk_buckets" @@ -16,7 +17,6 @@ } ], "result": { - "item": "growthcraft_milk:ice_cream_grape_white", - "count": 1 + "item": "growthcraft_milk:ice_cream_grape_white" } } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_milk/recipes/ice_cream_honey.json b/src/generated/resources/data/growthcraft_milk/recipes/ice_cream_honey.json similarity index 74% rename from src/main/resources/data/growthcraft_milk/recipes/ice_cream_honey.json rename to src/generated/resources/data/growthcraft_milk/recipes/ice_cream_honey.json index 43c13867..e0a62765 100644 --- a/src/main/resources/data/growthcraft_milk/recipes/ice_cream_honey.json +++ b/src/generated/resources/data/growthcraft_milk/recipes/ice_cream_honey.json @@ -1,6 +1,7 @@ { "type": "minecraft:crafting_shapeless", - "group": "planks", + "category": "misc", + "group": "growthcraft_milk", "ingredients": [ { "tag": "growthcraft_milk:milk_buckets" @@ -16,7 +17,6 @@ } ], "result": { - "item": "growthcraft_milk:ice_cream_honey", - "count": 1 + "item": "growthcraft_milk:ice_cream_honey" } } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_milk/recipes/ice_cream_pumpkin.json b/src/generated/resources/data/growthcraft_milk/recipes/ice_cream_pumpkin.json similarity index 73% rename from src/main/resources/data/growthcraft_milk/recipes/ice_cream_pumpkin.json rename to src/generated/resources/data/growthcraft_milk/recipes/ice_cream_pumpkin.json index ee698d82..39a64975 100644 --- a/src/main/resources/data/growthcraft_milk/recipes/ice_cream_pumpkin.json +++ b/src/generated/resources/data/growthcraft_milk/recipes/ice_cream_pumpkin.json @@ -1,6 +1,7 @@ { "type": "minecraft:crafting_shapeless", - "group": "planks", + "category": "misc", + "group": "growthcraft_milk", "ingredients": [ { "tag": "growthcraft_milk:milk_buckets" @@ -16,7 +17,6 @@ } ], "result": { - "item": "growthcraft_milk:ice_cream_pumpkin", - "count": 1 + "item": "growthcraft_milk:ice_cream_pumpkin" } } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_milk/recipes/ice_cream_watermelon.json b/src/generated/resources/data/growthcraft_milk/recipes/ice_cream_watermelon.json similarity index 73% rename from src/main/resources/data/growthcraft_milk/recipes/ice_cream_watermelon.json rename to src/generated/resources/data/growthcraft_milk/recipes/ice_cream_watermelon.json index 2e65fd44..c166663c 100644 --- a/src/main/resources/data/growthcraft_milk/recipes/ice_cream_watermelon.json +++ b/src/generated/resources/data/growthcraft_milk/recipes/ice_cream_watermelon.json @@ -1,6 +1,7 @@ { "type": "minecraft:crafting_shapeless", - "group": "planks", + "category": "misc", + "group": "growthcraft_milk", "ingredients": [ { "tag": "growthcraft_milk:milk_buckets" @@ -16,7 +17,6 @@ } ], "result": { - "item": "growthcraft_milk:ice_cream_watermelon", - "count": 1 + "item": "growthcraft_milk:ice_cream_watermelon" } } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_milk/recipes/milking_bucket_iron.json b/src/generated/resources/data/growthcraft_milk/recipes/milking_bucket_iron.json similarity index 76% rename from src/main/resources/data/growthcraft_milk/recipes/milking_bucket_iron.json rename to src/generated/resources/data/growthcraft_milk/recipes/milking_bucket_iron.json index d632d80e..793af205 100644 --- a/src/main/resources/data/growthcraft_milk/recipes/milking_bucket_iron.json +++ b/src/generated/resources/data/growthcraft_milk/recipes/milking_bucket_iron.json @@ -1,19 +1,22 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "NNN", - "I I", - " I " - ], + "category": "misc", + "group": "growthcraft_milk", "key": { - "N": { - "tag": "forge:nuggets/iron" - }, "I": { "tag": "forge:ingots/iron" + }, + "N": { + "tag": "forge:nuggets/iron" } }, + "pattern": [ + "NNN", + "I I", + " I " + ], "result": { "item": "growthcraft_milk:milking_bucket_iron" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_milk/recipes/mixing_vat.json b/src/generated/resources/data/growthcraft_milk/recipes/mixing_vat.json similarity index 76% rename from src/main/resources/data/growthcraft_milk/recipes/mixing_vat.json rename to src/generated/resources/data/growthcraft_milk/recipes/mixing_vat.json index 8b09d92e..3e3c8995 100644 --- a/src/main/resources/data/growthcraft_milk/recipes/mixing_vat.json +++ b/src/generated/resources/data/growthcraft_milk/recipes/mixing_vat.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - " ", - " B ", - "I I" - ], + "category": "misc", + "group": "growthcraft_milk", "key": { "B": { "item": "growthcraft_cellar:brew_kettle" @@ -13,7 +10,13 @@ "tag": "forge:ingots/iron" } }, + "pattern": [ + " ", + " B ", + "I I" + ], "result": { "item": "growthcraft_milk:mixing_vat" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_milk/recipes/pancheon.json b/src/generated/resources/data/growthcraft_milk/recipes/pancheon.json similarity index 70% rename from src/main/resources/data/growthcraft_milk/recipes/pancheon.json rename to src/generated/resources/data/growthcraft_milk/recipes/pancheon.json index af4681e7..7ac4f420 100644 --- a/src/main/resources/data/growthcraft_milk/recipes/pancheon.json +++ b/src/generated/resources/data/growthcraft_milk/recipes/pancheon.json @@ -1,15 +1,18 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "C C", - "CCC" - ], + "category": "misc", + "group": "growthcraft_milk", "key": { "C": { "item": "minecraft:clay_ball" } }, + "pattern": [ + "C C", + "CCC" + ], "result": { "item": "growthcraft_milk:pancheon" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_milk/recipes/thistle_seed.json b/src/generated/resources/data/growthcraft_milk/recipes/thistle_seed.json new file mode 100644 index 00000000..16904d52 --- /dev/null +++ b/src/generated/resources/data/growthcraft_milk/recipes/thistle_seed.json @@ -0,0 +1,9 @@ +{ + "type": "minecraft:stonecutting", + "count": 3, + "group": "growthcraft_milk", + "ingredient": { + "item": "growthcraft_milk:thistle" + }, + "result": "growthcraft_milk:thistle_seed" +} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_milk/recipes/yogurt_apple.json b/src/generated/resources/data/growthcraft_milk/recipes/yogurt_apple.json similarity index 75% rename from src/main/resources/data/growthcraft_milk/recipes/yogurt_apple.json rename to src/generated/resources/data/growthcraft_milk/recipes/yogurt_apple.json index 5857786c..4377caf0 100644 --- a/src/main/resources/data/growthcraft_milk/recipes/yogurt_apple.json +++ b/src/generated/resources/data/growthcraft_milk/recipes/yogurt_apple.json @@ -1,6 +1,7 @@ { "type": "minecraft:crafting_shapeless", - "group": "planks", + "category": "misc", + "group": "growthcraft_milk", "ingredients": [ { "tag": "growthcraft_milk:milk_buckets" @@ -16,7 +17,6 @@ } ], "result": { - "item": "growthcraft_milk:yogurt_apple", - "count": 1 + "item": "growthcraft_milk:yogurt_apple" } } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_milk/recipes/yogurt_chocolate.json b/src/generated/resources/data/growthcraft_milk/recipes/yogurt_chocolate.json similarity index 74% rename from src/main/resources/data/growthcraft_milk/recipes/yogurt_chocolate.json rename to src/generated/resources/data/growthcraft_milk/recipes/yogurt_chocolate.json index 34b3f21b..56ed454c 100644 --- a/src/main/resources/data/growthcraft_milk/recipes/yogurt_chocolate.json +++ b/src/generated/resources/data/growthcraft_milk/recipes/yogurt_chocolate.json @@ -1,6 +1,7 @@ { "type": "minecraft:crafting_shapeless", - "group": "planks", + "category": "misc", + "group": "growthcraft_milk", "ingredients": [ { "tag": "growthcraft_milk:milk_buckets" @@ -16,7 +17,6 @@ } ], "result": { - "item": "growthcraft_milk:yogurt_chocolate", - "count": 1 + "item": "growthcraft_milk:yogurt_chocolate" } } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_milk/recipes/yogurt_grape_purple.json b/src/generated/resources/data/growthcraft_milk/recipes/yogurt_grape_purple.json similarity index 74% rename from src/main/resources/data/growthcraft_milk/recipes/yogurt_grape_purple.json rename to src/generated/resources/data/growthcraft_milk/recipes/yogurt_grape_purple.json index c656d8af..80374025 100644 --- a/src/main/resources/data/growthcraft_milk/recipes/yogurt_grape_purple.json +++ b/src/generated/resources/data/growthcraft_milk/recipes/yogurt_grape_purple.json @@ -1,6 +1,7 @@ { "type": "minecraft:crafting_shapeless", - "group": "planks", + "category": "misc", + "group": "growthcraft_milk", "ingredients": [ { "tag": "growthcraft_milk:milk_buckets" @@ -16,7 +17,6 @@ } ], "result": { - "item": "growthcraft_milk:yogurt_grape_purple", - "count": 1 + "item": "growthcraft_milk:yogurt_grape_purple" } } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_milk/recipes/yogurt_grape_red.json b/src/generated/resources/data/growthcraft_milk/recipes/yogurt_grape_red.json similarity index 75% rename from src/main/resources/data/growthcraft_milk/recipes/yogurt_grape_red.json rename to src/generated/resources/data/growthcraft_milk/recipes/yogurt_grape_red.json index c6447a78..59cd92a2 100644 --- a/src/main/resources/data/growthcraft_milk/recipes/yogurt_grape_red.json +++ b/src/generated/resources/data/growthcraft_milk/recipes/yogurt_grape_red.json @@ -1,6 +1,7 @@ { "type": "minecraft:crafting_shapeless", - "group": "planks", + "category": "misc", + "group": "growthcraft_milk", "ingredients": [ { "tag": "growthcraft_milk:milk_buckets" @@ -16,7 +17,6 @@ } ], "result": { - "item": "growthcraft_milk:yogurt_grape_red", - "count": 1 + "item": "growthcraft_milk:yogurt_grape_red" } } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_milk/recipes/yogurt_grape_white.json b/src/generated/resources/data/growthcraft_milk/recipes/yogurt_grape_white.json similarity index 75% rename from src/main/resources/data/growthcraft_milk/recipes/yogurt_grape_white.json rename to src/generated/resources/data/growthcraft_milk/recipes/yogurt_grape_white.json index ba6fa91e..c375b519 100644 --- a/src/main/resources/data/growthcraft_milk/recipes/yogurt_grape_white.json +++ b/src/generated/resources/data/growthcraft_milk/recipes/yogurt_grape_white.json @@ -1,6 +1,7 @@ { "type": "minecraft:crafting_shapeless", - "group": "planks", + "category": "misc", + "group": "growthcraft_milk", "ingredients": [ { "tag": "growthcraft_milk:milk_buckets" @@ -16,7 +17,6 @@ } ], "result": { - "item": "growthcraft_milk:yogurt_grape_white", - "count": 1 + "item": "growthcraft_milk:yogurt_grape_white" } } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_milk/recipes/yogurt_honey.json b/src/generated/resources/data/growthcraft_milk/recipes/yogurt_honey.json similarity index 76% rename from src/main/resources/data/growthcraft_milk/recipes/yogurt_honey.json rename to src/generated/resources/data/growthcraft_milk/recipes/yogurt_honey.json index 264269c6..ce73a211 100644 --- a/src/main/resources/data/growthcraft_milk/recipes/yogurt_honey.json +++ b/src/generated/resources/data/growthcraft_milk/recipes/yogurt_honey.json @@ -1,6 +1,7 @@ { "type": "minecraft:crafting_shapeless", - "group": "planks", + "category": "misc", + "group": "growthcraft_milk", "ingredients": [ { "tag": "growthcraft_milk:milk_buckets" @@ -16,7 +17,6 @@ } ], "result": { - "item": "growthcraft_milk:yogurt_honey", - "count": 1 + "item": "growthcraft_milk:yogurt_honey" } } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_milk/recipes/yogurt_plain.json b/src/generated/resources/data/growthcraft_milk/recipes/yogurt_plain.json similarity index 72% rename from src/main/resources/data/growthcraft_milk/recipes/yogurt_plain.json rename to src/generated/resources/data/growthcraft_milk/recipes/yogurt_plain.json index 10c4c676..f1313d49 100644 --- a/src/main/resources/data/growthcraft_milk/recipes/yogurt_plain.json +++ b/src/generated/resources/data/growthcraft_milk/recipes/yogurt_plain.json @@ -1,6 +1,7 @@ { "type": "minecraft:crafting_shapeless", - "group": "planks", + "category": "misc", + "group": "growthcraft_milk", "ingredients": [ { "tag": "growthcraft_milk:milk_buckets" @@ -13,7 +14,6 @@ } ], "result": { - "item": "growthcraft_milk:yogurt_plain", - "count": 1 + "item": "growthcraft_milk:yogurt_plain" } } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_milk/recipes/yogurt_pumpkin.json b/src/generated/resources/data/growthcraft_milk/recipes/yogurt_pumpkin.json similarity index 75% rename from src/main/resources/data/growthcraft_milk/recipes/yogurt_pumpkin.json rename to src/generated/resources/data/growthcraft_milk/recipes/yogurt_pumpkin.json index 7016cd22..d844de5b 100644 --- a/src/main/resources/data/growthcraft_milk/recipes/yogurt_pumpkin.json +++ b/src/generated/resources/data/growthcraft_milk/recipes/yogurt_pumpkin.json @@ -1,6 +1,7 @@ { "type": "minecraft:crafting_shapeless", - "group": "planks", + "category": "misc", + "group": "growthcraft_milk", "ingredients": [ { "tag": "growthcraft_milk:milk_buckets" @@ -16,7 +17,6 @@ } ], "result": { - "item": "growthcraft_milk:yogurt_pumpkin", - "count": 1 + "item": "growthcraft_milk:yogurt_pumpkin" } } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_milk/recipes/yogurt_watermelon.json b/src/generated/resources/data/growthcraft_milk/recipes/yogurt_watermelon.json similarity index 74% rename from src/main/resources/data/growthcraft_milk/recipes/yogurt_watermelon.json rename to src/generated/resources/data/growthcraft_milk/recipes/yogurt_watermelon.json index 1f394480..f6519e4a 100644 --- a/src/main/resources/data/growthcraft_milk/recipes/yogurt_watermelon.json +++ b/src/generated/resources/data/growthcraft_milk/recipes/yogurt_watermelon.json @@ -1,6 +1,7 @@ { "type": "minecraft:crafting_shapeless", - "group": "planks", + "category": "misc", + "group": "growthcraft_milk", "ingredients": [ { "tag": "growthcraft_milk:milk_buckets" @@ -16,7 +17,6 @@ } ], "result": { - "item": "growthcraft_milk:yogurt_watermelon", - "count": 1 + "item": "growthcraft_milk:yogurt_watermelon" } } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_milk/tags/items/milk_buckets.json b/src/generated/resources/data/growthcraft_milk/tags/items/milk_buckets.json similarity index 84% rename from src/main/resources/data/growthcraft_milk/tags/items/milk_buckets.json rename to src/generated/resources/data/growthcraft_milk/tags/items/milk_buckets.json index 13f48c67..814c3d0c 100644 --- a/src/main/resources/data/growthcraft_milk/tags/items/milk_buckets.json +++ b/src/generated/resources/data/growthcraft_milk/tags/items/milk_buckets.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft_milk:milk_fluid_bucket", "growthcraft_milk:butter_milk_fluid_bucket" diff --git a/src/generated/resources/data/growthcraft_milk/tags/items/mixing_vat_tools.json b/src/generated/resources/data/growthcraft_milk/tags/items/mixing_vat_tools.json new file mode 100644 index 00000000..a59dea57 --- /dev/null +++ b/src/generated/resources/data/growthcraft_milk/tags/items/mixing_vat_tools.json @@ -0,0 +1,5 @@ +{ + "values": [ + "growthcraft_milk:cheese_cloth" + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_rice/advancements/recipes/food/rice.json b/src/generated/resources/data/growthcraft_rice/advancements/recipes/food/rice.json new file mode 100644 index 00000000..8afee732 --- /dev/null +++ b/src/generated/resources/data/growthcraft_rice/advancements/recipes/food/rice.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_rice:rice_stalk" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_rice:rice" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_rice:rice" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_rice/advancements/recipes/food/sushi_roll.json b/src/generated/resources/data/growthcraft_rice/advancements/recipes/food/sushi_roll.json new file mode 100644 index 00000000..eb4db21a --- /dev/null +++ b/src/generated/resources/data/growthcraft_rice/advancements/recipes/food/sushi_roll.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "growthcraft_rice:rice_cooked" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_rice:sushi_roll" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_rice:sushi_roll" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_rice/advancements/recipes/tools/cultivator.json b/src/generated/resources/data/growthcraft_rice/advancements/recipes/tools/cultivator.json new file mode 100644 index 00000000..8b01740b --- /dev/null +++ b/src/generated/resources/data/growthcraft_rice/advancements/recipes/tools/cultivator.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:iron_ingot" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_rice:cultivator" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_rice:cultivator" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/growthcraft_rice/advancements/recipes/tools/knife.json b/src/generated/resources/data/growthcraft_rice/advancements/recipes/tools/knife.json new file mode 100644 index 00000000..ef52f3ef --- /dev/null +++ b/src/generated/resources/data/growthcraft_rice/advancements/recipes/tools/knife.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:iron_ingot" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "growthcraft_rice:knife" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "growthcraft_rice:knife" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_rice/recipes/cultivator.json b/src/generated/resources/data/growthcraft_rice/recipes/cultivator.json similarity index 77% rename from src/main/resources/data/growthcraft_rice/recipes/cultivator.json rename to src/generated/resources/data/growthcraft_rice/recipes/cultivator.json index 4a13bd07..e1d901ec 100644 --- a/src/main/resources/data/growthcraft_rice/recipes/cultivator.json +++ b/src/generated/resources/data/growthcraft_rice/recipes/cultivator.json @@ -1,22 +1,25 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "iIi", - "iSi", - " S " - ], + "category": "equipment", + "group": "growthcraft_rice", "key": { "I": { "tag": "forge:ingots/iron" }, - "i": { - "tag": "forge:nuggets/iron" - }, "S": { "tag": "forge:rods/wooden" + }, + "i": { + "tag": "forge:nuggets/iron" } }, + "pattern": [ + "iIi", + "iSi", + " S " + ], "result": { "item": "growthcraft_rice:cultivator" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_rice/recipes/knife.json b/src/generated/resources/data/growthcraft_rice/recipes/knife.json similarity index 74% rename from src/main/resources/data/growthcraft_rice/recipes/knife.json rename to src/generated/resources/data/growthcraft_rice/recipes/knife.json index ec9e1e0c..3d746ef9 100644 --- a/src/main/resources/data/growthcraft_rice/recipes/knife.json +++ b/src/generated/resources/data/growthcraft_rice/recipes/knife.json @@ -1,10 +1,7 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - " I", - " I ", - "S " - ], + "category": "equipment", + "group": "growthcraft_rice", "key": { "I": { "tag": "forge:ingots/iron" @@ -13,7 +10,13 @@ "tag": "forge:rods/wooden" } }, + "pattern": [ + " I", + " I ", + "S " + ], "result": { "item": "growthcraft_rice:knife" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_rice/recipes/rice.json b/src/generated/resources/data/growthcraft_rice/recipes/rice.json similarity index 56% rename from src/main/resources/data/growthcraft_rice/recipes/rice.json rename to src/generated/resources/data/growthcraft_rice/recipes/rice.json index 3df6ae3f..afe65c98 100644 --- a/src/main/resources/data/growthcraft_rice/recipes/rice.json +++ b/src/generated/resources/data/growthcraft_rice/recipes/rice.json @@ -1,8 +1,9 @@ { "type": "minecraft:stonecutting", + "count": 1, + "group": "growthcraft_rice", "ingredient": { "item": "growthcraft_rice:rice_stalk" }, - "result": "growthcraft_rice:rice", - "count": 1 + "result": "growthcraft_rice:rice" } \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_rice/recipes/sushi_roll.json b/src/generated/resources/data/growthcraft_rice/recipes/sushi_roll.json similarity index 71% rename from src/main/resources/data/growthcraft_rice/recipes/sushi_roll.json rename to src/generated/resources/data/growthcraft_rice/recipes/sushi_roll.json index 80a6b1d2..2b629174 100644 --- a/src/main/resources/data/growthcraft_rice/recipes/sushi_roll.json +++ b/src/generated/resources/data/growthcraft_rice/recipes/sushi_roll.json @@ -1,22 +1,25 @@ { "type": "minecraft:crafting_shaped", - "pattern": [ - "F", - "R", - "K" - ], + "category": "misc", + "group": "growthcraft_rice", "key": { + "F": { + "tag": "minecraft:fishes" + }, "K": { - "item": "minecraft:dried_kelp" + "item": "minecraft:kelp" }, "R": { "item": "growthcraft_rice:rice_cooked" - }, - "F": { - "tag": "minecraft:fishes" } }, + "pattern": [ + "F", + "R", + "K" + ], "result": { "item": "growthcraft_rice:sushi_roll" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/advancements/recipes/decorations/black_candle.json b/src/generated/resources/data/minecraft/advancements/recipes/decorations/black_candle.json new file mode 100644 index 00000000..8edb9e93 --- /dev/null +++ b/src/generated/resources/data/minecraft/advancements/recipes/decorations/black_candle.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:candle" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:black_candle" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "minecraft:black_candle" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/advancements/recipes/decorations/blue_candle.json b/src/generated/resources/data/minecraft/advancements/recipes/decorations/blue_candle.json new file mode 100644 index 00000000..e0ef3371 --- /dev/null +++ b/src/generated/resources/data/minecraft/advancements/recipes/decorations/blue_candle.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:candle" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:blue_candle" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "minecraft:blue_candle" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/advancements/recipes/decorations/brown_candle.json b/src/generated/resources/data/minecraft/advancements/recipes/decorations/brown_candle.json new file mode 100644 index 00000000..d1773eb1 --- /dev/null +++ b/src/generated/resources/data/minecraft/advancements/recipes/decorations/brown_candle.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:candle" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:brown_candle" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "minecraft:brown_candle" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/advancements/recipes/decorations/candle.json b/src/generated/resources/data/minecraft/advancements/recipes/decorations/candle.json new file mode 100644 index 00000000..7bf76e10 --- /dev/null +++ b/src/generated/resources/data/minecraft/advancements/recipes/decorations/candle.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:honeycomb" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:candle" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "minecraft:candle" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/advancements/recipes/decorations/cyan_candle.json b/src/generated/resources/data/minecraft/advancements/recipes/decorations/cyan_candle.json new file mode 100644 index 00000000..8a852755 --- /dev/null +++ b/src/generated/resources/data/minecraft/advancements/recipes/decorations/cyan_candle.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:candle" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:cyan_candle" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "minecraft:cyan_candle" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/advancements/recipes/decorations/gray_candle.json b/src/generated/resources/data/minecraft/advancements/recipes/decorations/gray_candle.json new file mode 100644 index 00000000..851d19c3 --- /dev/null +++ b/src/generated/resources/data/minecraft/advancements/recipes/decorations/gray_candle.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:candle" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:gray_candle" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "minecraft:gray_candle" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/advancements/recipes/decorations/green_candle.json b/src/generated/resources/data/minecraft/advancements/recipes/decorations/green_candle.json new file mode 100644 index 00000000..3786b985 --- /dev/null +++ b/src/generated/resources/data/minecraft/advancements/recipes/decorations/green_candle.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:candle" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:green_candle" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "minecraft:green_candle" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/advancements/recipes/decorations/light_blue_candle.json b/src/generated/resources/data/minecraft/advancements/recipes/decorations/light_blue_candle.json new file mode 100644 index 00000000..3d36bf11 --- /dev/null +++ b/src/generated/resources/data/minecraft/advancements/recipes/decorations/light_blue_candle.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:candle" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:light_blue_candle" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "minecraft:light_blue_candle" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/advancements/recipes/decorations/light_gray_candle.json b/src/generated/resources/data/minecraft/advancements/recipes/decorations/light_gray_candle.json new file mode 100644 index 00000000..0c9b9cce --- /dev/null +++ b/src/generated/resources/data/minecraft/advancements/recipes/decorations/light_gray_candle.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:candle" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:light_gray_candle" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "minecraft:light_gray_candle" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/advancements/recipes/decorations/lime_candle.json b/src/generated/resources/data/minecraft/advancements/recipes/decorations/lime_candle.json new file mode 100644 index 00000000..1e211086 --- /dev/null +++ b/src/generated/resources/data/minecraft/advancements/recipes/decorations/lime_candle.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:candle" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:lime_candle" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "minecraft:lime_candle" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/advancements/recipes/decorations/magenta_candle.json b/src/generated/resources/data/minecraft/advancements/recipes/decorations/magenta_candle.json new file mode 100644 index 00000000..6e943215 --- /dev/null +++ b/src/generated/resources/data/minecraft/advancements/recipes/decorations/magenta_candle.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:candle" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:magenta_candle" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "minecraft:magenta_candle" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/advancements/recipes/decorations/orange_candle.json b/src/generated/resources/data/minecraft/advancements/recipes/decorations/orange_candle.json new file mode 100644 index 00000000..f67fd347 --- /dev/null +++ b/src/generated/resources/data/minecraft/advancements/recipes/decorations/orange_candle.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:candle" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:orange_candle" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "minecraft:orange_candle" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/advancements/recipes/decorations/pink_candle.json b/src/generated/resources/data/minecraft/advancements/recipes/decorations/pink_candle.json new file mode 100644 index 00000000..60501386 --- /dev/null +++ b/src/generated/resources/data/minecraft/advancements/recipes/decorations/pink_candle.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:candle" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:pink_candle" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "minecraft:pink_candle" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/advancements/recipes/decorations/purple_candle.json b/src/generated/resources/data/minecraft/advancements/recipes/decorations/purple_candle.json new file mode 100644 index 00000000..fc17e3c5 --- /dev/null +++ b/src/generated/resources/data/minecraft/advancements/recipes/decorations/purple_candle.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:candle" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:purple_candle" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "minecraft:purple_candle" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/advancements/recipes/decorations/red_candle.json b/src/generated/resources/data/minecraft/advancements/recipes/decorations/red_candle.json new file mode 100644 index 00000000..814b3862 --- /dev/null +++ b/src/generated/resources/data/minecraft/advancements/recipes/decorations/red_candle.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:candle" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:red_candle" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "minecraft:red_candle" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/advancements/recipes/decorations/white_candle.json b/src/generated/resources/data/minecraft/advancements/recipes/decorations/white_candle.json new file mode 100644 index 00000000..4fafc9a6 --- /dev/null +++ b/src/generated/resources/data/minecraft/advancements/recipes/decorations/white_candle.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:candle" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:white_candle" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "minecraft:white_candle" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/advancements/recipes/decorations/yellow_candle.json b/src/generated/resources/data/minecraft/advancements/recipes/decorations/yellow_candle.json new file mode 100644 index 00000000..a70be6c1 --- /dev/null +++ b/src/generated/resources/data/minecraft/advancements/recipes/decorations/yellow_candle.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_item": { + "conditions": { + "items": [ + { + "items": [ + "minecraft:candle" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:yellow_candle" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_item", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "minecraft:yellow_candle" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/black_candle.json b/src/generated/resources/data/minecraft/recipes/black_candle.json new file mode 100644 index 00000000..78a2fc88 --- /dev/null +++ b/src/generated/resources/data/minecraft/recipes/black_candle.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "misc", + "group": "dyed_candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "tag": "forge:dyes/black" + } + ], + "result": { + "item": "minecraft:black_candle" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/blue_candle.json b/src/generated/resources/data/minecraft/recipes/blue_candle.json new file mode 100644 index 00000000..799f55a1 --- /dev/null +++ b/src/generated/resources/data/minecraft/recipes/blue_candle.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "misc", + "group": "dyed_candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "tag": "forge:dyes/blue" + } + ], + "result": { + "item": "minecraft:blue_candle" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/brown_candle.json b/src/generated/resources/data/minecraft/recipes/brown_candle.json new file mode 100644 index 00000000..f131a94c --- /dev/null +++ b/src/generated/resources/data/minecraft/recipes/brown_candle.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "misc", + "group": "dyed_candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "tag": "forge:dyes/brown" + } + ], + "result": { + "item": "minecraft:brown_candle" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/candle.json b/src/generated/resources/data/minecraft/recipes/candle.json new file mode 100644 index 00000000..90bd85db --- /dev/null +++ b/src/generated/resources/data/minecraft/recipes/candle.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "misc", + "key": { + "H": { + "tag": "growthcraft_apiary:honey_comb" + }, + "S": { + "item": "minecraft:string" + } + }, + "pattern": [ + "S", + "H" + ], + "result": { + "item": "minecraft:candle" + }, + "show_notification": true +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/cyan_candle.json b/src/generated/resources/data/minecraft/recipes/cyan_candle.json new file mode 100644 index 00000000..fff3399e --- /dev/null +++ b/src/generated/resources/data/minecraft/recipes/cyan_candle.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "misc", + "group": "dyed_candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "tag": "forge:dyes/cyan" + } + ], + "result": { + "item": "minecraft:cyan_candle" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/gray_candle.json b/src/generated/resources/data/minecraft/recipes/gray_candle.json new file mode 100644 index 00000000..308ee5b2 --- /dev/null +++ b/src/generated/resources/data/minecraft/recipes/gray_candle.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "misc", + "group": "dyed_candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "tag": "forge:dyes/gray" + } + ], + "result": { + "item": "minecraft:gray_candle" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/green_candle.json b/src/generated/resources/data/minecraft/recipes/green_candle.json new file mode 100644 index 00000000..fb8e4b6c --- /dev/null +++ b/src/generated/resources/data/minecraft/recipes/green_candle.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "misc", + "group": "dyed_candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "tag": "forge:dyes/green" + } + ], + "result": { + "item": "minecraft:green_candle" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/light_blue_candle.json b/src/generated/resources/data/minecraft/recipes/light_blue_candle.json new file mode 100644 index 00000000..fca8b602 --- /dev/null +++ b/src/generated/resources/data/minecraft/recipes/light_blue_candle.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "misc", + "group": "dyed_candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "tag": "forge:dyes/light_blue" + } + ], + "result": { + "item": "minecraft:light_blue_candle" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/light_gray_candle.json b/src/generated/resources/data/minecraft/recipes/light_gray_candle.json new file mode 100644 index 00000000..5e4c3565 --- /dev/null +++ b/src/generated/resources/data/minecraft/recipes/light_gray_candle.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "misc", + "group": "dyed_candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "tag": "forge:dyes/light_gray" + } + ], + "result": { + "item": "minecraft:light_gray_candle" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/lime_candle.json b/src/generated/resources/data/minecraft/recipes/lime_candle.json new file mode 100644 index 00000000..5b010067 --- /dev/null +++ b/src/generated/resources/data/minecraft/recipes/lime_candle.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "misc", + "group": "dyed_candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "tag": "forge:dyes/lime" + } + ], + "result": { + "item": "minecraft:lime_candle" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/magenta_candle.json b/src/generated/resources/data/minecraft/recipes/magenta_candle.json new file mode 100644 index 00000000..15de30c4 --- /dev/null +++ b/src/generated/resources/data/minecraft/recipes/magenta_candle.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "misc", + "group": "dyed_candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "tag": "forge:dyes/magenta" + } + ], + "result": { + "item": "minecraft:magenta_candle" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/orange_candle.json b/src/generated/resources/data/minecraft/recipes/orange_candle.json new file mode 100644 index 00000000..3e879e96 --- /dev/null +++ b/src/generated/resources/data/minecraft/recipes/orange_candle.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "misc", + "group": "dyed_candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "tag": "forge:dyes/orange" + } + ], + "result": { + "item": "minecraft:orange_candle" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/pink_candle.json b/src/generated/resources/data/minecraft/recipes/pink_candle.json new file mode 100644 index 00000000..1937eb99 --- /dev/null +++ b/src/generated/resources/data/minecraft/recipes/pink_candle.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "misc", + "group": "dyed_candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "tag": "forge:dyes/pink" + } + ], + "result": { + "item": "minecraft:pink_candle" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/purple_candle.json b/src/generated/resources/data/minecraft/recipes/purple_candle.json new file mode 100644 index 00000000..ae5f0bfe --- /dev/null +++ b/src/generated/resources/data/minecraft/recipes/purple_candle.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "misc", + "group": "dyed_candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "tag": "forge:dyes/purple" + } + ], + "result": { + "item": "minecraft:purple_candle" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/red_candle.json b/src/generated/resources/data/minecraft/recipes/red_candle.json new file mode 100644 index 00000000..a756a385 --- /dev/null +++ b/src/generated/resources/data/minecraft/recipes/red_candle.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "misc", + "group": "dyed_candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "tag": "forge:dyes/red" + } + ], + "result": { + "item": "minecraft:red_candle" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/white_candle.json b/src/generated/resources/data/minecraft/recipes/white_candle.json new file mode 100644 index 00000000..4b6ea4fa --- /dev/null +++ b/src/generated/resources/data/minecraft/recipes/white_candle.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "misc", + "group": "dyed_candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "tag": "forge:dyes/white" + } + ], + "result": { + "item": "minecraft:white_candle" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/yellow_candle.json b/src/generated/resources/data/minecraft/recipes/yellow_candle.json new file mode 100644 index 00000000..66840f2f --- /dev/null +++ b/src/generated/resources/data/minecraft/recipes/yellow_candle.json @@ -0,0 +1,16 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "misc", + "group": "dyed_candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "tag": "forge:dyes/yellow" + } + ], + "result": { + "item": "minecraft:yellow_candle" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/tags/blocks/beehives.json b/src/generated/resources/data/minecraft/tags/blocks/beehives.json new file mode 100644 index 00000000..b3196c19 --- /dev/null +++ b/src/generated/resources/data/minecraft/tags/blocks/beehives.json @@ -0,0 +1,17 @@ +{ + "values": [ + "growthcraft_apiary:bee_box_acacia", + "growthcraft_apiary:bee_box_birch", + "growthcraft_apiary:bee_box_cherry", + "growthcraft_apiary:bee_box_crimson", + "growthcraft_apiary:bee_box_dark_oak", + "growthcraft_apiary:bee_box_jungle", + "growthcraft_apiary:bee_box_mangrove", + "growthcraft_apiary:bee_box_oak", + "growthcraft_apiary:bee_box_spruce", + "growthcraft_apiary:bee_box_warped", + "growthcraft_apiary:honey_fluid", + "growthcraft_apiary:honey_mead_fluid", + "growthcraft_apiary:honey_mead_must_fluid" + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/tags/blocks/fence_gates.json b/src/generated/resources/data/minecraft/tags/blocks/fence_gates.json similarity index 85% rename from src/main/resources/data/minecraft/tags/blocks/fence_gates.json rename to src/generated/resources/data/minecraft/tags/blocks/fence_gates.json index 910efb21..7032f95d 100644 --- a/src/main/resources/data/minecraft/tags/blocks/fence_gates.json +++ b/src/generated/resources/data/minecraft/tags/blocks/fence_gates.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft_apples:apple_plank_fence_gate", "growthcraft_bamboo:bamboo_plank_fence_gate" diff --git a/src/main/resources/data/minecraft/tags/blocks/leaves.json b/src/generated/resources/data/minecraft/tags/blocks/leaves.json similarity index 76% rename from src/main/resources/data/minecraft/tags/blocks/leaves.json rename to src/generated/resources/data/minecraft/tags/blocks/leaves.json index e2bc50de..d7eb08f1 100644 --- a/src/main/resources/data/minecraft/tags/blocks/leaves.json +++ b/src/generated/resources/data/minecraft/tags/blocks/leaves.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft_apples:apple_tree_leaves" ] diff --git a/src/generated/resources/data/minecraft/tags/blocks/logs.json b/src/generated/resources/data/minecraft/tags/blocks/logs.json new file mode 100644 index 00000000..b77b793d --- /dev/null +++ b/src/generated/resources/data/minecraft/tags/blocks/logs.json @@ -0,0 +1,12 @@ +{ + "values": [ + "growthcraft_apples:apple_wood_log", + "growthcraft_apples:apple_wood_log_stripped", + "growthcraft_apples:apple_wood", + "growthcraft_apples:apple_wood_stripped", + "growthcraft_bamboo:bamboo_wood", + "growthcraft_bamboo:bamboo_wood_stripped", + "growthcraft_bamboo:bamboo_wood_log", + "growthcraft_bamboo:bamboo_wood_log_stripped" + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/tags/blocks/mineable/axe.json b/src/generated/resources/data/minecraft/tags/blocks/mineable/axe.json similarity index 81% rename from src/main/resources/data/minecraft/tags/blocks/mineable/axe.json rename to src/generated/resources/data/minecraft/tags/blocks/mineable/axe.json index bd3c655e..1a877df6 100644 --- a/src/main/resources/data/minecraft/tags/blocks/mineable/axe.json +++ b/src/generated/resources/data/minecraft/tags/blocks/mineable/axe.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft_apiary:bee_box_acacia", "growthcraft_apiary:bee_box_birch", @@ -11,9 +10,10 @@ "growthcraft_apiary:bee_box_oak", "growthcraft_apiary:bee_box_spruce", "growthcraft_apiary:bee_box_warped", - "growthcraft_apples:bee_box_apple", + "growthcraft_apiary:honey_fluid", + "growthcraft_apiary:honey_mead_fluid", + "growthcraft_apiary:honey_mead_must_fluid", "growthcraft_bamboo:bee_box_bamboo", - "growthcraft_milk:churn", "growthcraft_cellar:fermentation_barrel_oak", "growthcraft:rope_linen_acacia_fence", "growthcraft:rope_linen_birch_fence", @@ -23,6 +23,7 @@ "growthcraft:rope_linen_nether_brick_fence", "growthcraft:rope_linen_oak_fence", "growthcraft:rope_linen_spruce_fence", - "growthcraft:rope_linen_warped_fence" + "growthcraft:rope_linen_warped_fence", + "growthcraft_milk:churn" ] } \ No newline at end of file diff --git a/src/main/resources/data/minecraft/tags/blocks/mineable/pickaxe.json b/src/generated/resources/data/minecraft/tags/blocks/mineable/pickaxe.json similarity index 64% rename from src/main/resources/data/minecraft/tags/blocks/mineable/pickaxe.json rename to src/generated/resources/data/minecraft/tags/blocks/mineable/pickaxe.json index 80c8f5d8..9ba80ef4 100644 --- a/src/main/resources/data/minecraft/tags/blocks/mineable/pickaxe.json +++ b/src/generated/resources/data/minecraft/tags/blocks/mineable/pickaxe.json @@ -1,16 +1,15 @@ { - "replace": false, "values": [ - "growthcraft:salt_ore", - "growthcraft_milk:pancheon", - "growthcraft_milk:cheese_press", + "growthcraft_cellar:brew_kettle", "growthcraft_cellar:fruit_press", "growthcraft_cellar:fruit_press_piston", - "growthcraft_cellar:brew_kettle", - "growthcraft_milk:mixing_vat", "growthcraft_cellar:roaster", - "growthcraft:salt_ore_deepslate", - "growthcraft:salt_ore_nether", - "growthcraft:salt_ore_end" + "growthcraft:salt_ore", + "growthcraft:salt_ore_deepslate", + "growthcraft:salt_ore_end", + "growthcraft:salt_ore_nether", + "growthcraft_milk:cheese_press", + "growthcraft_milk:mixing_vat", + "growthcraft_milk:pancheon" ] } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/tags/blocks/mineable/shovel.json b/src/generated/resources/data/minecraft/tags/blocks/mineable/shovel.json new file mode 100644 index 00000000..c2bf1e58 --- /dev/null +++ b/src/generated/resources/data/minecraft/tags/blocks/mineable/shovel.json @@ -0,0 +1,5 @@ +{ + "values": [ + "growthcraft_rice:cultivated_farmland" + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/tags/blocks/needs_stone_tool.json b/src/generated/resources/data/minecraft/tags/blocks/needs_stone_tool.json new file mode 100644 index 00000000..31ed4402 --- /dev/null +++ b/src/generated/resources/data/minecraft/tags/blocks/needs_stone_tool.json @@ -0,0 +1,8 @@ +{ + "values": [ + "growthcraft:salt_ore", + "growthcraft:salt_ore_deepslate", + "growthcraft:salt_ore_end", + "growthcraft:salt_ore_nether" + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/tags/blocks/planks.json b/src/generated/resources/data/minecraft/tags/blocks/planks.json similarity index 82% rename from src/main/resources/data/minecraft/tags/blocks/planks.json rename to src/generated/resources/data/minecraft/tags/blocks/planks.json index 94c6476d..c763c85a 100644 --- a/src/main/resources/data/minecraft/tags/blocks/planks.json +++ b/src/generated/resources/data/minecraft/tags/blocks/planks.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft_apples:apple_plank", "growthcraft_bamboo:bamboo_plank" diff --git a/src/main/resources/data/minecraft/tags/blocks/wooden_buttons.json b/src/generated/resources/data/minecraft/tags/blocks/wooden_buttons.json similarity index 84% rename from src/main/resources/data/minecraft/tags/blocks/wooden_buttons.json rename to src/generated/resources/data/minecraft/tags/blocks/wooden_buttons.json index 13443045..766aedc0 100644 --- a/src/main/resources/data/minecraft/tags/blocks/wooden_buttons.json +++ b/src/generated/resources/data/minecraft/tags/blocks/wooden_buttons.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft_apples:apple_plank_button", "growthcraft_bamboo:bamboo_plank_button" diff --git a/src/main/resources/data/minecraft/tags/blocks/wooden_doors.json b/src/generated/resources/data/minecraft/tags/blocks/wooden_doors.json similarity index 84% rename from src/main/resources/data/minecraft/tags/blocks/wooden_doors.json rename to src/generated/resources/data/minecraft/tags/blocks/wooden_doors.json index 033a211e..4b92d2d4 100644 --- a/src/main/resources/data/minecraft/tags/blocks/wooden_doors.json +++ b/src/generated/resources/data/minecraft/tags/blocks/wooden_doors.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft_apples:apple_plank_door", "growthcraft_bamboo:bamboo_plank_door" diff --git a/src/main/resources/data/minecraft/tags/blocks/wooden_fences.json b/src/generated/resources/data/minecraft/tags/blocks/wooden_fences.json similarity index 84% rename from src/main/resources/data/minecraft/tags/blocks/wooden_fences.json rename to src/generated/resources/data/minecraft/tags/blocks/wooden_fences.json index bc6f3f28..a2c1487f 100644 --- a/src/main/resources/data/minecraft/tags/blocks/wooden_fences.json +++ b/src/generated/resources/data/minecraft/tags/blocks/wooden_fences.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft_apples:apple_plank_fence", "growthcraft_bamboo:bamboo_plank_fence" diff --git a/src/main/resources/data/minecraft/tags/blocks/wooden_pressure_plates.json b/src/generated/resources/data/minecraft/tags/blocks/wooden_pressure_plates.json similarity index 86% rename from src/main/resources/data/minecraft/tags/blocks/wooden_pressure_plates.json rename to src/generated/resources/data/minecraft/tags/blocks/wooden_pressure_plates.json index 7a98cb08..d0b6f676 100644 --- a/src/main/resources/data/minecraft/tags/blocks/wooden_pressure_plates.json +++ b/src/generated/resources/data/minecraft/tags/blocks/wooden_pressure_plates.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft_apples:apple_plank_pressure_plate", "growthcraft_bamboo:bamboo_plank_pressure_plate" diff --git a/src/main/resources/data/minecraft/tags/blocks/wooden_slabs.json b/src/generated/resources/data/minecraft/tags/blocks/wooden_slabs.json similarity index 84% rename from src/main/resources/data/minecraft/tags/blocks/wooden_slabs.json rename to src/generated/resources/data/minecraft/tags/blocks/wooden_slabs.json index 51eebb90..0a6a6186 100644 --- a/src/main/resources/data/minecraft/tags/blocks/wooden_slabs.json +++ b/src/generated/resources/data/minecraft/tags/blocks/wooden_slabs.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft_apples:apple_plank_slab", "growthcraft_bamboo:bamboo_plank_slab" diff --git a/src/main/resources/data/minecraft/tags/blocks/wooden_stairs.json b/src/generated/resources/data/minecraft/tags/blocks/wooden_stairs.json similarity index 84% rename from src/main/resources/data/minecraft/tags/blocks/wooden_stairs.json rename to src/generated/resources/data/minecraft/tags/blocks/wooden_stairs.json index 6bc005b4..346aa4ec 100644 --- a/src/main/resources/data/minecraft/tags/blocks/wooden_stairs.json +++ b/src/generated/resources/data/minecraft/tags/blocks/wooden_stairs.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft_apples:apple_plank_stairs", "growthcraft_bamboo:bamboo_plank_stairs" diff --git a/src/main/resources/data/minecraft/tags/blocks/wooden_trapdoors.json b/src/generated/resources/data/minecraft/tags/blocks/wooden_trapdoors.json similarity index 85% rename from src/main/resources/data/minecraft/tags/blocks/wooden_trapdoors.json rename to src/generated/resources/data/minecraft/tags/blocks/wooden_trapdoors.json index 2a0dd502..86bc2931 100644 --- a/src/main/resources/data/minecraft/tags/blocks/wooden_trapdoors.json +++ b/src/generated/resources/data/minecraft/tags/blocks/wooden_trapdoors.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft_apples:apple_plank_trapdoor", "growthcraft_bamboo:bamboo_plank_trapdoor" diff --git a/src/main/resources/data/minecraft/tags/items/leaves.json b/src/generated/resources/data/minecraft/tags/items/leaves.json similarity index 76% rename from src/main/resources/data/minecraft/tags/items/leaves.json rename to src/generated/resources/data/minecraft/tags/items/leaves.json index e2bc50de..d7eb08f1 100644 --- a/src/main/resources/data/minecraft/tags/items/leaves.json +++ b/src/generated/resources/data/minecraft/tags/items/leaves.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft_apples:apple_tree_leaves" ] diff --git a/src/generated/resources/data/minecraft/tags/items/logs.json b/src/generated/resources/data/minecraft/tags/items/logs.json new file mode 100644 index 00000000..7526ab4a --- /dev/null +++ b/src/generated/resources/data/minecraft/tags/items/logs.json @@ -0,0 +1,8 @@ +{ + "values": [ + "growthcraft_apples:apple_wood_log", + "growthcraft_apples:apple_wood_log_stripped", + "growthcraft_bamboo:bamboo_wood_log", + "growthcraft_bamboo:bamboo_wood_log_stripped" + ] +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/tags/items/planks.json b/src/generated/resources/data/minecraft/tags/items/planks.json similarity index 82% rename from src/main/resources/data/minecraft/tags/items/planks.json rename to src/generated/resources/data/minecraft/tags/items/planks.json index 94c6476d..c763c85a 100644 --- a/src/main/resources/data/minecraft/tags/items/planks.json +++ b/src/generated/resources/data/minecraft/tags/items/planks.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft_apples:apple_plank", "growthcraft_bamboo:bamboo_plank" diff --git a/src/main/resources/data/minecraft/tags/items/wooden_buttons.json b/src/generated/resources/data/minecraft/tags/items/wooden_buttons.json similarity index 84% rename from src/main/resources/data/minecraft/tags/items/wooden_buttons.json rename to src/generated/resources/data/minecraft/tags/items/wooden_buttons.json index 13443045..766aedc0 100644 --- a/src/main/resources/data/minecraft/tags/items/wooden_buttons.json +++ b/src/generated/resources/data/minecraft/tags/items/wooden_buttons.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft_apples:apple_plank_button", "growthcraft_bamboo:bamboo_plank_button" diff --git a/src/main/resources/data/minecraft/tags/items/wooden_doors.json b/src/generated/resources/data/minecraft/tags/items/wooden_doors.json similarity index 84% rename from src/main/resources/data/minecraft/tags/items/wooden_doors.json rename to src/generated/resources/data/minecraft/tags/items/wooden_doors.json index 033a211e..4b92d2d4 100644 --- a/src/main/resources/data/minecraft/tags/items/wooden_doors.json +++ b/src/generated/resources/data/minecraft/tags/items/wooden_doors.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft_apples:apple_plank_door", "growthcraft_bamboo:bamboo_plank_door" diff --git a/src/main/resources/data/minecraft/tags/items/wooden_fences.json b/src/generated/resources/data/minecraft/tags/items/wooden_fences.json similarity index 84% rename from src/main/resources/data/minecraft/tags/items/wooden_fences.json rename to src/generated/resources/data/minecraft/tags/items/wooden_fences.json index bc6f3f28..a2c1487f 100644 --- a/src/main/resources/data/minecraft/tags/items/wooden_fences.json +++ b/src/generated/resources/data/minecraft/tags/items/wooden_fences.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft_apples:apple_plank_fence", "growthcraft_bamboo:bamboo_plank_fence" diff --git a/src/main/resources/data/minecraft/tags/items/wooden_pressure_plates.json b/src/generated/resources/data/minecraft/tags/items/wooden_pressure_plates.json similarity index 86% rename from src/main/resources/data/minecraft/tags/items/wooden_pressure_plates.json rename to src/generated/resources/data/minecraft/tags/items/wooden_pressure_plates.json index 7a98cb08..d0b6f676 100644 --- a/src/main/resources/data/minecraft/tags/items/wooden_pressure_plates.json +++ b/src/generated/resources/data/minecraft/tags/items/wooden_pressure_plates.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft_apples:apple_plank_pressure_plate", "growthcraft_bamboo:bamboo_plank_pressure_plate" diff --git a/src/main/resources/data/minecraft/tags/blocks/slabs.json b/src/generated/resources/data/minecraft/tags/items/wooden_slabs.json similarity index 84% rename from src/main/resources/data/minecraft/tags/blocks/slabs.json rename to src/generated/resources/data/minecraft/tags/items/wooden_slabs.json index 51eebb90..0a6a6186 100644 --- a/src/main/resources/data/minecraft/tags/blocks/slabs.json +++ b/src/generated/resources/data/minecraft/tags/items/wooden_slabs.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft_apples:apple_plank_slab", "growthcraft_bamboo:bamboo_plank_slab" diff --git a/src/main/resources/data/minecraft/tags/items/wooden_stairs.json b/src/generated/resources/data/minecraft/tags/items/wooden_stairs.json similarity index 84% rename from src/main/resources/data/minecraft/tags/items/wooden_stairs.json rename to src/generated/resources/data/minecraft/tags/items/wooden_stairs.json index 6bc005b4..346aa4ec 100644 --- a/src/main/resources/data/minecraft/tags/items/wooden_stairs.json +++ b/src/generated/resources/data/minecraft/tags/items/wooden_stairs.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft_apples:apple_plank_stairs", "growthcraft_bamboo:bamboo_plank_stairs" diff --git a/src/main/resources/data/minecraft/tags/items/wooden_trapdoors.json b/src/generated/resources/data/minecraft/tags/items/wooden_trapdoors.json similarity index 85% rename from src/main/resources/data/minecraft/tags/items/wooden_trapdoors.json rename to src/generated/resources/data/minecraft/tags/items/wooden_trapdoors.json index 2a0dd502..86bc2931 100644 --- a/src/main/resources/data/minecraft/tags/items/wooden_trapdoors.json +++ b/src/generated/resources/data/minecraft/tags/items/wooden_trapdoors.json @@ -1,5 +1,4 @@ { - "replace": false, "values": [ "growthcraft_apples:apple_plank_trapdoor", "growthcraft_bamboo:bamboo_plank_trapdoor" diff --git a/src/main/java/growthcraft/apiary/datagen/GrowthcraftApiaryDataGenerators.java b/src/main/java/growthcraft/apiary/datagen/GrowthcraftApiaryDataGenerators.java new file mode 100644 index 00000000..5ebacc6d --- /dev/null +++ b/src/main/java/growthcraft/apiary/datagen/GrowthcraftApiaryDataGenerators.java @@ -0,0 +1,23 @@ +package growthcraft.apiary.datagen; + +import growthcraft.apiary.datagen.providers.GrowthcraftApiaryLootTableProvider; +import growthcraft.apiary.datagen.providers.GrowthcraftApiaryRecipes; +import growthcraft.apiary.shared.Reference; +import net.minecraft.data.DataGenerator; +import net.minecraft.data.PackOutput; +import net.minecraftforge.data.event.GatherDataEvent; +import net.minecraftforge.eventbus.api.SubscribeEvent; +import net.minecraftforge.fml.common.Mod; + +@Mod.EventBusSubscriber(modid = Reference.MODID, bus = Mod.EventBusSubscriber.Bus.MOD) +public class GrowthcraftApiaryDataGenerators { + + @SubscribeEvent + public static void gatherData(GatherDataEvent event) { + DataGenerator generator = event.getGenerator(); + PackOutput packOutput = generator.getPackOutput(); + + generator.addProvider(event.includeServer(), new GrowthcraftApiaryRecipes(packOutput)); + generator.addProvider(event.includeServer(), new GrowthcraftApiaryLootTableProvider(packOutput)); + } +} diff --git a/src/main/java/growthcraft/apiary/datagen/providers/GrowthcraftApiaryLootTableProvider.java b/src/main/java/growthcraft/apiary/datagen/providers/GrowthcraftApiaryLootTableProvider.java new file mode 100644 index 00000000..a12d1c3c --- /dev/null +++ b/src/main/java/growthcraft/apiary/datagen/providers/GrowthcraftApiaryLootTableProvider.java @@ -0,0 +1,22 @@ +package growthcraft.apiary.datagen.providers; + +import java.util.Collections; +import java.util.List; + +import net.minecraft.data.PackOutput; +import net.minecraft.data.loot.LootTableProvider; +import net.minecraft.world.level.storage.loot.parameters.LootContextParamSets; + +public class GrowthcraftApiaryLootTableProvider extends LootTableProvider{ + + public GrowthcraftApiaryLootTableProvider(PackOutput output) { + super(output, Collections.emptySet(), List.of( + new LootTableProvider.SubProviderEntry(GrowthcraftApiaryLootTables::new, LootContextParamSets.BLOCK) + )); + } + + @Override + public String getName() { + return "Growthcraft Apiary Loot Tables"; + } +} diff --git a/src/main/java/growthcraft/apiary/datagen/providers/GrowthcraftApiaryLootTables.java b/src/main/java/growthcraft/apiary/datagen/providers/GrowthcraftApiaryLootTables.java new file mode 100644 index 00000000..5d5a2985 --- /dev/null +++ b/src/main/java/growthcraft/apiary/datagen/providers/GrowthcraftApiaryLootTables.java @@ -0,0 +1,25 @@ +package growthcraft.apiary.datagen.providers; + +import java.util.Map; +import java.util.stream.Collectors; + +import growthcraft.apiary.shared.Reference; +import net.minecraft.data.loot.packs.VanillaBlockLoot; +import net.minecraft.world.level.block.Block; +import net.minecraftforge.registries.ForgeRegistries; + +public class GrowthcraftApiaryLootTables extends VanillaBlockLoot { + + @Override + protected void generate() { + getKnownBlocks().forEach(block -> dropSelf(block)); + } + + @Override + protected Iterable getKnownBlocks() { + return ForgeRegistries.BLOCKS.getEntries().stream() + .filter(e -> e.getKey().location().getNamespace().equals(Reference.MODID)) + .map(Map.Entry::getValue) + .collect(Collectors.toList()); + } +} diff --git a/src/main/java/growthcraft/apiary/datagen/providers/GrowthcraftApiaryRecipes.java b/src/main/java/growthcraft/apiary/datagen/providers/GrowthcraftApiaryRecipes.java new file mode 100644 index 00000000..d425975c --- /dev/null +++ b/src/main/java/growthcraft/apiary/datagen/providers/GrowthcraftApiaryRecipes.java @@ -0,0 +1,157 @@ +package growthcraft.apiary.datagen.providers; + +import java.util.function.Consumer; + +import growthcraft.apiary.init.GrowthcraftApiaryBlocks; +import growthcraft.apiary.init.GrowthcraftApiaryItems; +import growthcraft.apiary.init.GrowthcraftApiaryTags; +import growthcraft.apiary.shared.Reference; +import growthcraft.lib.item.GrowthcraftItem; +import net.minecraft.advancements.critereon.InventoryChangeTrigger; +import net.minecraft.data.PackOutput; +import net.minecraft.data.recipes.FinishedRecipe; +import net.minecraft.data.recipes.RecipeCategory; +import net.minecraft.data.recipes.RecipeProvider; +import net.minecraft.data.recipes.ShapedRecipeBuilder; +import net.minecraft.data.recipes.ShapelessRecipeBuilder; +import net.minecraft.resources.ResourceLocation; +import net.minecraft.world.item.DyeColor; +import net.minecraft.world.item.Items; +import net.minecraftforge.common.Tags; +import net.minecraftforge.registries.ForgeRegistries; + +public class GrowthcraftApiaryRecipes extends RecipeProvider{ + + public GrowthcraftApiaryRecipes(PackOutput packOutput) { + super(packOutput); + } + + @Override + protected void buildRecipes(Consumer consumer) { + ShapedRecipeBuilder.shaped(RecipeCategory.DECORATIONS, GrowthcraftApiaryBlocks.BEE_BOX_ACACIA.get()) + .pattern("SPS") + .pattern("PBP") + .pattern("SPS") + .define('B', Items.ACACIA_SLAB) + .define('P', Items.ACACIA_PLANKS) + .define('S', Tags.Items.RODS_WOODEN) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.ACACIA_PLANKS)) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.DECORATIONS, GrowthcraftApiaryBlocks.BEE_BOX_BIRCH.get()) + .pattern("SPS") + .pattern("PBP") + .pattern("SPS") + .define('B', Items.BIRCH_SLAB) + .define('P', Items.BIRCH_PLANKS) + .define('S', Tags.Items.RODS_WOODEN) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.BIRCH_PLANKS)) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.DECORATIONS, GrowthcraftApiaryBlocks.BEE_BOX_CRIMSON.get()) + .pattern("SPS") + .pattern("PBP") + .pattern("SPS") + .define('B', Items.CRIMSON_SLAB) + .define('P', Items.CRIMSON_PLANKS) + .define('S', Tags.Items.RODS_WOODEN) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.CRIMSON_PLANKS)) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.DECORATIONS, GrowthcraftApiaryBlocks.BEE_BOX_DARK_OAK.get()) + .pattern("SPS") + .pattern("PBP") + .pattern("SPS") + .define('B', Items.DARK_OAK_SLAB) + .define('P', Items.DARK_OAK_PLANKS) + .define('S', Tags.Items.RODS_WOODEN) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.DARK_OAK_PLANKS)) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.DECORATIONS, GrowthcraftApiaryBlocks.BEE_BOX_JUNGLE.get()) + .pattern("SPS") + .pattern("PBP") + .pattern("SPS") + .define('B', Items.JUNGLE_SLAB) + .define('P', Items.JUNGLE_PLANKS) + .define('S', Tags.Items.RODS_WOODEN) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.JUNGLE_PLANKS)) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.DECORATIONS, GrowthcraftApiaryBlocks.BEE_BOX_OAK.get()) + .pattern("SPS") + .pattern("PBP") + .pattern("SPS") + .define('B', Items.ACACIA_SLAB) + .define('P', Items.ACACIA_PLANKS) + .define('S', Tags.Items.RODS_WOODEN) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.ACACIA_PLANKS)) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.DECORATIONS, GrowthcraftApiaryBlocks.BEE_BOX_SPRUCE.get()) + .pattern("SPS") + .pattern("PBP") + .pattern("SPS") + .define('B', Items.SPRUCE_SLAB) + .define('P', Items.SPRUCE_PLANKS) + .define('S', Tags.Items.RODS_WOODEN) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.SPRUCE_PLANKS)) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.DECORATIONS, GrowthcraftApiaryBlocks.BEE_BOX_WARPED.get()) + .pattern("SPS") + .pattern("PBP") + .pattern("SPS") + .define('B', Items.WARPED_SLAB) + .define('P', Items.WARPED_PLANKS) + .define('S', Tags.Items.RODS_WOODEN) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.WARPED_PLANKS)) + .save(consumer); + + GrowthcraftApiaryItems.ITEMS.getEntries().forEach(item -> { + if(item.getId().getPath().contains("bees_wax_")) { + + ShapedRecipeBuilder.shaped(RecipeCategory.MISC, item.get(), 8) + .pattern("AAA") + .pattern("ABA") + .pattern("AAA") + .define('A', GrowthcraftApiaryItems.BEES_WAX.get()) + .define('B', ((GrowthcraftItem) item.get()).getDyeColor().getTag()) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(GrowthcraftApiaryItems.BEES_WAX.get())) + .save(consumer); + } + }); + + ShapedRecipeBuilder.shaped(RecipeCategory.DECORATIONS, Items.CANDLE) + .pattern("S") + .pattern("H") + .define('S', Items.STRING) + .define('H', GrowthcraftApiaryTags.Items.HONEY_COMB) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.HONEYCOMB)) + .save(consumer); + + for (DyeColor dye : DyeColor.values()) { + + ShapelessRecipeBuilder.shapeless(RecipeCategory.DECORATIONS, ForgeRegistries.ITEMS.getValue(new ResourceLocation("minecraft:"+dye+"_candle"))) + .requires(Items.CANDLE) + .requires(dye.getTag()) + .group("dyed_candle") + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.CANDLE)) + .save(consumer); + } + } + + @Override + public String getName() { + return "Growthcraft Apiary Recipes"; + } +} diff --git a/src/main/java/growthcraft/apiary/init/GrowthcraftApiaryItems.java b/src/main/java/growthcraft/apiary/init/GrowthcraftApiaryItems.java index 7c4ffc6f..7165c690 100644 --- a/src/main/java/growthcraft/apiary/init/GrowthcraftApiaryItems.java +++ b/src/main/java/growthcraft/apiary/init/GrowthcraftApiaryItems.java @@ -3,6 +3,7 @@ import growthcraft.apiary.shared.Reference; import growthcraft.lib.item.GrowthcraftItem; import net.minecraft.resources.ResourceLocation; +import net.minecraft.world.item.DyeColor; import net.minecraft.world.item.Item; import net.minecraftforge.registries.DeferredRegister; import net.minecraftforge.registries.ForgeRegistries; @@ -24,67 +25,67 @@ public class GrowthcraftApiaryItems { ); public static final RegistryObject BEES_WAX_BLACK = ITEMS.register( - Reference.UnlocalizedName.BEES_WAX_BLACK, GrowthcraftItem::new + Reference.UnlocalizedName.BEES_WAX_BLACK, () -> new GrowthcraftItem(DyeColor.BLACK) ); public static final RegistryObject BEES_WAX_BLUE = ITEMS.register( - Reference.UnlocalizedName.BEES_WAX_BLUE, GrowthcraftItem::new + Reference.UnlocalizedName.BEES_WAX_BLUE, () -> new GrowthcraftItem(DyeColor.BLUE) ); public static final RegistryObject BEES_WAX_BROWN = ITEMS.register( - Reference.UnlocalizedName.BEES_WAX_BROWN, GrowthcraftItem::new + Reference.UnlocalizedName.BEES_WAX_BROWN, () -> new GrowthcraftItem(DyeColor.BROWN) ); public static final RegistryObject BEES_WAX_CYAN = ITEMS.register( - Reference.UnlocalizedName.BEES_WAX_CYAN, GrowthcraftItem::new + Reference.UnlocalizedName.BEES_WAX_CYAN, () -> new GrowthcraftItem(DyeColor.CYAN) ); public static final RegistryObject BEES_WAX_GRAY = ITEMS.register( - Reference.UnlocalizedName.BEES_WAX_GRAY, GrowthcraftItem::new + Reference.UnlocalizedName.BEES_WAX_GRAY, () -> new GrowthcraftItem(DyeColor.GRAY) ); public static final RegistryObject BEES_WAX_GREEN = ITEMS.register( - Reference.UnlocalizedName.BEES_WAX_GREEN, GrowthcraftItem::new + Reference.UnlocalizedName.BEES_WAX_GREEN, () -> new GrowthcraftItem(DyeColor.GREEN) ); public static final RegistryObject BEES_WAX_LIGHT_BLUE = ITEMS.register( - Reference.UnlocalizedName.BEES_WAX_LIGHT_BLUE, GrowthcraftItem::new + Reference.UnlocalizedName.BEES_WAX_LIGHT_BLUE, () -> new GrowthcraftItem(DyeColor.LIGHT_BLUE) ); public static final RegistryObject BEES_WAX_LIGHT_GRAY = ITEMS.register( - Reference.UnlocalizedName.BEES_WAX_LIGHT_GRAY, GrowthcraftItem::new + Reference.UnlocalizedName.BEES_WAX_LIGHT_GRAY, () -> new GrowthcraftItem(DyeColor.LIGHT_GRAY) ); public static final RegistryObject BEES_WAX_LIME = ITEMS.register( - Reference.UnlocalizedName.BEES_WAX_LIME, GrowthcraftItem::new + Reference.UnlocalizedName.BEES_WAX_LIME, () -> new GrowthcraftItem(DyeColor.LIME) ); public static final RegistryObject BEES_WAX_MAGENTA = ITEMS.register( - Reference.UnlocalizedName.BEES_WAX_MAGENTA, GrowthcraftItem::new + Reference.UnlocalizedName.BEES_WAX_MAGENTA, () -> new GrowthcraftItem(DyeColor.MAGENTA) ); public static final RegistryObject BEES_WAX_ORANGE = ITEMS.register( - Reference.UnlocalizedName.BEES_WAX_ORANGE, GrowthcraftItem::new + Reference.UnlocalizedName.BEES_WAX_ORANGE, () -> new GrowthcraftItem(DyeColor.ORANGE) ); public static final RegistryObject BEES_WAX_PINK = ITEMS.register( - Reference.UnlocalizedName.BEES_WAX_PINK, GrowthcraftItem::new + Reference.UnlocalizedName.BEES_WAX_PINK, () -> new GrowthcraftItem(DyeColor.PINK) ); public static final RegistryObject BEES_WAX_PURPLE = ITEMS.register( - Reference.UnlocalizedName.BEES_WAX_PURPLE, GrowthcraftItem::new + Reference.UnlocalizedName.BEES_WAX_PURPLE, () -> new GrowthcraftItem(DyeColor.PURPLE) ); public static final RegistryObject BEES_WAX_RED = ITEMS.register( - Reference.UnlocalizedName.BEES_WAX_RED, GrowthcraftItem::new + Reference.UnlocalizedName.BEES_WAX_RED, () -> new GrowthcraftItem(DyeColor.RED) ); public static final RegistryObject BEES_WAX_WHITE = ITEMS.register( - Reference.UnlocalizedName.BEES_WAX_WHITE, GrowthcraftItem::new + Reference.UnlocalizedName.BEES_WAX_WHITE, () -> new GrowthcraftItem(DyeColor.WHITE) ); public static final RegistryObject BEES_WAX_YELLOW = ITEMS.register( - Reference.UnlocalizedName.BEES_WAX_YELLOW, GrowthcraftItem::new + Reference.UnlocalizedName.BEES_WAX_YELLOW, () -> new GrowthcraftItem(DyeColor.YELLOW) ); diff --git a/src/main/java/growthcraft/apples/datagen/GrowthcraftApplesDataGenerators.java b/src/main/java/growthcraft/apples/datagen/GrowthcraftApplesDataGenerators.java new file mode 100644 index 00000000..a89f9184 --- /dev/null +++ b/src/main/java/growthcraft/apples/datagen/GrowthcraftApplesDataGenerators.java @@ -0,0 +1,23 @@ +package growthcraft.apples.datagen; + +import growthcraft.apples.datagen.providers.GrowthcraftApplesLootTableProvider; +import growthcraft.apples.datagen.providers.GrowthcraftApplesRecipes; +import growthcraft.apples.shared.Reference; +import net.minecraft.data.DataGenerator; +import net.minecraft.data.PackOutput; +import net.minecraftforge.data.event.GatherDataEvent; +import net.minecraftforge.eventbus.api.SubscribeEvent; +import net.minecraftforge.fml.common.Mod; + +@Mod.EventBusSubscriber(modid = Reference.MODID, bus = Mod.EventBusSubscriber.Bus.MOD) +public class GrowthcraftApplesDataGenerators { + + @SubscribeEvent + public static void gatherData(GatherDataEvent event) { + DataGenerator generator = event.getGenerator(); + PackOutput packOutput = generator.getPackOutput(); + + generator.addProvider(event.includeServer(), new GrowthcraftApplesRecipes(packOutput)); + generator.addProvider(event.includeServer(), new GrowthcraftApplesLootTableProvider(packOutput)); + } +} diff --git a/src/main/java/growthcraft/apples/datagen/providers/GrowthcraftApplesLootTableProvider.java b/src/main/java/growthcraft/apples/datagen/providers/GrowthcraftApplesLootTableProvider.java new file mode 100644 index 00000000..b6ff9a22 --- /dev/null +++ b/src/main/java/growthcraft/apples/datagen/providers/GrowthcraftApplesLootTableProvider.java @@ -0,0 +1,22 @@ +package growthcraft.apples.datagen.providers; + +import java.util.Collections; +import java.util.List; + +import net.minecraft.data.PackOutput; +import net.minecraft.data.loot.LootTableProvider; +import net.minecraft.world.level.storage.loot.parameters.LootContextParamSets; + +public class GrowthcraftApplesLootTableProvider extends LootTableProvider{ + + public GrowthcraftApplesLootTableProvider(PackOutput output) { + super(output, Collections.emptySet(), List.of( + new LootTableProvider.SubProviderEntry(GrowthcraftApplesLootTables::new, LootContextParamSets.BLOCK) + )); + } + + @Override + public String getName() { + return "Growthcraft Apples Loot Tables"; + } +} diff --git a/src/main/java/growthcraft/apples/datagen/providers/GrowthcraftApplesLootTables.java b/src/main/java/growthcraft/apples/datagen/providers/GrowthcraftApplesLootTables.java new file mode 100644 index 00000000..e4910022 --- /dev/null +++ b/src/main/java/growthcraft/apples/datagen/providers/GrowthcraftApplesLootTables.java @@ -0,0 +1,42 @@ +package growthcraft.apples.datagen.providers; + +import java.util.Map; +import java.util.stream.Collectors; + +import growthcraft.apples.block.AppleTreeLeaves; +import growthcraft.apples.init.GrowthcraftApplesBlocks; +import growthcraft.apples.shared.Reference; +import growthcraft.lib.block.GrowthcraftDoorBlock; +import growthcraft.lib.block.GrowthcraftSlabBlock; +import net.minecraft.data.loot.packs.VanillaBlockLoot; +import net.minecraft.world.level.block.Block; +import net.minecraftforge.registries.ForgeRegistries; + +public class GrowthcraftApplesLootTables extends VanillaBlockLoot{ + + @Override + protected void generate() { + getKnownBlocks().forEach(entry -> { + if(entry instanceof GrowthcraftDoorBlock) { + add(entry, createDoorTable(entry)); + } + else if(entry instanceof GrowthcraftSlabBlock){ + add(entry, createSlabItemTable(entry)); + } + else if(entry instanceof AppleTreeLeaves){ + add(entry, createLeavesDrops(entry, GrowthcraftApplesBlocks.APPLE_TREE_SAPLING.get() ,NORMAL_LEAVES_SAPLING_CHANCES)); + } + else { + dropSelf(entry); + } + }); + } + + @Override + protected Iterable getKnownBlocks() { + return ForgeRegistries.BLOCKS.getEntries().stream() + .filter(e -> e.getKey().location().getNamespace().equals(Reference.MODID)) + .map(Map.Entry::getValue) + .collect(Collectors.toList()); + } +} diff --git a/src/main/java/growthcraft/apples/datagen/providers/GrowthcraftApplesRecipes.java b/src/main/java/growthcraft/apples/datagen/providers/GrowthcraftApplesRecipes.java new file mode 100644 index 00000000..9c21f705 --- /dev/null +++ b/src/main/java/growthcraft/apples/datagen/providers/GrowthcraftApplesRecipes.java @@ -0,0 +1,126 @@ +package growthcraft.apples.datagen.providers; + +import java.util.function.Consumer; + +import growthcraft.apples.init.GrowthcraftApplesBlocks; +import growthcraft.apples.init.GrowthcraftApplesItems; +import growthcraft.apples.shared.Reference; +import net.minecraft.advancements.critereon.InventoryChangeTrigger; +import net.minecraft.data.PackOutput; +import net.minecraft.data.recipes.FinishedRecipe; +import net.minecraft.data.recipes.RecipeCategory; +import net.minecraft.data.recipes.RecipeProvider; +import net.minecraft.data.recipes.ShapedRecipeBuilder; +import net.minecraft.data.recipes.ShapelessRecipeBuilder; +import net.minecraft.world.item.Items; +import net.minecraftforge.common.Tags; + +public class GrowthcraftApplesRecipes extends RecipeProvider{ + + public GrowthcraftApplesRecipes(PackOutput packOutput) { + super(packOutput); + } + + @Override + protected void buildRecipes(Consumer consumer) { + ShapelessRecipeBuilder.shapeless(RecipeCategory.BUILDING_BLOCKS, GrowthcraftApplesBlocks.APPLE_PLANK_BUTTON.get()) + .requires(GrowthcraftApplesBlocks.APPLE_PLANK.get().asItem()) + .group("wooden_button") + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(GrowthcraftApplesBlocks.APPLE_PLANK.get())) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.BUILDING_BLOCKS, GrowthcraftApplesBlocks.APPLE_PLANK_DOOR.get(), 3) + .pattern("##") + .pattern("##") + .pattern("##") + .define('#', GrowthcraftApplesBlocks.APPLE_PLANK.get()) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(GrowthcraftApplesBlocks.APPLE_PLANK.get())) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.BUILDING_BLOCKS, GrowthcraftApplesBlocks.APPLE_PLANK_FENCE_GATE.get(), 3) + .pattern("121") + .pattern("121") + .define('1', Items.STICK) + .define('2', GrowthcraftApplesBlocks.APPLE_PLANK.get()) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(GrowthcraftApplesBlocks.APPLE_PLANK.get())) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.BUILDING_BLOCKS, GrowthcraftApplesBlocks.APPLE_PLANK_FENCE.get(), 3) + .pattern("212") + .pattern("212") + .define('1', Items.STICK) + .define('2', GrowthcraftApplesBlocks.APPLE_PLANK.get()) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(GrowthcraftApplesBlocks.APPLE_PLANK.get())) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.BUILDING_BLOCKS, GrowthcraftApplesBlocks.APPLE_PLANK_PRESSURE_PLATE.get()) + .pattern("##") + .define('#', GrowthcraftApplesBlocks.APPLE_PLANK.get()) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(GrowthcraftApplesBlocks.APPLE_PLANK.get())) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.BUILDING_BLOCKS, GrowthcraftApplesBlocks.APPLE_PLANK_SLAB.get(), 6) + .pattern("###") + .define('#', GrowthcraftApplesBlocks.APPLE_PLANK.get()) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(GrowthcraftApplesBlocks.APPLE_PLANK.get())) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.BUILDING_BLOCKS, GrowthcraftApplesBlocks.APPLE_PLANK_STAIRS.get(), 4) + .pattern("# ") + .pattern("## ") + .pattern("###") + .define('#', GrowthcraftApplesBlocks.APPLE_PLANK.get()) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(GrowthcraftApplesBlocks.APPLE_PLANK.get())) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.BUILDING_BLOCKS, GrowthcraftApplesBlocks.APPLE_PLANK_TRAPDOOR.get()) + .pattern("###") + .pattern("###") + .define('#', GrowthcraftApplesBlocks.APPLE_PLANK.get()) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(GrowthcraftApplesBlocks.APPLE_PLANK.get())) + .save(consumer); + + ShapelessRecipeBuilder.shapeless(RecipeCategory.BUILDING_BLOCKS, GrowthcraftApplesBlocks.APPLE_PLANK.get(), 4) + .requires(GrowthcraftApplesBlocks.APPLE_WOOD_LOG.get().asItem()) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(GrowthcraftApplesBlocks.APPLE_WOOD_LOG.get())) + .save(consumer); + + ShapelessRecipeBuilder.shapeless(RecipeCategory.FOOD, GrowthcraftApplesItems.APPLE_SEEDS.get()) + .requires(Items.APPLE) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.APPLE)) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.BUILDING_BLOCKS, GrowthcraftApplesBlocks.APPLE_WOOD.get(), 3) + .pattern("##") + .pattern("##") + .define('#', GrowthcraftApplesBlocks.APPLE_WOOD_LOG.get()) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(GrowthcraftApplesBlocks.APPLE_WOOD_LOG.get())) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.DECORATIONS, GrowthcraftApplesBlocks.BEE_BOX_APPLE.get()) + .pattern("SPS") + .pattern("PBP") + .pattern("SPS") + .define('B', GrowthcraftApplesBlocks.APPLE_PLANK_SLAB.get()) + .define('P', GrowthcraftApplesBlocks.APPLE_PLANK.get()) + .define('S', Tags.Items.RODS_WOODEN) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(GrowthcraftApplesBlocks.APPLE_PLANK.get())) + .save(consumer); + } + + @Override + public String getName() { + return "Growthcraft Apples Recipes"; + } +} diff --git a/src/main/java/growthcraft/apples/init/GrowthcraftApplesTags.java b/src/main/java/growthcraft/apples/init/GrowthcraftApplesTags.java new file mode 100644 index 00000000..c5d8b9c9 --- /dev/null +++ b/src/main/java/growthcraft/apples/init/GrowthcraftApplesTags.java @@ -0,0 +1,69 @@ +package growthcraft.apples.init; + +import growthcraft.apples.shared.Reference; +import net.minecraft.resources.ResourceLocation; +import net.minecraft.tags.BlockTags; +import net.minecraft.tags.FluidTags; +import net.minecraft.tags.ItemTags; +import net.minecraft.tags.TagKey; +import net.minecraft.world.item.Item; +import net.minecraft.world.level.block.Block; +import net.minecraft.world.level.material.Fluid; + +public class GrowthcraftApplesTags { + + public static void init() { + Blocks.init(); + Items.init(); + Fluids.init(); + EntityTypes.init(); + } + + public static class Blocks { + + public static void init() { + // Do nothing, simply instantiate static variables + } + + public static final TagKey APPLE_WOOD_LOG = tag(Reference.UnlocalizedName.TAG_APPLE_WOOD_LOG); + + private static TagKey tag(String name) { + return BlockTags.create(new ResourceLocation(Reference.MODID, name)); + } + } + + public static class Items { + + public static void init() { + // Do nothing, simply instantiate static variables + } + + public static final TagKey APPLE_WOOD_LOG = tag(Reference.UnlocalizedName.TAG_APPLE_WOOD_LOG); + + private static TagKey tag(String name) { + return ItemTags.create(new ResourceLocation(Reference.MODID, name)); + } + } + + public static class Fluids { + + private static void init() { + // Do nothing, simply instantiate static variables + } + + private static TagKey tag(String name) { + return FluidTags.create(new ResourceLocation(Reference.MODID, name)); + } + } + + public static class EntityTypes { + + private static void init() { + // Do nothing, simply instantiate static variables + } + + //private static TagKey> tag(String name) { + // return TagKey.create(Registry.ENTITY_TYPE_REGISTRY, new ResourceLocation(Reference.MODID, name)); + //} + } +} diff --git a/src/main/java/growthcraft/apples/shared/Reference.java b/src/main/java/growthcraft/apples/shared/Reference.java index a111bd8e..62b45273 100644 --- a/src/main/java/growthcraft/apples/shared/Reference.java +++ b/src/main/java/growthcraft/apples/shared/Reference.java @@ -39,6 +39,7 @@ public static class UnlocalizedName { public static final String BEE_BOX = "bee_box"; public static final String BEE_BOX_APPLE = "bee_box_apple"; public static final String APPLE_TREE = "apple_tree"; + public static final String TAG_APPLE_WOOD_LOG = "apple_wood_logs"; private UnlocalizedName() { /* Disable Automatic Creation of Public Constructor */ diff --git a/src/main/java/growthcraft/bamboo/datagen/GrowthcraftBambooDataGenerators.java b/src/main/java/growthcraft/bamboo/datagen/GrowthcraftBambooDataGenerators.java new file mode 100644 index 00000000..f61b327d --- /dev/null +++ b/src/main/java/growthcraft/bamboo/datagen/GrowthcraftBambooDataGenerators.java @@ -0,0 +1,23 @@ +package growthcraft.bamboo.datagen; + +import growthcraft.bamboo.datagen.providers.GrowthcraftBambooLootTableProvider; +import growthcraft.bamboo.datagen.providers.GrowthcraftBambooRecipes; +import growthcraft.bamboo.shared.Reference; +import net.minecraft.data.DataGenerator; +import net.minecraft.data.PackOutput; +import net.minecraftforge.data.event.GatherDataEvent; +import net.minecraftforge.eventbus.api.SubscribeEvent; +import net.minecraftforge.fml.common.Mod; + +@Mod.EventBusSubscriber(modid = Reference.MODID, bus = Mod.EventBusSubscriber.Bus.MOD) +public class GrowthcraftBambooDataGenerators{ + + @SubscribeEvent + public static void gatherData(GatherDataEvent event) { + DataGenerator generator = event.getGenerator(); + PackOutput packOutput = generator.getPackOutput(); + + generator.addProvider(event.includeServer(), new GrowthcraftBambooRecipes(packOutput)); + generator.addProvider(event.includeServer(), new GrowthcraftBambooLootTableProvider(packOutput)); + } +} diff --git a/src/main/java/growthcraft/bamboo/datagen/providers/GrowthcraftBambooLootTableProvider.java b/src/main/java/growthcraft/bamboo/datagen/providers/GrowthcraftBambooLootTableProvider.java new file mode 100644 index 00000000..a1c934d1 --- /dev/null +++ b/src/main/java/growthcraft/bamboo/datagen/providers/GrowthcraftBambooLootTableProvider.java @@ -0,0 +1,22 @@ +package growthcraft.bamboo.datagen.providers; + +import java.util.Collections; +import java.util.List; + +import net.minecraft.data.PackOutput; +import net.minecraft.data.loot.LootTableProvider; +import net.minecraft.world.level.storage.loot.parameters.LootContextParamSets; + +public class GrowthcraftBambooLootTableProvider extends LootTableProvider{ + + public GrowthcraftBambooLootTableProvider(PackOutput output) { + super(output, Collections.emptySet(), List.of( + new LootTableProvider.SubProviderEntry(GrowthcraftBambooLootTables::new, LootContextParamSets.BLOCK) + )); + } + + @Override + public String getName() { + return "Growthcraft Bamboo Loot Tables"; + } +} diff --git a/src/main/java/growthcraft/bamboo/datagen/providers/GrowthcraftBambooLootTables.java b/src/main/java/growthcraft/bamboo/datagen/providers/GrowthcraftBambooLootTables.java new file mode 100644 index 00000000..58c31521 --- /dev/null +++ b/src/main/java/growthcraft/bamboo/datagen/providers/GrowthcraftBambooLootTables.java @@ -0,0 +1,37 @@ +package growthcraft.bamboo.datagen.providers; + +import java.util.Map; +import java.util.stream.Collectors; + +import growthcraft.bamboo.init.GrowthcraftBambooBlocks; +import growthcraft.bamboo.shared.Reference; +import net.minecraft.data.loot.packs.VanillaBlockLoot; +import net.minecraft.world.level.block.Block; +import net.minecraftforge.registries.ForgeRegistries; + +public class GrowthcraftBambooLootTables extends VanillaBlockLoot{ + + @Override + protected void generate() { + getKnownBlocks().forEach(entry -> { + if(entry.equals(GrowthcraftBambooBlocks.BAMBOO_PLANK_DOOR)) { + createDoorTable(entry); + } + else if(entry.equals(GrowthcraftBambooBlocks.BAMBOO_PLANK_SLAB)){ + createSlabItemTable(entry); + } + else { + dropSelf(entry); + } + }); + + } + + @Override + protected Iterable getKnownBlocks() { + return ForgeRegistries.BLOCKS.getEntries().stream() + .filter(e -> e.getKey().location().getNamespace().equals(Reference.MODID)) + .map(Map.Entry::getValue) + .collect(Collectors.toList()); + } +} diff --git a/src/main/java/growthcraft/bamboo/datagen/providers/GrowthcraftBambooRecipes.java b/src/main/java/growthcraft/bamboo/datagen/providers/GrowthcraftBambooRecipes.java new file mode 100644 index 00000000..cb64e372 --- /dev/null +++ b/src/main/java/growthcraft/bamboo/datagen/providers/GrowthcraftBambooRecipes.java @@ -0,0 +1,126 @@ +package growthcraft.bamboo.datagen.providers; + +import java.util.function.Consumer; + +import growthcraft.bamboo.init.GrowthcraftBambooBlocks; +import growthcraft.bamboo.shared.Reference; +import net.minecraft.advancements.critereon.InventoryChangeTrigger; +import net.minecraft.data.PackOutput; +import net.minecraft.data.recipes.FinishedRecipe; +import net.minecraft.data.recipes.RecipeCategory; +import net.minecraft.data.recipes.RecipeProvider; +import net.minecraft.data.recipes.ShapedRecipeBuilder; +import net.minecraft.data.recipes.ShapelessRecipeBuilder; +import net.minecraft.data.recipes.SingleItemRecipeBuilder; +import net.minecraft.world.item.Items; +import net.minecraft.world.item.crafting.Ingredient; +import net.minecraftforge.common.Tags; + +public class GrowthcraftBambooRecipes extends RecipeProvider{ + + public GrowthcraftBambooRecipes(PackOutput packOutput) { + super(packOutput); + } + + @Override + protected void buildRecipes(Consumer consumer) { + ShapelessRecipeBuilder.shapeless(RecipeCategory.BUILDING_BLOCKS, GrowthcraftBambooBlocks.BAMBOO_PLANK_BUTTON.get()) + .requires(GrowthcraftBambooBlocks.BAMBOO_PLANK.get().asItem()) + .group("wooden_button") + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(GrowthcraftBambooBlocks.BAMBOO_PLANK.get())) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.BUILDING_BLOCKS, GrowthcraftBambooBlocks.BAMBOO_PLANK_DOOR.get(), 3) + .pattern("##") + .pattern("##") + .pattern("##") + .define('#', GrowthcraftBambooBlocks.BAMBOO_PLANK.get()) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(GrowthcraftBambooBlocks.BAMBOO_PLANK.get())) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.BUILDING_BLOCKS, GrowthcraftBambooBlocks.BAMBOO_PLANK_FENCE_GATE.get(), 3) + .pattern("121") + .pattern("121") + .define('1', Items.STICK) + .define('2', GrowthcraftBambooBlocks.BAMBOO_PLANK.get()) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(GrowthcraftBambooBlocks.BAMBOO_PLANK.get())) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.BUILDING_BLOCKS, GrowthcraftBambooBlocks.BAMBOO_PLANK_FENCE.get(), 3) + .pattern("212") + .pattern("212") + .define('1', Items.STICK) + .define('2', GrowthcraftBambooBlocks.BAMBOO_PLANK.get()) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(GrowthcraftBambooBlocks.BAMBOO_PLANK.get())) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.BUILDING_BLOCKS, GrowthcraftBambooBlocks.BAMBOO_PLANK_PRESSURE_PLATE.get()) + .pattern("##") + .define('#', GrowthcraftBambooBlocks.BAMBOO_PLANK.get()) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(GrowthcraftBambooBlocks.BAMBOO_PLANK.get())) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.BUILDING_BLOCKS, GrowthcraftBambooBlocks.BAMBOO_PLANK_SLAB.get(), 6) + .pattern("###") + .define('#', GrowthcraftBambooBlocks.BAMBOO_PLANK.get()) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(GrowthcraftBambooBlocks.BAMBOO_PLANK.get())) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.BUILDING_BLOCKS, GrowthcraftBambooBlocks.BAMBOO_PLANK_STAIRS.get(), 4) + .pattern("# ") + .pattern("## ") + .pattern("###") + .define('#', GrowthcraftBambooBlocks.BAMBOO_PLANK.get()) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(GrowthcraftBambooBlocks.BAMBOO_PLANK.get())) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.BUILDING_BLOCKS, GrowthcraftBambooBlocks.BAMBOO_PLANK_TRAPDOOR.get()) + .pattern("###") + .pattern("###") + .define('#', GrowthcraftBambooBlocks.BAMBOO_PLANK.get()) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(GrowthcraftBambooBlocks.BAMBOO_PLANK.get())) + .save(consumer); + + ShapelessRecipeBuilder.shapeless(RecipeCategory.BUILDING_BLOCKS, GrowthcraftBambooBlocks.BAMBOO_PLANK.get(), 4) + .requires(GrowthcraftBambooBlocks.BAMBOO_WOOD_LOG.get().asItem()) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(GrowthcraftBambooBlocks.BAMBOO_WOOD_LOG.get())) + .save(consumer); + + SingleItemRecipeBuilder.stonecutting(Ingredient.of(Items.BAMBOO), RecipeCategory.BUILDING_BLOCKS, GrowthcraftBambooBlocks.BAMBOO_WOOD_LOG.get()) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.BAMBOO)) + .save(consumer);; + + ShapedRecipeBuilder.shaped(RecipeCategory.BUILDING_BLOCKS, GrowthcraftBambooBlocks.BAMBOO_WOOD.get(), 3) + .pattern("##") + .pattern("##") + .define('#', GrowthcraftBambooBlocks.BAMBOO_WOOD_LOG.get()) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(GrowthcraftBambooBlocks.BAMBOO_WOOD_LOG.get())) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.BUILDING_BLOCKS, GrowthcraftBambooBlocks.BAMBOO_PLANK_BEE_BOX.get()) + .pattern("SPS") + .pattern("PBP") + .pattern("SPS") + .define('B', GrowthcraftBambooBlocks.BAMBOO_PLANK_SLAB.get()) + .define('P', GrowthcraftBambooBlocks.BAMBOO_PLANK.get()) + .define('S', Tags.Items.RODS_WOODEN) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(GrowthcraftBambooBlocks.BAMBOO_PLANK.get())) + .save(consumer); + } + + @Override + public String getName() { + return "Growthcraft Bamboo Recipes"; + } +} diff --git a/src/main/java/growthcraft/bamboo/init/GrowthcraftBambooTags.java b/src/main/java/growthcraft/bamboo/init/GrowthcraftBambooTags.java new file mode 100644 index 00000000..5ecd20ad --- /dev/null +++ b/src/main/java/growthcraft/bamboo/init/GrowthcraftBambooTags.java @@ -0,0 +1,71 @@ +package growthcraft.bamboo.init; + +import growthcraft.bamboo.shared.Reference; +import net.minecraft.resources.ResourceLocation; +import net.minecraft.tags.BlockTags; +import net.minecraft.tags.FluidTags; +import net.minecraft.tags.ItemTags; +import net.minecraft.tags.TagKey; +import net.minecraft.world.item.Item; +import net.minecraft.world.level.block.Block; +import net.minecraft.world.level.material.Fluid; + +public class GrowthcraftBambooTags { + + public static void init() { + Blocks.init(); + Items.init(); + Fluids.init(); + EntityTypes.init(); + } + + public static class Blocks { + + public static void init() { + // Do nothing, simply instantiate static variables + } + + public static final TagKey BAMBOO_WOOD_LOGS = tag(Reference.UnlocalizedName.TAG_BAMBOO_WOOD_LOGS); + public static final TagKey BAMBOO_WOOD = tag(Reference.UnlocalizedName.TAG_APPLBAMBOO_WOOD); + + private static TagKey tag(String name) { + return BlockTags.create(new ResourceLocation(Reference.MODID, name)); + } + } + + public static class Items { + + public static void init() { + // Do nothing, simply instantiate static variables + } + + public static final TagKey BAMBOO_WOOD_LOGS = tag(Reference.UnlocalizedName.TAG_BAMBOO_WOOD_LOGS); + public static final TagKey BAMBOO_WOOD = tag(Reference.UnlocalizedName.TAG_APPLBAMBOO_WOOD); + + private static TagKey tag(String name) { + return ItemTags.create(new ResourceLocation(Reference.MODID, name)); + } + } + + public static class Fluids { + + private static void init() { + // Do nothing, simply instantiate static variables + } + + private static TagKey tag(String name) { + return FluidTags.create(new ResourceLocation(Reference.MODID, name)); + } + } + + public static class EntityTypes { + + private static void init() { + // Do nothing, simply instantiate static variables + } + + //private static TagKey> tag(String name) { + // return TagKey.create(Registry.ENTITY_TYPE_REGISTRY, new ResourceLocation(Reference.MODID, name)); + //} + } +} diff --git a/src/main/java/growthcraft/bamboo/shared/Reference.java b/src/main/java/growthcraft/bamboo/shared/Reference.java index 0a144805..a77a6740 100644 --- a/src/main/java/growthcraft/bamboo/shared/Reference.java +++ b/src/main/java/growthcraft/bamboo/shared/Reference.java @@ -34,6 +34,8 @@ public static class UnlocalizedName { public static final String BAMBOO_WOOD_LOG = "bamboo_wood_log"; public static final String BAMBOO_WOOD_LOG_STRIPPED = "bamboo_wood_log_stripped"; public static final String BAMBOO_PLANK_BEE_BOX = "bee_box_bamboo"; + public static final String TAG_BAMBOO_WOOD_LOGS = "bamboo_wood_logs"; + public static final String TAG_APPLBAMBOO_WOOD = "bamboo_wood"; private UnlocalizedName() { /* Disable Automatic Creation of Public Constructor */ diff --git a/src/main/java/growthcraft/cellar/datagen/GrowthcraftCellarDataGenerators.java b/src/main/java/growthcraft/cellar/datagen/GrowthcraftCellarDataGenerators.java new file mode 100644 index 00000000..c5208e8e --- /dev/null +++ b/src/main/java/growthcraft/cellar/datagen/GrowthcraftCellarDataGenerators.java @@ -0,0 +1,25 @@ +package growthcraft.cellar.datagen; + +import growthcraft.cellar.datagen.providers.GrowthcraftCellarLootTableProvider; +import growthcraft.cellar.datagen.providers.GrowthcraftCellarRecipes; +import growthcraft.cellar.shared.Reference; +import net.minecraft.data.DataGenerator; +import net.minecraft.data.PackOutput; +import net.minecraftforge.data.event.GatherDataEvent; +import net.minecraftforge.eventbus.api.SubscribeEvent; +import net.minecraftforge.fml.common.Mod; + +@Mod.EventBusSubscriber(modid = Reference.MODID, bus = Mod.EventBusSubscriber.Bus.MOD) +public class GrowthcraftCellarDataGenerators { + + @SubscribeEvent + public static void gatherData(GatherDataEvent event) { + DataGenerator generator = event.getGenerator(); + PackOutput packOutput = generator.getPackOutput(); + + generator.addProvider(event.includeServer(), new GrowthcraftCellarRecipes(packOutput)); + generator.addProvider(event.includeServer(), new GrowthcraftCellarLootTableProvider(packOutput)); +// generator.addProvider(event.includeServer(), new LootTableProvider(packOutput, Collections.emptySet(), +// List.of(new LootTableProvider.SubProviderEntry(GrowthcraftCellarLootTables::new, LootContextParamSets.BLOCK)))); + } +} diff --git a/src/main/java/growthcraft/cellar/datagen/providers/GrowthcraftCellarLootTableProvider.java b/src/main/java/growthcraft/cellar/datagen/providers/GrowthcraftCellarLootTableProvider.java new file mode 100644 index 00000000..a13e0b3a --- /dev/null +++ b/src/main/java/growthcraft/cellar/datagen/providers/GrowthcraftCellarLootTableProvider.java @@ -0,0 +1,22 @@ +package growthcraft.cellar.datagen.providers; + +import java.util.Collections; +import java.util.List; + +import net.minecraft.data.PackOutput; +import net.minecraft.data.loot.LootTableProvider; +import net.minecraft.world.level.storage.loot.parameters.LootContextParamSets; + +public class GrowthcraftCellarLootTableProvider extends LootTableProvider{ + + public GrowthcraftCellarLootTableProvider(PackOutput output) { + super(output, Collections.emptySet(), List.of( + new LootTableProvider.SubProviderEntry(GrowthcraftCellarLootTables::new, LootContextParamSets.BLOCK) + )); + } + + @Override + public String getName() { + return "Growthcraft Cellar Loot Tables"; + } +} diff --git a/src/main/java/growthcraft/cellar/datagen/providers/GrowthcraftCellarLootTables.java b/src/main/java/growthcraft/cellar/datagen/providers/GrowthcraftCellarLootTables.java new file mode 100644 index 00000000..9415e963 --- /dev/null +++ b/src/main/java/growthcraft/cellar/datagen/providers/GrowthcraftCellarLootTables.java @@ -0,0 +1,77 @@ +package growthcraft.cellar.datagen.providers; + +import java.util.List; +import java.util.Map; +import java.util.stream.Collectors; + +import growthcraft.apples.init.GrowthcraftApplesBlocks; +import growthcraft.cellar.init.GrowthcraftCellarBlockEntities; +import growthcraft.cellar.init.GrowthcraftCellarBlocks; +import growthcraft.cellar.init.GrowthcraftCellarFluids; +import growthcraft.cellar.shared.Reference; +import net.minecraft.data.loot.packs.VanillaBlockLoot; +import net.minecraft.resources.ResourceLocation; +import net.minecraft.world.level.block.Block; +import net.minecraft.world.level.block.entity.BlockEntityType; +import net.minecraft.world.level.storage.loot.LootPool; +import net.minecraft.world.level.storage.loot.LootTable; +import net.minecraft.world.level.storage.loot.entries.DynamicLoot; +import net.minecraft.world.level.storage.loot.entries.LootItem; +import net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer; +import net.minecraft.world.level.storage.loot.functions.CopyNameFunction; +import net.minecraft.world.level.storage.loot.functions.CopyNbtFunction; +import net.minecraft.world.level.storage.loot.functions.SetContainerContents; +import net.minecraft.world.level.storage.loot.providers.nbt.ContextNbtProvider; +import net.minecraft.world.level.storage.loot.providers.number.ConstantValue; +import net.minecraftforge.registries.ForgeRegistries; +import net.minecraftforge.registries.RegistryObject; + +public class GrowthcraftCellarLootTables extends VanillaBlockLoot{ + + @Override + protected void generate() { + createStandardTable(GrowthcraftCellarBlocks.BREW_KETTLE.get(), GrowthcraftCellarBlockEntities.BREW_KETTLE_BLOCK_ENTITY.get(), "inventory", "fluid_tank_input_0", "fluid_tank_output_0"); + createStandardTable(GrowthcraftCellarBlocks.CULTURE_JAR.get(), GrowthcraftCellarBlockEntities.CULTURE_JAR_BLOCK_ENTITY.get(), "fluid_tank_input_0"); + createStandardTable(GrowthcraftCellarBlocks.FERMENTATION_BARREL_OAK.get(), GrowthcraftCellarBlockEntities.FERMENTATION_BARREL_BLOCK_ENTITY.get(), "fluid_tank_input_0"); + createStandardTable(GrowthcraftCellarBlocks.FRUIT_PRESS.get(), GrowthcraftCellarBlockEntities.FRUIT_PRESS_BLOCK_ENTITY.get(), "fluid_tank_input_0"); + createStandardTable(GrowthcraftCellarBlocks.FRUIT_PRESS_PISTON.get(), GrowthcraftCellarBlockEntities.FRUIT_PRESS_BLOCK_ENTITY.get(), "fluid_tank_input_0"); + createStandardTable(GrowthcraftCellarBlocks.ROASTER.get(), GrowthcraftCellarBlockEntities.ROASTER_BLOCK_ENTITY.get(), "inventory"); + add(GrowthcraftCellarBlocks.PURPLE_GRAPE_VINE_LEAVES.get(), createMangroveLeavesDrops(GrowthcraftCellarBlocks.PURPLE_GRAPE_VINE_LEAVES.get())); + add(GrowthcraftCellarBlocks.RED_GRAPE_VINE_LEAVES.get(), createMangroveLeavesDrops(GrowthcraftCellarBlocks.RED_GRAPE_VINE_LEAVES.get())); + add(GrowthcraftCellarBlocks.WHITE_GRAPE_VINE_LEAVES.get(), createMangroveLeavesDrops(GrowthcraftCellarBlocks.WHITE_GRAPE_VINE_LEAVES.get())); + } + + @Override + protected Iterable getKnownBlocks() { + List allBlocks = GrowthcraftCellarBlocks.BLOCKS.getEntries().stream() + .filter(e -> !e.getKey().location().getPath().contains("fluid")) + .map(RegistryObject::get) + .collect(Collectors.toList()); + + allBlocks.remove(GrowthcraftCellarBlocks.PURPLE_GRAPE_VINE_FRUIT.get()); + allBlocks.remove(GrowthcraftCellarBlocks.RED_GRAPE_VINE_FRUIT.get()); + allBlocks.remove(GrowthcraftCellarBlocks.WHITE_GRAPE_VINE_FRUIT.get()); + allBlocks.remove(GrowthcraftCellarBlocks.WHITE_GRAPE_VINE.get()); + allBlocks.remove(GrowthcraftCellarBlocks.RED_GRAPE_VINE.get()); + allBlocks.remove(GrowthcraftCellarBlocks.PURPLE_GRAPE_VINE.get()); + allBlocks.remove(GrowthcraftCellarBlocks.HOPS_VINE.get()); + allBlocks.removeAll(GrowthcraftCellarFluids.FLUIDS.getEntries().stream().map(RegistryObject::get).collect(Collectors.toList())); + + + return allBlocks; + } + + private void createStandardTable(Block block, BlockEntityType type, String... tags) { + LootPoolSingletonContainer.Builder lti = LootItem.lootTableItem(block); + lti.apply(CopyNameFunction.copyName(CopyNameFunction.NameSource.BLOCK_ENTITY)); + for (String tag : tags) { + lti.apply(CopyNbtFunction.copyData(ContextNbtProvider.BLOCK_ENTITY).copy(tag, "BlockEntityTag." + tag, CopyNbtFunction.MergeStrategy.REPLACE)); + } + lti.apply(SetContainerContents.setContents(type).withEntry(DynamicLoot.dynamicEntry(new ResourceLocation("minecraft", "contents")))); + + LootPool.Builder builder = LootPool.lootPool() + .setRolls(ConstantValue.exactly(1)) + .add(lti); + add(block, LootTable.lootTable().withPool(builder)); + } +} diff --git a/src/main/java/growthcraft/cellar/datagen/providers/GrowthcraftCellarRecipes.java b/src/main/java/growthcraft/cellar/datagen/providers/GrowthcraftCellarRecipes.java new file mode 100644 index 00000000..12283e04 --- /dev/null +++ b/src/main/java/growthcraft/cellar/datagen/providers/GrowthcraftCellarRecipes.java @@ -0,0 +1,98 @@ +package growthcraft.cellar.datagen.providers; + +import java.util.function.Consumer; + +import growthcraft.cellar.init.GrowthcraftCellarBlocks; +import growthcraft.cellar.init.GrowthcraftCellarItems; +import growthcraft.cellar.shared.Reference; +import net.minecraft.advancements.critereon.InventoryChangeTrigger; +import net.minecraft.advancements.critereon.ItemPredicate; +import net.minecraft.data.PackOutput; +import net.minecraft.data.recipes.FinishedRecipe; +import net.minecraft.data.recipes.RecipeCategory; +import net.minecraft.data.recipes.RecipeProvider; +import net.minecraft.data.recipes.ShapedRecipeBuilder; +import net.minecraft.data.recipes.ShapelessRecipeBuilder; +import net.minecraft.data.recipes.SingleItemRecipeBuilder; +import net.minecraft.tags.ItemTags; +import net.minecraft.world.item.Items; +import net.minecraft.world.item.crafting.Ingredient; +import net.minecraft.world.level.block.Blocks; +import net.minecraftforge.common.Tags; + +public class GrowthcraftCellarRecipes extends RecipeProvider{ + + public GrowthcraftCellarRecipes(PackOutput packOutput) { + super(packOutput); + } + + @Override + protected void buildRecipes(Consumer consumer) { + ShapelessRecipeBuilder.shapeless(RecipeCategory.MISC, GrowthcraftCellarBlocks.BREW_KETTLE.get()) + .requires(Blocks.CAULDRON) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Blocks.CAULDRON)) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.MISC, GrowthcraftCellarItems.BREW_KETTLE_LID.get()) + .pattern(" i ") + .pattern("III") + .define('I', Tags.Items.INGOTS_IRON) + .define('i', Tags.Items.NUGGETS_IRON) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.IRON_INGOT)) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.MISC, GrowthcraftCellarBlocks.CULTURE_JAR.get()) + .pattern("BAB") + .pattern("B B") + .pattern("BBB") + .define('A', ItemTags.PLANKS) + .define('B', Tags.Items.GLASS_PANES) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(ItemPredicate.Builder.item().of(ItemTags.PLANKS).build())) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.MISC, GrowthcraftCellarBlocks.FERMENTATION_BARREL_OAK.get()) + .pattern("AAA") + .pattern("BBB") + .pattern("AAA") + .define('A', Tags.Items.INGOTS_IRON) + .define('B', Blocks.OAK_PLANKS) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Blocks.OAK_PLANKS)) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.MISC, GrowthcraftCellarBlocks.FRUIT_PRESS.get()) + .pattern("ABA") + .pattern("CCC") + .pattern("DDD") + .define('A', Tags.Items.FENCES) + .define('B', Blocks.PISTON) + .define('C', Tags.Items.INGOTS_IRON) + .define('D', ItemTags.PLANKS) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Blocks.PISTON)) + .save(consumer); + + SingleItemRecipeBuilder.stonecutting(Ingredient.of(Items.WHEAT), RecipeCategory.FOOD, GrowthcraftCellarItems.GRAIN.get()) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.WHEAT)) + .save(consumer);; + + ShapedRecipeBuilder.shaped(RecipeCategory.MISC, GrowthcraftCellarBlocks.ROASTER.get()) + .pattern(" I ") + .pattern(" B ") + .pattern("I I") + .define('I', Tags.Items.INGOTS_IRON) + .define('B', GrowthcraftCellarBlocks.BREW_KETTLE.get()) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(GrowthcraftCellarBlocks.BREW_KETTLE.get())) + .save(consumer); + } + + @Override + public String getName() { + return "Growthcraft Cellar Recipes"; + } +} diff --git a/src/main/java/growthcraft/cellar/init/GrowthcraftCellarItems.java b/src/main/java/growthcraft/cellar/init/GrowthcraftCellarItems.java index 07dd15af..6ecf9123 100644 --- a/src/main/java/growthcraft/cellar/init/GrowthcraftCellarItems.java +++ b/src/main/java/growthcraft/cellar/init/GrowthcraftCellarItems.java @@ -69,7 +69,7 @@ public class GrowthcraftCellarItems { Reference.UnlocalizedName.GRAPE_PURPLE, GrowthcraftFoodItem::new ); - public static final RegistryObject PURPLE_RED_SEEDS = ITEMS.register( + public static final RegistryObject GRAPE_PURPLE_SEED = ITEMS.register( Reference.UnlocalizedName.GRAPE_SEEDS_PURPLE, () -> new GrapeSeedsItem( GrowthcraftCellarBlocks.PURPLE_GRAPE_VINE.get(), @@ -93,7 +93,7 @@ public class GrowthcraftCellarItems { Reference.UnlocalizedName.GRAPE_WHITE, GrowthcraftFoodItem::new ); - public static final RegistryObject WHITE_RED_SEEDS = ITEMS.register( + public static final RegistryObject GRAPE_WHITE_SEEDS = ITEMS.register( Reference.UnlocalizedName.GRAPE_SEEDS_WHITE, () -> new GrapeSeedsItem( GrowthcraftCellarBlocks.WHITE_GRAPE_VINE.get(), diff --git a/src/main/java/growthcraft/cellar/init/GrowthcraftCellarTags.java b/src/main/java/growthcraft/cellar/init/GrowthcraftCellarTags.java index d1cd6574..5c90fbce 100644 --- a/src/main/java/growthcraft/cellar/init/GrowthcraftCellarTags.java +++ b/src/main/java/growthcraft/cellar/init/GrowthcraftCellarTags.java @@ -34,7 +34,11 @@ private static TagKey tag(String name) { public static class Items { - public static final TagKey GRAIN = tag(Reference.UnlocalizedName.GRAIN); + public static final TagKey TAG_GRAIN = tag(Reference.UnlocalizedName.GRAIN); + + public static final TagKey TAG_BARLEY = forgeTag(Reference.UnlocalizedName.TAG_BARLEY); + public static final TagKey TAG_GRAPE_SEEDS = forgeTag(Reference.UnlocalizedName.TAG_GRAPE_SEEDS); + public static final TagKey TAG_GRAPE_FRUITS = forgeTag(Reference.UnlocalizedName.TAG_GRAPE_FRUITS); private static void init() { // Do nothing, simply instantiate static variables @@ -43,6 +47,9 @@ private static void init() { private static TagKey tag(String name) { return ItemTags.create(new ResourceLocation(Reference.MODID, name)); } + private static TagKey forgeTag(String name) { + return ItemTags.create(new ResourceLocation("forge", name)); + } } public static class Fluids { diff --git a/src/main/java/growthcraft/cellar/shared/Reference.java b/src/main/java/growthcraft/cellar/shared/Reference.java index 8163c5d5..3e356f8d 100644 --- a/src/main/java/growthcraft/cellar/shared/Reference.java +++ b/src/main/java/growthcraft/cellar/shared/Reference.java @@ -109,6 +109,9 @@ public static class UnlocalizedName { public static final String YEAST_LAGER_ETHEREAL = "yeast_lager_ethereal"; public static final String TAG_HEATSOURCES = "heat_sources"; public static final String KINDLING = "kindling"; + public static final String TAG_BARLEY = "grain/barley"; + public static final String TAG_GRAPE_SEEDS = "seeds/grapes"; + public static final String TAG_GRAPE_FRUITS = "fruits/grapes"; private UnlocalizedName() { /* Disable Automatic Creation of Public Constructor */ diff --git a/src/main/java/growthcraft/core/datagen/GrowthcraftCoreDataGenerators.java b/src/main/java/growthcraft/core/datagen/GrowthcraftCoreDataGenerators.java new file mode 100644 index 00000000..b85c36a8 --- /dev/null +++ b/src/main/java/growthcraft/core/datagen/GrowthcraftCoreDataGenerators.java @@ -0,0 +1,42 @@ +package growthcraft.core.datagen; + +import java.util.concurrent.CompletableFuture; + +import growthcraft.core.datagen.providers.GrowthcraftCoreBlockTags; +import growthcraft.core.datagen.providers.GrowthcraftCoreItemTags; +import growthcraft.core.datagen.providers.GrowthcraftCoreLootTableProvider; +import growthcraft.core.datagen.providers.GrowthcraftCoreRecipes; +import growthcraft.core.shared.Reference; +import net.minecraft.core.HolderLookup; +import net.minecraft.data.DataGenerator; +import net.minecraft.data.PackOutput; +import net.minecraftforge.common.data.ExistingFileHelper; +import net.minecraftforge.data.event.GatherDataEvent; +import net.minecraftforge.eventbus.api.SubscribeEvent; +import net.minecraftforge.fml.common.Mod; + +@Mod.EventBusSubscriber(modid = Reference.MODID, bus = Mod.EventBusSubscriber.Bus.MOD) +public class GrowthcraftCoreDataGenerators { + + private GrowthcraftCoreDataGenerators(){ + } + + @SubscribeEvent + public static void gatherData(GatherDataEvent event) { + DataGenerator generator = event.getGenerator(); + ExistingFileHelper existingFileHelper = event.getExistingFileHelper(); + PackOutput packOutput = generator.getPackOutput(); + CompletableFuture lookupProvider = event.getLookupProvider(); + + GrowthcraftCoreBlockTags blockTags = new GrowthcraftCoreBlockTags(packOutput, lookupProvider, existingFileHelper); + generator.addProvider(event.includeServer(), blockTags); + generator.addProvider(event.includeServer(), new GrowthcraftCoreItemTags(packOutput, lookupProvider, blockTags, existingFileHelper)); + generator.addProvider(event.includeServer(), new GrowthcraftCoreRecipes(packOutput)); + generator.addProvider(event.includeServer(), new GrowthcraftCoreLootTableProvider(packOutput)); + +// generator.addProvider(event.includeServer(), new LootTableProvider(packOutput, Collections.emptySet(), +// List.of(new LootTableProvider.SubProviderEntry(GrowthcraftCoreLootTables::new, LootContextParamSets.BLOCK)))); + } + + +} diff --git a/src/main/java/growthcraft/core/datagen/providers/GrowthcraftCoreBlockTags.java b/src/main/java/growthcraft/core/datagen/providers/GrowthcraftCoreBlockTags.java new file mode 100644 index 00000000..792ff2d0 --- /dev/null +++ b/src/main/java/growthcraft/core/datagen/providers/GrowthcraftCoreBlockTags.java @@ -0,0 +1,176 @@ +package growthcraft.core.datagen.providers; + +import java.util.concurrent.CompletableFuture; + +import org.jetbrains.annotations.Nullable; + +import growthcraft.apiary.init.GrowthcraftApiaryBlocks; +import growthcraft.apples.init.GrowthcraftApplesBlocks; +import growthcraft.apples.init.GrowthcraftApplesTags; +import growthcraft.bamboo.init.GrowthcraftBambooBlocks; +import growthcraft.bamboo.init.GrowthcraftBambooTags; +import growthcraft.cellar.init.GrowthcraftCellarBlocks; +import growthcraft.core.init.GrowthcraftBlocks; +import growthcraft.core.init.GrowthcraftTags; +import growthcraft.core.shared.Reference; +import growthcraft.milk.init.GrowthcraftMilkBlocks; +import growthcraft.rice.init.GrowthcraftRiceBlocks; +import net.minecraft.core.HolderLookup; +import net.minecraft.data.PackOutput; +import net.minecraft.tags.BlockTags; +import net.minecraft.world.level.block.Blocks; +import net.minecraftforge.common.Tags; +import net.minecraftforge.common.data.BlockTagsProvider; +import net.minecraftforge.common.data.ExistingFileHelper; + +public class GrowthcraftCoreBlockTags extends BlockTagsProvider { + + public GrowthcraftCoreBlockTags(PackOutput output, CompletableFuture lookupProvider, @Nullable ExistingFileHelper existingFileHelper) { + super(output, lookupProvider, Reference.MODID, existingFileHelper); + } + + @Override + protected void addTags(HolderLookup.Provider provider) { + //GC Tags + GrowthcraftApiaryBlocks.BLOCKS.getEntries().forEach(block -> { + tag(BlockTags.BEEHIVES).add(block.get()); + tag(BlockTags.MINEABLE_WITH_AXE).add(block.get()); + }); + + tag(GrowthcraftApplesTags.Blocks.APPLE_WOOD_LOG) + .add(GrowthcraftApplesBlocks.APPLE_WOOD_LOG.get()) + .add(GrowthcraftApplesBlocks.APPLE_WOOD_LOG_STRIPPED.get()); + + tag(GrowthcraftBambooTags.Blocks.BAMBOO_WOOD_LOGS) + .add(GrowthcraftBambooBlocks.BAMBOO_WOOD_LOG.get()) + .add(GrowthcraftBambooBlocks.BAMBOO_WOOD.get()) + .add(GrowthcraftBambooBlocks.BAMBOO_WOOD_LOG_STRIPPED.get()); + tag(GrowthcraftBambooTags.Blocks.BAMBOO_WOOD) + .add(GrowthcraftBambooBlocks.BAMBOO_WOOD_LOG.get()) + .add(GrowthcraftBambooBlocks.BAMBOO_WOOD.get()) + .add(GrowthcraftBambooBlocks.BAMBOO_WOOD_STRIPPED.get()) + .add(GrowthcraftBambooBlocks.BAMBOO_WOOD_LOG_STRIPPED.get()); + + tag(GrowthcraftTags.Blocks.HEATSOURCES) + .add(Blocks.LAVA) + .add(Blocks.FIRE) + .add(Blocks.MAGMA_BLOCK) + .add(Blocks.CAMPFIRE); + tag(GrowthcraftTags.Blocks.ROPE) + .add(GrowthcraftBlocks.ROPE_LINEN.get()) + .add(GrowthcraftBlocks.ROPE_LINEN_ACACIA_FENCE.get()) + .add(GrowthcraftBlocks.ROPE_LINEN_BIRCH_FENCE.get()) + .add(GrowthcraftBlocks.ROPE_LINEN_CRIMSON_FENCE.get()) + .add(GrowthcraftBlocks.ROPE_LINEN_DARK_OAK_FENCE.get()) + .add(GrowthcraftBlocks.ROPE_LINEN_JUNGLE_FENCE.get()) + .add(GrowthcraftBlocks.ROPE_LINEN_NETHER_BRICK_FENCE.get()) + .add(GrowthcraftBlocks.ROPE_LINEN_OAK_FENCE.get()) + .add(GrowthcraftBlocks.ROPE_LINEN_SPRUCE_FENCE.get()) + .add(GrowthcraftBlocks.ROPE_LINEN_WARPED_FENCE.get()) + .add(GrowthcraftCellarBlocks.HOPS_VINE.get()) + .add(GrowthcraftCellarBlocks.PURPLE_GRAPE_VINE.get()) + .add(GrowthcraftCellarBlocks.PURPLE_GRAPE_VINE_LEAVES.get()) + .add(GrowthcraftCellarBlocks.RED_GRAPE_VINE.get()) + .add(GrowthcraftCellarBlocks.RED_GRAPE_VINE_LEAVES.get()) + .add(GrowthcraftCellarBlocks.WHITE_GRAPE_VINE.get()) + .add(GrowthcraftCellarBlocks.WHITE_GRAPE_VINE_LEAVES.get()) + .add(GrowthcraftApplesBlocks.APPLE_PLANK_FENCE_ROPE_LINEN.get()) + .add(GrowthcraftBambooBlocks.BAMBOO_PLANK_FENCE_ROPE_LINEN.get()); + tag(GrowthcraftTags.Blocks.SALT) + .add(GrowthcraftBlocks.SALT_BLOCK.get()); + + + + //Vanilla Tags + tag(BlockTags.WOODEN_BUTTONS) + .add(GrowthcraftApplesBlocks.APPLE_PLANK_BUTTON.get()) + .add(GrowthcraftBambooBlocks.BAMBOO_PLANK_BUTTON.get()); + tag(BlockTags.PLANKS) + .add(GrowthcraftApplesBlocks.APPLE_PLANK.get()) + .add(GrowthcraftBambooBlocks.BAMBOO_PLANK.get()); + tag(BlockTags.WOODEN_DOORS) + .add(GrowthcraftApplesBlocks.APPLE_PLANK_DOOR.get()) + .add(GrowthcraftBambooBlocks.BAMBOO_PLANK_DOOR.get()); + tag(BlockTags.WOODEN_SLABS) + .add(GrowthcraftApplesBlocks.APPLE_PLANK_SLAB.get()) + .add(GrowthcraftBambooBlocks.BAMBOO_PLANK_SLAB.get()); + tag(BlockTags.LOGS) + .add(GrowthcraftApplesBlocks.APPLE_WOOD_LOG.get()) + .add(GrowthcraftApplesBlocks.APPLE_WOOD_LOG_STRIPPED.get()) + .add(GrowthcraftApplesBlocks.APPLE_WOOD.get()) + .add(GrowthcraftApplesBlocks.APPLE_WOOD_STRIPPED.get()) + .add(GrowthcraftBambooBlocks.BAMBOO_WOOD.get()) + .add(GrowthcraftBambooBlocks.BAMBOO_WOOD_STRIPPED.get()) + .add(GrowthcraftBambooBlocks.BAMBOO_WOOD_LOG.get()) + .add(GrowthcraftBambooBlocks.BAMBOO_WOOD_LOG_STRIPPED.get()); + tag(BlockTags.WOODEN_STAIRS) + .add(GrowthcraftApplesBlocks.APPLE_PLANK_STAIRS.get()) + .add(GrowthcraftBambooBlocks.BAMBOO_PLANK_STAIRS.get()); + tag(BlockTags.WOODEN_FENCES) + .add(GrowthcraftApplesBlocks.APPLE_PLANK_FENCE.get()) + .add(GrowthcraftBambooBlocks.BAMBOO_PLANK_FENCE.get()); + tag(BlockTags.FENCE_GATES) + .add(GrowthcraftApplesBlocks.APPLE_PLANK_FENCE_GATE.get()) + .add(GrowthcraftBambooBlocks.BAMBOO_PLANK_FENCE_GATE.get()); + tag(BlockTags.WOODEN_PRESSURE_PLATES) + .add(GrowthcraftApplesBlocks.APPLE_PLANK_PRESSURE_PLATE.get()) + .add(GrowthcraftBambooBlocks.BAMBOO_PLANK_PRESSURE_PLATE.get()); + tag(BlockTags.WOODEN_TRAPDOORS) + .add(GrowthcraftApplesBlocks.APPLE_PLANK_TRAPDOOR.get()) + .add(GrowthcraftBambooBlocks.BAMBOO_PLANK_TRAPDOOR.get()); + tag(BlockTags.LEAVES) + .add(GrowthcraftApplesBlocks.APPLE_TREE_LEAVES.get()); + tag(BlockTags.MINEABLE_WITH_AXE) + .add(GrowthcraftBambooBlocks.BAMBOO_PLANK_BEE_BOX.get()) + .add(GrowthcraftCellarBlocks.FERMENTATION_BARREL_OAK.get()) + .add(GrowthcraftBlocks.ROPE_LINEN_ACACIA_FENCE.get()) + .add(GrowthcraftBlocks.ROPE_LINEN_BIRCH_FENCE.get()) + .add(GrowthcraftBlocks.ROPE_LINEN_CRIMSON_FENCE.get()) + .add(GrowthcraftBlocks.ROPE_LINEN_DARK_OAK_FENCE.get()) + .add(GrowthcraftBlocks.ROPE_LINEN_JUNGLE_FENCE.get()) + .add(GrowthcraftBlocks.ROPE_LINEN_NETHER_BRICK_FENCE.get()) + .add(GrowthcraftBlocks.ROPE_LINEN_OAK_FENCE.get()) + .add(GrowthcraftBlocks.ROPE_LINEN_SPRUCE_FENCE.get()) + .add(GrowthcraftBlocks.ROPE_LINEN_WARPED_FENCE.get()) + .add(GrowthcraftMilkBlocks.CHURN.get()); + tag(BlockTags.MINEABLE_WITH_PICKAXE) + .add(GrowthcraftCellarBlocks.BREW_KETTLE.get()) + .add(GrowthcraftCellarBlocks.FRUIT_PRESS.get()) + .add(GrowthcraftCellarBlocks.FRUIT_PRESS_PISTON.get()) + .add(GrowthcraftCellarBlocks.ROASTER.get()) + .add(GrowthcraftBlocks.SALT_ORE.get()) + .add(GrowthcraftBlocks.SALT_ORE_DEEPSLATE.get()) + .add(GrowthcraftBlocks.SALT_ORE_END.get()) + .add(GrowthcraftBlocks.SALT_ORE_NETHER.get()) + .add(GrowthcraftMilkBlocks.CHEESE_PRESS.get()) + .add(GrowthcraftMilkBlocks.MIXING_VAT.get()) + .add(GrowthcraftMilkBlocks.PANCHEON.get()); + tag(BlockTags.MINEABLE_WITH_SHOVEL) + .add(GrowthcraftRiceBlocks.CULTIVATED_FARMLAND.get()); + tag(BlockTags.NEEDS_STONE_TOOL) + .add(GrowthcraftBlocks.SALT_ORE.get()) + .add(GrowthcraftBlocks.SALT_ORE_DEEPSLATE.get()) + .add(GrowthcraftBlocks.SALT_ORE_END.get()) + .add(GrowthcraftBlocks.SALT_ORE_NETHER.get()); + + //Forge Tags + tag(Tags.Blocks.ORES) + .add(GrowthcraftBlocks.SALT_ORE.get()) + .add(GrowthcraftBlocks.SALT_ORE_DEEPSLATE.get()) + .add(GrowthcraftBlocks.SALT_ORE_NETHER.get()) + .add(GrowthcraftBlocks.SALT_ORE_END.get()); + tag(Tags.Blocks.ORES_IN_GROUND_DEEPSLATE) + .add(GrowthcraftBlocks.SALT_ORE_DEEPSLATE.get()); + tag(Tags.Blocks.ORES_IN_GROUND_NETHERRACK) + .add(GrowthcraftBlocks.SALT_ORE_NETHER.get()); + tag(Tags.Blocks.ORES_IN_GROUND_STONE) + .add(GrowthcraftBlocks.SALT_ORE.get()); + + + } + + @Override + public String getName() { + return "Growthcraft Core Block Tags"; + } +} diff --git a/src/main/java/growthcraft/core/datagen/providers/GrowthcraftCoreItemTags.java b/src/main/java/growthcraft/core/datagen/providers/GrowthcraftCoreItemTags.java new file mode 100644 index 00000000..2811558e --- /dev/null +++ b/src/main/java/growthcraft/core/datagen/providers/GrowthcraftCoreItemTags.java @@ -0,0 +1,153 @@ +package growthcraft.core.datagen.providers; + +import java.util.concurrent.CompletableFuture; + +import org.jetbrains.annotations.NotNull; +import org.jetbrains.annotations.Nullable; + +import growthcraft.apiary.init.GrowthcraftApiaryItems; +import growthcraft.apiary.init.GrowthcraftApiaryTags; +import growthcraft.apples.init.GrowthcraftApplesBlocks; +import growthcraft.apples.init.GrowthcraftApplesTags; +import growthcraft.bamboo.init.GrowthcraftBambooBlocks; +import growthcraft.bamboo.init.GrowthcraftBambooTags; +import growthcraft.cellar.init.GrowthcraftCellarItems; +import growthcraft.cellar.init.GrowthcraftCellarTags; +import growthcraft.core.init.GrowthcraftItems; +import growthcraft.core.init.GrowthcraftTags; +import growthcraft.core.shared.Reference; +import growthcraft.lib.item.GrowthcraftItem; +import growthcraft.milk.init.GrowthcraftMilkFluids; +import growthcraft.milk.init.GrowthcraftMilkItems; +import growthcraft.milk.init.GrowthcraftMilkTags; +import growthcraft.rice.init.GrowthcraftRiceItems; +import growthcraft.rice.init.GrowthcraftRiceTags; +import net.minecraft.core.HolderLookup; +import net.minecraft.data.PackOutput; +import net.minecraft.data.tags.ItemTagsProvider; +import net.minecraft.tags.ItemTags; +import net.minecraft.world.item.Items; +import net.minecraftforge.common.Tags; +import net.minecraftforge.common.data.BlockTagsProvider; +import net.minecraftforge.common.data.ExistingFileHelper; + +public class GrowthcraftCoreItemTags extends ItemTagsProvider{ + + public GrowthcraftCoreItemTags(PackOutput packOutput, CompletableFuture lookupProvider, BlockTagsProvider pBlockTagsProvider, @Nullable ExistingFileHelper existingFileHelper) { + super(packOutput, lookupProvider, pBlockTagsProvider.contentsGetter(), Reference.MODID, existingFileHelper); + } + + @Override + protected void addTags(HolderLookup.Provider provider) { + //GC Tags + tag(GrowthcraftApiaryTags.Items.BEE) + .add(GrowthcraftApiaryItems.BEE.get()); + tag(GrowthcraftApiaryTags.Items.HONEY_COMB) + .add(GrowthcraftApiaryItems.HONEY_COMB_EMPTY.get()) + .add(GrowthcraftApiaryItems.HONEY_COMB_FULL.get()) + .add(Items.HONEYCOMB); + tag(GrowthcraftApiaryTags.Items.BEES_WAX) + .add(GrowthcraftApiaryItems.BEES_WAX.get()); + + GrowthcraftApiaryItems.ITEMS.getEntries().forEach(item -> { + if(item.getId().getPath().contains("bees_wax_")) { + tag(GrowthcraftApiaryTags.Items.BEES_WAX).add(item.get()); + tag(((@NotNull GrowthcraftItem) item.get()).getDyeColor().getTag()).add(item.get()); + } + }); + + tag(GrowthcraftApplesTags.Items.APPLE_WOOD_LOG) + .add(GrowthcraftApplesBlocks.APPLE_WOOD_LOG.get().asItem()) + .add(GrowthcraftApplesBlocks.APPLE_WOOD_LOG_STRIPPED.get().asItem()); + + tag(GrowthcraftBambooTags.Items.BAMBOO_WOOD_LOGS) + .add(GrowthcraftBambooBlocks.BAMBOO_WOOD_LOG.get().asItem()) + .add(GrowthcraftBambooBlocks.BAMBOO_WOOD.get().asItem()) + .add(GrowthcraftBambooBlocks.BAMBOO_WOOD_LOG_STRIPPED.get().asItem()); + tag(GrowthcraftBambooTags.Items.BAMBOO_WOOD) + .add(GrowthcraftBambooBlocks.BAMBOO_WOOD_LOG.get().asItem()) + .add(GrowthcraftBambooBlocks.BAMBOO_WOOD.get().asItem()) + .add(GrowthcraftBambooBlocks.BAMBOO_WOOD_STRIPPED.get().asItem()) + .add(GrowthcraftBambooBlocks.BAMBOO_WOOD_LOG_STRIPPED.get().asItem()); + + tag(GrowthcraftTags.Items.ROASTER_WRENCH) + .add(GrowthcraftItems.WRENCH.get()); + tag(GrowthcraftTags.Items.SALT) + .add(GrowthcraftItems.SALT.get()); + tag(GrowthcraftCellarTags.Items.TAG_GRAPE_FRUITS) + .add(GrowthcraftCellarItems.GRAPE_PURPLE.get()); + tag(GrowthcraftCellarTags.Items.TAG_GRAPE_FRUITS) + .add(GrowthcraftCellarItems.GRAPE_RED.get()); + tag(GrowthcraftCellarTags.Items.TAG_GRAPE_FRUITS) + .add(GrowthcraftCellarItems.GRAPE_WHITE.get()); + tag(GrowthcraftCellarTags.Items.TAG_GRAPE_SEEDS) + .add(GrowthcraftCellarItems.GRAPE_PURPLE_SEED.get()); + tag(GrowthcraftCellarTags.Items.TAG_GRAPE_SEEDS) + .add(GrowthcraftCellarItems.GRAPE_RED_SEEDS.get()); + tag(GrowthcraftCellarTags.Items.TAG_GRAPE_SEEDS) + .add(GrowthcraftCellarItems.GRAPE_WHITE_SEEDS.get()); + + tag(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS) + .add(GrowthcraftMilkFluids.MILK.bucket.get()) + .add(GrowthcraftMilkFluids.BUTTER_MILK.bucket.get()); + tag(GrowthcraftMilkTags.Items.TAG_MIXING_VAT_TOOLS) + .add(GrowthcraftMilkItems.CHEESE_CLOTH.get()); + + //Vanilla Tags + tag(ItemTags.WOODEN_BUTTONS) + .add(GrowthcraftApplesBlocks.APPLE_PLANK_BUTTON.get().asItem()) + .add(GrowthcraftBambooBlocks.BAMBOO_PLANK_BUTTON.get().asItem()); + tag(ItemTags.PLANKS) + .add(GrowthcraftApplesBlocks.APPLE_PLANK.get().asItem()) + .add(GrowthcraftBambooBlocks.BAMBOO_PLANK.get().asItem()); + tag(ItemTags.WOODEN_DOORS) + .add(GrowthcraftApplesBlocks.APPLE_PLANK_DOOR.get().asItem()) + .add(GrowthcraftBambooBlocks.BAMBOO_PLANK_DOOR.get().asItem()); + tag(ItemTags.WOODEN_SLABS) + .add(GrowthcraftApplesBlocks.APPLE_PLANK_SLAB.get().asItem()) + .add(GrowthcraftBambooBlocks.BAMBOO_PLANK_SLAB.get().asItem()); + tag(ItemTags.LOGS) + .add(GrowthcraftApplesBlocks.APPLE_WOOD_LOG.get().asItem()) + .add(GrowthcraftApplesBlocks.APPLE_WOOD_LOG_STRIPPED.get().asItem()) + .add(GrowthcraftBambooBlocks.BAMBOO_WOOD_LOG.get().asItem()) + .add(GrowthcraftBambooBlocks.BAMBOO_WOOD_LOG_STRIPPED.get().asItem()); + tag(ItemTags.WOODEN_STAIRS) + .add(GrowthcraftApplesBlocks.APPLE_PLANK_STAIRS.get().asItem()) + .add(GrowthcraftBambooBlocks.BAMBOO_PLANK_STAIRS.get().asItem()); + tag(ItemTags.WOODEN_FENCES) + .add(GrowthcraftApplesBlocks.APPLE_PLANK_FENCE.get().asItem()) + .add(GrowthcraftBambooBlocks.BAMBOO_PLANK_FENCE.get().asItem()); + tag(Tags.Items.FENCE_GATES_WOODEN) + .add(GrowthcraftApplesBlocks.APPLE_PLANK_FENCE_GATE.get().asItem()) + .add(GrowthcraftBambooBlocks.BAMBOO_PLANK_FENCE_GATE.get().asItem()); + tag(ItemTags.WOODEN_PRESSURE_PLATES) + .add(GrowthcraftApplesBlocks.APPLE_PLANK_PRESSURE_PLATE.get().asItem()) + .add(GrowthcraftBambooBlocks.BAMBOO_PLANK_PRESSURE_PLATE.get().asItem()); + tag(ItemTags.WOODEN_TRAPDOORS) + .add(GrowthcraftApplesBlocks.APPLE_PLANK_TRAPDOOR.get().asItem()) + .add(GrowthcraftBambooBlocks.BAMBOO_PLANK_TRAPDOOR.get().asItem()); + tag(ItemTags.LEAVES) + .add(GrowthcraftApplesBlocks.APPLE_TREE_LEAVES.get().asItem()); + + //Forge Tags + GrowthcraftCellarItems.ITEMS.getEntries().forEach(grain -> { + if(grain.getId().getPath().contains("grain")) { + tag(GrowthcraftCellarTags.Items.TAG_BARLEY) + .add(grain.get()); + tag(GrowthcraftCellarTags.Items.TAG_GRAIN) + .add(grain.get()); + } + }); + tag(GrowthcraftTags.Items.DUSTS_SALT) + .add(GrowthcraftItems.SALT.get()); + tag(GrowthcraftRiceTags.Items.TAG_CROPS_RICE) + .add(GrowthcraftRiceItems.RICE_STALK.get()); + tag(GrowthcraftRiceTags.Items.TAG_GRAIN_RICE) + .add(GrowthcraftRiceItems.RICE.get()); + } + + @Override + public String getName() { + return "Growthcraft Core Item Tags"; + } +} diff --git a/src/main/java/growthcraft/core/datagen/providers/GrowthcraftCoreLootTableProvider.java b/src/main/java/growthcraft/core/datagen/providers/GrowthcraftCoreLootTableProvider.java new file mode 100644 index 00000000..aa49579f --- /dev/null +++ b/src/main/java/growthcraft/core/datagen/providers/GrowthcraftCoreLootTableProvider.java @@ -0,0 +1,22 @@ +package growthcraft.core.datagen.providers; + +import java.util.Collections; +import java.util.List; + +import net.minecraft.data.PackOutput; +import net.minecraft.data.loot.LootTableProvider; +import net.minecraft.world.level.storage.loot.parameters.LootContextParamSets; + +public class GrowthcraftCoreLootTableProvider extends LootTableProvider{ + + public GrowthcraftCoreLootTableProvider(PackOutput output) { + super(output, Collections.emptySet(), List.of( + new LootTableProvider.SubProviderEntry(GrowthcraftCoreLootTables::new, LootContextParamSets.BLOCK) + )); + } + + @Override + public String getName() { + return "Growthcraft Core Loot Tables"; + } +} diff --git a/src/main/java/growthcraft/core/datagen/providers/GrowthcraftCoreLootTables.java b/src/main/java/growthcraft/core/datagen/providers/GrowthcraftCoreLootTables.java new file mode 100644 index 00000000..22665828 --- /dev/null +++ b/src/main/java/growthcraft/core/datagen/providers/GrowthcraftCoreLootTables.java @@ -0,0 +1,29 @@ +package growthcraft.core.datagen.providers; + +import java.util.Map; +import java.util.stream.Collectors; + +import growthcraft.core.block.RopeBlock; +import growthcraft.core.shared.Reference; +import growthcraft.lib.block.GrowthcraftBlock; +import net.minecraft.data.loot.packs.VanillaBlockLoot; +import net.minecraft.world.level.block.Block; +import net.minecraftforge.registries.ForgeRegistries; + +public class GrowthcraftCoreLootTables extends VanillaBlockLoot{ + + @Override + protected void generate() { + getKnownBlocks().forEach(block -> { + dropSelf(block); + }); + } + + @Override + protected Iterable getKnownBlocks() { + return ForgeRegistries.BLOCKS.getEntries().stream() + .filter(e -> e.getKey().location().getNamespace().equals(Reference.MODID)) + .map(Map.Entry::getValue) + .collect(Collectors.toList()); + } +} diff --git a/src/main/java/growthcraft/core/datagen/providers/GrowthcraftCoreRecipes.java b/src/main/java/growthcraft/core/datagen/providers/GrowthcraftCoreRecipes.java new file mode 100644 index 00000000..b57103ac --- /dev/null +++ b/src/main/java/growthcraft/core/datagen/providers/GrowthcraftCoreRecipes.java @@ -0,0 +1,253 @@ +package growthcraft.core.datagen.providers; + +import java.util.function.Consumer; + +import growthcraft.core.init.GrowthcraftBlocks; +import growthcraft.core.init.GrowthcraftItems; +import growthcraft.core.shared.Reference; +import net.minecraft.advancements.critereon.InventoryChangeTrigger; +import net.minecraft.data.PackOutput; +import net.minecraft.data.recipes.FinishedRecipe; +import net.minecraft.data.recipes.RecipeCategory; +import net.minecraft.data.recipes.RecipeProvider; +import net.minecraft.data.recipes.ShapedRecipeBuilder; +import net.minecraft.data.recipes.ShapelessRecipeBuilder; +import net.minecraft.resources.ResourceLocation; +import net.minecraft.world.item.Items; +import net.minecraftforge.common.Tags; + +public class GrowthcraftCoreRecipes extends RecipeProvider{ + + public GrowthcraftCoreRecipes(PackOutput packOutput) { + super(packOutput); + } + + @Override + protected void buildRecipes(Consumer consumer) { + ShapedRecipeBuilder.shaped(RecipeCategory.TOOLS, GrowthcraftItems.CROWBAR_BLACK.get()) + .pattern(" A") + .pattern("CBC") + .pattern("A ") + .define('A', Tags.Items.NUGGETS_IRON) + .define('B', Tags.Items.INGOTS_IRON) + .define('C', Items.BLACK_CARPET) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.IRON_INGOT)) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.TOOLS, GrowthcraftItems.CROWBAR_BLUE.get()) + .pattern(" A") + .pattern("CBC") + .pattern("A ") + .define('A', Tags.Items.NUGGETS_IRON) + .define('B', Tags.Items.INGOTS_IRON) + .define('C', Items.BLUE_CARPET) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.IRON_INGOT)) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.TOOLS, GrowthcraftItems.CROWBAR_BROWN.get()) + .pattern(" A") + .pattern("CBC") + .pattern("A ") + .define('A', Tags.Items.NUGGETS_IRON) + .define('B', Tags.Items.INGOTS_IRON) + .define('C', Items.BROWN_CARPET) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.IRON_INGOT)) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.TOOLS, GrowthcraftItems.CROWBAR_CYAN.get()) + .pattern(" A") + .pattern("CBC") + .pattern("A ") + .define('A', Tags.Items.NUGGETS_IRON) + .define('B', Tags.Items.INGOTS_IRON) + .define('C', Items.CYAN_CARPET) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.IRON_INGOT)) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.TOOLS, GrowthcraftItems.CROWBAR_GRAY.get()) + .pattern(" A") + .pattern("CBC") + .pattern("A ") + .define('A', Tags.Items.NUGGETS_IRON) + .define('B', Tags.Items.INGOTS_IRON) + .define('C', Items.GRAY_CARPET) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.IRON_INGOT)) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.TOOLS, GrowthcraftItems.CROWBAR_GREEN.get()) + .pattern(" A") + .pattern("CBC") + .pattern("A ") + .define('A', Tags.Items.NUGGETS_IRON) + .define('B', Tags.Items.INGOTS_IRON) + .define('C', Items.GREEN_CARPET) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.IRON_INGOT)) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.TOOLS, GrowthcraftItems.CROWBAR_LIGHT_BLUE.get()) + .pattern(" A") + .pattern("CBC") + .pattern("A ") + .define('A', Tags.Items.NUGGETS_IRON) + .define('B', Tags.Items.INGOTS_IRON) + .define('C', Items.LIGHT_BLUE_CARPET) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.IRON_INGOT)) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.TOOLS, GrowthcraftItems.CROWBAR_LIGHT_GRAY.get()) + .pattern(" A") + .pattern("CBC") + .pattern("A ") + .define('A', Tags.Items.NUGGETS_IRON) + .define('B', Tags.Items.INGOTS_IRON) + .define('C', Items.LIGHT_GRAY_CARPET) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.IRON_INGOT)) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.TOOLS, GrowthcraftItems.CROWBAR_LIME.get()) + .pattern(" A") + .pattern("CBC") + .pattern("A ") + .define('A', Tags.Items.NUGGETS_IRON) + .define('B', Tags.Items.INGOTS_IRON) + .define('C', Items.LIME_CARPET) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.IRON_INGOT)) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.TOOLS, GrowthcraftItems.CROWBAR_MAGENTA.get()) + .pattern(" A") + .pattern("CBC") + .pattern("A ") + .define('A', Tags.Items.NUGGETS_IRON) + .define('B', Tags.Items.INGOTS_IRON) + .define('C', Items.MAGENTA_CARPET) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.IRON_INGOT)) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.TOOLS, GrowthcraftItems.CROWBAR_ORANGE.get()) + .pattern(" A") + .pattern("CBC") + .pattern("A ") + .define('A', Tags.Items.NUGGETS_IRON) + .define('B', Tags.Items.INGOTS_IRON) + .define('C', Items.ORANGE_CARPET) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.IRON_INGOT)) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.TOOLS, GrowthcraftItems.CROWBAR_PINK.get()) + .pattern(" A") + .pattern("CBC") + .pattern("A ") + .define('A', Tags.Items.NUGGETS_IRON) + .define('B', Tags.Items.INGOTS_IRON) + .define('C', Items.PINK_CARPET) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.IRON_INGOT)) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.TOOLS, GrowthcraftItems.CROWBAR_PURPLE.get()) + .pattern(" A") + .pattern("CBC") + .pattern("A ") + .define('A', Tags.Items.NUGGETS_IRON) + .define('B', Tags.Items.INGOTS_IRON) + .define('C', Items.PURPLE_CARPET) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.IRON_INGOT)) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.TOOLS, GrowthcraftItems.CROWBAR_RED.get()) + .pattern(" A") + .pattern("CBC") + .pattern("A ") + .define('A', Tags.Items.NUGGETS_IRON) + .define('B', Tags.Items.INGOTS_IRON) + .define('C', Items.RED_CARPET) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.IRON_INGOT)) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.TOOLS, GrowthcraftItems.CROWBAR_WHITE.get()) + .pattern(" A") + .pattern("CBC") + .pattern("A ") + .define('A', Tags.Items.NUGGETS_IRON) + .define('B', Tags.Items.INGOTS_IRON) + .define('C', Items.WHITE_CARPET) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.IRON_INGOT)) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.TOOLS, GrowthcraftItems.CROWBAR_YELLOW.get()) + .pattern(" A") + .pattern("CBC") + .pattern("A ") + .define('A', Tags.Items.NUGGETS_IRON) + .define('B', Tags.Items.INGOTS_IRON) + .define('C', Items.YELLOW_CARPET) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.IRON_INGOT)) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.MISC, GrowthcraftItems.ROPE_LINEN.get(), 8) + .pattern("AAA") + .pattern("ABA") + .pattern("AAA") + .define('A', Items.STRING) + .define('B', Items.LEAD) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.LEAD)) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.MISC, GrowthcraftItems.ROPE_LINEN.get(), 8) + .pattern("AAA") + .pattern("ABA") + .pattern("AAA") + .define('A', Items.STRING) + .define('B', GrowthcraftItems.ROPE_LINEN.get()) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.LEAD)) + .save(consumer, new ResourceLocation(Reference.MODID,"rope_linen_lengthen")); + + ShapedRecipeBuilder.shaped(RecipeCategory.MISC, GrowthcraftBlocks.SALT_BLOCK.get()) + .pattern("###") + .pattern("###") + .pattern("###") + .define('#', GrowthcraftItems.SALT.get()) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(GrowthcraftItems.SALT.get())) + .save(consumer); + + ShapelessRecipeBuilder.shapeless(RecipeCategory.MISC, GrowthcraftItems.SALT.get(),9) + .requires(GrowthcraftBlocks.SALT_BLOCK.get()) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(GrowthcraftItems.SALT.get())) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.TOOLS, GrowthcraftItems.WRENCH.get()) + .pattern(" BB") + .pattern(" AB") + .pattern("A ") + .define('A', Tags.Items.INGOTS_IRON) + .define('B', Tags.Items.NUGGETS_IRON) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(GrowthcraftItems.SALT.get())) + .save(consumer); + } + + @Override + public String getName() { + return "Growthcraft Core Recipes"; + } +} diff --git a/src/main/java/growthcraft/core/init/GrowthcraftTags.java b/src/main/java/growthcraft/core/init/GrowthcraftTags.java index c4b67e9c..7edb7963 100644 --- a/src/main/java/growthcraft/core/init/GrowthcraftTags.java +++ b/src/main/java/growthcraft/core/init/GrowthcraftTags.java @@ -46,10 +46,14 @@ private static void init(){ public static final TagKey ROASTER_WRENCH = tag(Reference.UnlocalizedName.TAG_ROASTER_WRENCH); public static final TagKey SALT = tag(Reference.UnlocalizedName.TAG_SALT); + public static final TagKey DUSTS_SALT = forgeTag(Reference.UnlocalizedName.DUSTS_SALT); private static TagKey tag(String name) { return ItemTags.create(new ResourceLocation(Reference.MODID, name)); } + private static TagKey forgeTag(String name) { + return ItemTags.create(new ResourceLocation("forge", name)); + } } public static class Fluids { diff --git a/src/main/java/growthcraft/core/shared/Reference.java b/src/main/java/growthcraft/core/shared/Reference.java index 80f8b0dc..6e552323 100644 --- a/src/main/java/growthcraft/core/shared/Reference.java +++ b/src/main/java/growthcraft/core/shared/Reference.java @@ -56,6 +56,9 @@ public static class UnlocalizedName { public static final String TAG_HEATSOURCES = "heatsources"; public static final String WRENCH = "wrench"; public static final String CREATIVE_TAB = "tab"; + public static final String TAG_CROPS_RICE = "crops/rice"; + public static final String TAG_GRAIN_RICE = "grain/rice"; + public static final String DUSTS_SALT = "dusts/salt"; private UnlocalizedName() { /* Disable default public constructor. */ } diff --git a/src/main/java/growthcraft/lib/item/GrowthcraftItem.java b/src/main/java/growthcraft/lib/item/GrowthcraftItem.java index e5503307..6fc6e086 100644 --- a/src/main/java/growthcraft/lib/item/GrowthcraftItem.java +++ b/src/main/java/growthcraft/lib/item/GrowthcraftItem.java @@ -1,5 +1,6 @@ package growthcraft.lib.item; +import net.minecraft.world.item.DyeColor; import net.minecraft.world.item.Item; import net.minecraft.world.item.ItemStack; @@ -8,6 +9,7 @@ public class GrowthcraftItem extends Item { private int color; + private DyeColor dye; public GrowthcraftItem() { this(64); @@ -23,6 +25,11 @@ public GrowthcraftItem(int maxStackSize, Color color) { this(maxStackSize); this.color = color.getRGB(); } + + public GrowthcraftItem(DyeColor dye) { + this(64); + this.dye = dye; + } private static Properties getInitProperties(int maxStackSize) { Properties properties = new Properties(); @@ -37,4 +44,8 @@ public int getColor(ItemStack stack, int layer) { public int getColor(int layer) { return layer == 0 ? this.color : 0xFFFFFF; } + + public DyeColor getDyeColor() { + return this.dye; + } } diff --git a/src/main/java/growthcraft/milk/datagen/GrowthcraftMilkDataGenerators.java b/src/main/java/growthcraft/milk/datagen/GrowthcraftMilkDataGenerators.java index 10f24026..237e794d 100644 --- a/src/main/java/growthcraft/milk/datagen/GrowthcraftMilkDataGenerators.java +++ b/src/main/java/growthcraft/milk/datagen/GrowthcraftMilkDataGenerators.java @@ -2,6 +2,7 @@ import growthcraft.milk.datagen.providers.GrowthcraftMilkBlockStateProvider; import growthcraft.milk.datagen.providers.GrowthcraftMilkLootTableProvider; +import growthcraft.milk.datagen.providers.GrowthcraftMilkRecipes; import growthcraft.milk.init.GrowthcraftMilkItems; import growthcraft.milk.shared.Reference; import net.minecraft.data.DataGenerator; @@ -27,6 +28,7 @@ public static void gatherData(GatherDataEvent event) { ); generator.addProvider(event.includeClient(), new GrowthcraftMilkBlockStateProvider(output, helper)); + generator.addProvider(event.includeClient(), new GrowthcraftMilkRecipes(output)); } diff --git a/src/main/java/growthcraft/milk/datagen/providers/GrowthcraftMilkLootTableProvider.java b/src/main/java/growthcraft/milk/datagen/providers/GrowthcraftMilkLootTableProvider.java index 2e597ed6..1d505a60 100644 --- a/src/main/java/growthcraft/milk/datagen/providers/GrowthcraftMilkLootTableProvider.java +++ b/src/main/java/growthcraft/milk/datagen/providers/GrowthcraftMilkLootTableProvider.java @@ -11,7 +11,8 @@ public class GrowthcraftMilkLootTableProvider extends LootTableProvider { public GrowthcraftMilkLootTableProvider(PackOutput output) { super(output, Collections.emptySet(), List.of( - new LootTableProvider.SubProviderEntry(CheeseWheelLootTable::new, LootContextParamSets.BLOCK) + new LootTableProvider.SubProviderEntry(CheeseWheelLootTable::new, LootContextParamSets.BLOCK), + new LootTableProvider.SubProviderEntry(GrowthcraftMilkLootTables::new, LootContextParamSets.BLOCK) )); } } diff --git a/src/main/java/growthcraft/milk/datagen/providers/GrowthcraftMilkLootTables.java b/src/main/java/growthcraft/milk/datagen/providers/GrowthcraftMilkLootTables.java new file mode 100644 index 00000000..a0e9fa95 --- /dev/null +++ b/src/main/java/growthcraft/milk/datagen/providers/GrowthcraftMilkLootTables.java @@ -0,0 +1,83 @@ +package growthcraft.milk.datagen.providers; + +import java.util.LinkedList; +import java.util.List; +import java.util.Map; +import java.util.stream.Collectors; + +import growthcraft.milk.block.BaseCheeseWheel; +import growthcraft.milk.init.GrowthcraftMilkBlockEntities; +import growthcraft.milk.init.GrowthcraftMilkBlocks; +import growthcraft.milk.shared.Reference; +import net.minecraft.data.loot.packs.VanillaBlockLoot; +import net.minecraft.resources.ResourceLocation; +import net.minecraft.world.level.block.Block; +import net.minecraft.world.level.block.entity.BlockEntityType; +import net.minecraft.world.level.storage.loot.LootPool; +import net.minecraft.world.level.storage.loot.LootTable; +import net.minecraft.world.level.storage.loot.entries.DynamicLoot; +import net.minecraft.world.level.storage.loot.entries.LootItem; +import net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer; +import net.minecraft.world.level.storage.loot.functions.CopyNameFunction; +import net.minecraft.world.level.storage.loot.functions.CopyNbtFunction; +import net.minecraft.world.level.storage.loot.functions.SetContainerContents; +import net.minecraft.world.level.storage.loot.providers.nbt.ContextNbtProvider; +import net.minecraft.world.level.storage.loot.providers.number.ConstantValue; +import net.minecraftforge.registries.ForgeRegistries; + +public class GrowthcraftMilkLootTables extends VanillaBlockLoot{ + + @Override + protected void generate() { + createStandardTable(GrowthcraftMilkBlocks.CHEESE_PRESS.get(), GrowthcraftMilkBlockEntities.CHEESE_PRESS_BLOCK_ENTITY.get(), "inventory"); + createStandardTable(GrowthcraftMilkBlocks.CHURN.get(), GrowthcraftMilkBlockEntities.CHURN_BLOCK_ENTITY.get(), "inventory", "fluid_tank_input_0"); + createStandardTable(GrowthcraftMilkBlocks.MIXING_VAT.get(), GrowthcraftMilkBlockEntities.MIXING_VAT_BLOCK_ENTITY.get(), "inventory", "fluid_tank_input_0"); + createStandardTable(GrowthcraftMilkBlocks.PANCHEON.get(), GrowthcraftMilkBlockEntities.PANCHEON_BLOCK_ENTITY.get(), "inventory", "fluid_tank_input_0", "fluid_tank_output_0", "fluid_tank_output_1"); + } + + @Override + protected Iterable getKnownBlocks() { + List knownBlocks = new LinkedList(); + knownBlocks.add(GrowthcraftMilkBlocks.CHEESE_PRESS.get()); + knownBlocks.add(GrowthcraftMilkBlocks.CHURN.get()); + knownBlocks.add(GrowthcraftMilkBlocks.MIXING_VAT.get()); + knownBlocks.add(GrowthcraftMilkBlocks.PANCHEON.get()); +// excludedBlocks().forEach(e -> knownBlocks.remove(e)); + + return knownBlocks; + + } + + private List excludedBlocks() { + List excludedList = new LinkedList(); + excludedList.add(GrowthcraftMilkBlocks.THISTLE_CROP.get()); + excludedList.addAll(BaseCheeseWheel.Cheese.allCheeses().toList()); + excludedList.add(GrowthcraftMilkBlocks.APPENZELLER_CHEESE_CURDS.get()); + excludedList.add(GrowthcraftMilkBlocks.ASIAGO_CHEESE_CURDS.get()); + excludedList.add(GrowthcraftMilkBlocks.CASU_MARZU_CHEESE_CURDS.get()); + excludedList.add(GrowthcraftMilkBlocks.CHEDDAR_CHEESE_CURDS.get()); + excludedList.add(GrowthcraftMilkBlocks.EMMENTALER_CHEESE_CURDS.get()); + excludedList.add(GrowthcraftMilkBlocks.GORGONZOLA_CHEESE_CURDS.get()); + excludedList.add(GrowthcraftMilkBlocks.GOUDA_CHEESE_CURDS.get()); + excludedList.add(GrowthcraftMilkBlocks.MONTEREY_CHEESE_CURDS.get()); + excludedList.add(GrowthcraftMilkBlocks.PARMESAN_CHEESE_CURDS.get()); + excludedList.add(GrowthcraftMilkBlocks.RICOTTA_CHEESE_CURDS.get()); + excludedList.add(GrowthcraftMilkBlocks.PROVOLONE_CHEESE_CURDS.get()); + + return excludedList; + } + + private void createStandardTable(Block block, BlockEntityType type, String... tags) { + LootPoolSingletonContainer.Builder lti = LootItem.lootTableItem(block); + lti.apply(CopyNameFunction.copyName(CopyNameFunction.NameSource.BLOCK_ENTITY)); + for (String tag : tags) { + lti.apply(CopyNbtFunction.copyData(ContextNbtProvider.BLOCK_ENTITY).copy(tag, "BlockEntityTag." + tag, CopyNbtFunction.MergeStrategy.REPLACE)); + } + lti.apply(SetContainerContents.setContents(type).withEntry(DynamicLoot.dynamicEntry(new ResourceLocation("minecraft", "contents")))); + + LootPool.Builder builder = LootPool.lootPool() + .setRolls(ConstantValue.exactly(1)) + .add(lti); + add(block, LootTable.lootTable().withPool(builder)); + } +} diff --git a/src/main/java/growthcraft/milk/datagen/providers/GrowthcraftMilkRecipes.java b/src/main/java/growthcraft/milk/datagen/providers/GrowthcraftMilkRecipes.java new file mode 100644 index 00000000..d6cd2763 --- /dev/null +++ b/src/main/java/growthcraft/milk/datagen/providers/GrowthcraftMilkRecipes.java @@ -0,0 +1,262 @@ +package growthcraft.milk.datagen.providers; + +import java.util.function.Consumer; + +import growthcraft.apiary.init.GrowthcraftApiaryItems; +import growthcraft.cellar.init.GrowthcraftCellarBlocks; +import growthcraft.cellar.init.GrowthcraftCellarItems; +import growthcraft.core.init.GrowthcraftItems; +import growthcraft.milk.init.GrowthcraftMilkBlocks; +import growthcraft.milk.init.GrowthcraftMilkItems; +import growthcraft.milk.init.GrowthcraftMilkTags; +import growthcraft.milk.shared.Reference; +import net.minecraft.advancements.critereon.InventoryChangeTrigger; +import net.minecraft.advancements.critereon.ItemPredicate; +import net.minecraft.data.PackOutput; +import net.minecraft.data.recipes.FinishedRecipe; +import net.minecraft.data.recipes.RecipeCategory; +import net.minecraft.data.recipes.RecipeProvider; +import net.minecraft.data.recipes.ShapedRecipeBuilder; +import net.minecraft.data.recipes.ShapelessRecipeBuilder; +import net.minecraft.data.recipes.SingleItemRecipeBuilder; +import net.minecraft.tags.ItemTags; +import net.minecraft.world.item.Items; +import net.minecraft.world.item.crafting.Ingredient; +import net.minecraftforge.common.Tags; + +public class GrowthcraftMilkRecipes extends RecipeProvider{ + + public GrowthcraftMilkRecipes(PackOutput packOutput) { + super(packOutput); + } + + @Override + protected void buildRecipes(Consumer consumer) { + ShapedRecipeBuilder.shaped(RecipeCategory.MISC, GrowthcraftMilkItems.CHEESE_CLOTH.get()) + .pattern("sss") + .pattern("s s") + .pattern("sss") + .define('s', Items.STRING) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.IRON_INGOT)) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.MISC, GrowthcraftMilkBlocks.CHEESE_PRESS.get()) + .pattern("III") + .pattern("ICI") + .pattern("SSS") + .define('I', Tags.Items.INGOTS_IRON) + .define('C', Tags.Items.CHESTS_WOODEN) + .define('S', ItemTags.WOODEN_SLABS) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.IRON_INGOT)) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.MISC, GrowthcraftMilkBlocks.CHURN.get()) + .pattern(" S ") + .pattern("P P") + .pattern("PPP") + .define('P', ItemTags.PLANKS) + .define('S', Tags.Items.RODS_WOODEN) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(ItemPredicate.Builder.item().of(ItemTags.PLANKS).build())) + .save(consumer); + + ShapelessRecipeBuilder.shapeless(RecipeCategory.FOOD, GrowthcraftMilkItems.ICE_CREAM_APPLE.get()) + .requires(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS) + .requires(Items.APPLE) + .requires(Items.SUGAR) + .requires(Items.BOWL) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(ItemPredicate.Builder.item().of(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS).build())) + .save(consumer); + + ShapelessRecipeBuilder.shapeless(RecipeCategory.FOOD, GrowthcraftMilkItems.ICE_CREAM_CHOCOLATE.get()) + .requires(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS) + .requires(Items.COCOA_BEANS) + .requires(Items.SUGAR) + .requires(Items.BOWL) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(ItemPredicate.Builder.item().of(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS).build())) + .save(consumer); + + ShapelessRecipeBuilder.shapeless(RecipeCategory.FOOD, GrowthcraftMilkItems.ICE_CREAM_GRAPE_PURPLE.get()) + .requires(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS) + .requires(GrowthcraftCellarItems.GRAPE_PURPLE.get()) + .requires(Items.SUGAR) + .requires(Items.BOWL) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(ItemPredicate.Builder.item().of(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS).build())) + .save(consumer); + + ShapelessRecipeBuilder.shapeless(RecipeCategory.FOOD, GrowthcraftMilkItems.ICE_CREAM_GRAPE_RED.get()) + .requires(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS) + .requires(GrowthcraftCellarItems.GRAPE_RED.get()) + .requires(Items.SUGAR) + .requires(Items.BOWL) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(ItemPredicate.Builder.item().of(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS).build())) + .save(consumer); + + ShapelessRecipeBuilder.shapeless(RecipeCategory.FOOD, GrowthcraftMilkItems.ICE_CREAM_GRAPE_WHITE.get()) + .requires(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS) + .requires(GrowthcraftCellarItems.GRAPE_WHITE.get()) + .requires(Items.SUGAR) + .requires(Items.BOWL) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(ItemPredicate.Builder.item().of(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS).build())) + .save(consumer); + + ShapelessRecipeBuilder.shapeless(RecipeCategory.FOOD, GrowthcraftMilkItems.ICE_CREAM_HONEY.get()) + .requires(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS) + .requires(GrowthcraftApiaryItems.HONEY_COMB_FULL.get()) + .requires(Items.SUGAR) + .requires(Items.BOWL) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(ItemPredicate.Builder.item().of(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS).build())) + .save(consumer); + + ShapelessRecipeBuilder.shapeless(RecipeCategory.FOOD, GrowthcraftMilkItems.ICE_CREAM_PUMPKIN.get()) + .requires(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS) + .requires(Items.PUMPKIN) + .requires(Items.SUGAR) + .requires(Items.BOWL) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(ItemPredicate.Builder.item().of(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS).build())) + .save(consumer); + + ShapelessRecipeBuilder.shapeless(RecipeCategory.FOOD, GrowthcraftMilkItems.ICE_CREAM_WATERMELON.get()) + .requires(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS) + .requires(Items.MELON_SLICE) + .requires(Items.SUGAR) + .requires(Items.BOWL) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(ItemPredicate.Builder.item().of(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS).build())) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.MISC, GrowthcraftMilkItems.MILKING_BUCKET_IRON.get()) + .pattern("NNN") + .pattern("I I") + .pattern(" I ") + .define('N', Tags.Items.NUGGETS_IRON) + .define('I', Tags.Items.INGOTS_IRON) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.IRON_INGOT)) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.MISC, GrowthcraftMilkBlocks.MIXING_VAT.get()) + .pattern(" ") + .pattern(" B ") + .pattern("I I") + .define('B', GrowthcraftCellarBlocks.BREW_KETTLE.get()) + .define('I', Tags.Items.INGOTS_IRON) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(GrowthcraftCellarBlocks.BREW_KETTLE.get())) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.MISC, GrowthcraftMilkBlocks.PANCHEON.get()) + .pattern("C C") + .pattern("CCC") + .define('C', Items.CLAY_BALL) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.CLAY_BALL)) + .save(consumer); + + ShapelessRecipeBuilder.shapeless(RecipeCategory.FOOD, GrowthcraftMilkItems.BUTTER_SALTED.get()) + .requires(GrowthcraftMilkItems.BUTTER.get()) + .requires(GrowthcraftItems.SALT.get()) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(GrowthcraftMilkItems.BUTTER.get())) + .save(consumer); + + SingleItemRecipeBuilder.stonecutting(Ingredient.of(GrowthcraftMilkItems.THISTLE.get()), RecipeCategory.FOOD, GrowthcraftMilkItems.THISTLE_SEED.get(), 3) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(GrowthcraftMilkItems.THISTLE.get())) + .save(consumer); + + ShapelessRecipeBuilder.shapeless(RecipeCategory.FOOD, GrowthcraftMilkItems.YOGURT_APPLE.get()) + .requires(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS) + .requires(Items.APPLE) + .requires(GrowthcraftMilkItems.STARTER_CULTURE.get()) + .requires(Items.BOWL) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(ItemPredicate.Builder.item().of(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS).build())) + .save(consumer); + + ShapelessRecipeBuilder.shapeless(RecipeCategory.FOOD, GrowthcraftMilkItems.YOGURT_CHOCOLATE.get()) + .requires(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS) + .requires(Items.COCOA_BEANS) + .requires(GrowthcraftMilkItems.STARTER_CULTURE.get()) + .requires(Items.BOWL) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(ItemPredicate.Builder.item().of(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS).build())) + .save(consumer); + + ShapelessRecipeBuilder.shapeless(RecipeCategory.FOOD, GrowthcraftMilkItems.YOGURT_GRAPE_PURPLE.get()) + .requires(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS) + .requires(GrowthcraftCellarItems.GRAPE_PURPLE.get()) + .requires(GrowthcraftMilkItems.STARTER_CULTURE.get()) + .requires(Items.BOWL) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(ItemPredicate.Builder.item().of(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS).build())) + .save(consumer); + + ShapelessRecipeBuilder.shapeless(RecipeCategory.FOOD, GrowthcraftMilkItems.YOGURT_GRAPE_RED.get()) + .requires(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS) + .requires(GrowthcraftCellarItems.GRAPE_RED.get()) + .requires(GrowthcraftMilkItems.STARTER_CULTURE.get()) + .requires(Items.BOWL) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(ItemPredicate.Builder.item().of(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS).build())) + .save(consumer); + + ShapelessRecipeBuilder.shapeless(RecipeCategory.FOOD, GrowthcraftMilkItems.YOGURT_GRAPE_WHITE.get()) + .requires(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS) + .requires(GrowthcraftCellarItems.GRAPE_WHITE.get()) + .requires(GrowthcraftMilkItems.STARTER_CULTURE.get()) + .requires(Items.BOWL) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(ItemPredicate.Builder.item().of(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS).build())) + .save(consumer); + + ShapelessRecipeBuilder.shapeless(RecipeCategory.FOOD, GrowthcraftMilkItems.YOGURT_HONEY.get()) + .requires(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS) + .requires(GrowthcraftApiaryItems.HONEY_COMB_FULL.get()) + .requires(GrowthcraftMilkItems.STARTER_CULTURE.get()) + .requires(Items.BOWL) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(ItemPredicate.Builder.item().of(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS).build())) + .save(consumer); + + ShapelessRecipeBuilder.shapeless(RecipeCategory.FOOD, GrowthcraftMilkItems.YOGURT_PLAIN.get()) + .requires(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS) + .requires(GrowthcraftMilkItems.STARTER_CULTURE.get()) + .requires(Items.BOWL) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(ItemPredicate.Builder.item().of(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS).build())) + .save(consumer); + + ShapelessRecipeBuilder.shapeless(RecipeCategory.FOOD, GrowthcraftMilkItems.YOGURT_PUMPKIN.get()) + .requires(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS) + .requires(Items.PUMPKIN) + .requires(GrowthcraftMilkItems.STARTER_CULTURE.get()) + .requires(Items.BOWL) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(ItemPredicate.Builder.item().of(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS).build())) + .save(consumer); + + ShapelessRecipeBuilder.shapeless(RecipeCategory.FOOD, GrowthcraftMilkItems.YOGURT_WATERMELON.get()) + .requires(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS) + .requires(Items.MELON_SLICE) + .requires(GrowthcraftMilkItems.STARTER_CULTURE.get()) + .requires(Items.BOWL) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(ItemPredicate.Builder.item().of(GrowthcraftMilkTags.Items.TAG_MILK_BUCKETS).build())) + .save(consumer); + } + + @Override + public String getName() { + return "Growthcraft Milk Recipes"; + } +} diff --git a/src/main/java/growthcraft/milk/init/GrowthcraftMilkTags.java b/src/main/java/growthcraft/milk/init/GrowthcraftMilkTags.java index 1a7f9d29..1051c079 100644 --- a/src/main/java/growthcraft/milk/init/GrowthcraftMilkTags.java +++ b/src/main/java/growthcraft/milk/init/GrowthcraftMilkTags.java @@ -41,6 +41,8 @@ private static void init() { } public static final TagKey TAG_MIXING_VAT_TOOLS = tag(Reference.UnlocalizedName.TAG_MIXING_VAT_TOOLS); + public static final TagKey TAG_MILK_BUCKETS = tag(Reference.UnlocalizedName.TAG_MILK_BUCKETS); + public static final TagKey TAG_MILKABLE = tag(Reference.UnlocalizedName.TAG_MILKABLE); private static TagKey tag(String name) { return ItemTags.create(new ResourceLocation(Reference.MODID, name)); diff --git a/src/main/java/growthcraft/milk/shared/Reference.java b/src/main/java/growthcraft/milk/shared/Reference.java index aa5b5f36..e10d3b5e 100644 --- a/src/main/java/growthcraft/milk/shared/Reference.java +++ b/src/main/java/growthcraft/milk/shared/Reference.java @@ -81,6 +81,8 @@ public static class UnlocalizedName { public static final String YOGURT_PUMPKIN = "yogurt_pumpkin"; public static final String YOGURT_WATERMELON = "yogurt_watermelon"; public static final String TAG_MIXING_VAT_TOOLS = "mixing_vat_tools"; + public static final String TAG_MILK_BUCKETS = "milk_buckets"; + public static final String TAG_MILKABLE = "milkable"; private UnlocalizedName() { /* Disable Automatic Creation of Public Constructor */ diff --git a/src/main/java/growthcraft/rice/datagen/GrowthcraftRiceDataGenerators.java b/src/main/java/growthcraft/rice/datagen/GrowthcraftRiceDataGenerators.java new file mode 100644 index 00000000..32922696 --- /dev/null +++ b/src/main/java/growthcraft/rice/datagen/GrowthcraftRiceDataGenerators.java @@ -0,0 +1,21 @@ +package growthcraft.rice.datagen; + +import growthcraft.rice.datagen.providers.GrowthcraftRiceRecipes; +import growthcraft.rice.shared.Reference; +import net.minecraft.data.DataGenerator; +import net.minecraft.data.PackOutput; +import net.minecraftforge.data.event.GatherDataEvent; +import net.minecraftforge.eventbus.api.SubscribeEvent; +import net.minecraftforge.fml.common.Mod; + +@Mod.EventBusSubscriber(modid = Reference.MODID, bus = Mod.EventBusSubscriber.Bus.MOD) +public class GrowthcraftRiceDataGenerators { + + @SubscribeEvent + public static void gatherData(GatherDataEvent event) { + DataGenerator generator = event.getGenerator(); + PackOutput packOutput = generator.getPackOutput(); + + generator.addProvider(event.includeServer(), new GrowthcraftRiceRecipes(packOutput)); + } +} diff --git a/src/main/java/growthcraft/rice/datagen/providers/GrowthcraftRiceRecipes.java b/src/main/java/growthcraft/rice/datagen/providers/GrowthcraftRiceRecipes.java new file mode 100644 index 00000000..d68b0d48 --- /dev/null +++ b/src/main/java/growthcraft/rice/datagen/providers/GrowthcraftRiceRecipes.java @@ -0,0 +1,69 @@ +package growthcraft.rice.datagen.providers; + +import java.util.function.Consumer; + +import growthcraft.rice.init.GrowthcraftRiceItems; +import growthcraft.rice.shared.Reference; +import net.minecraft.advancements.critereon.InventoryChangeTrigger; +import net.minecraft.data.PackOutput; +import net.minecraft.data.recipes.FinishedRecipe; +import net.minecraft.data.recipes.RecipeCategory; +import net.minecraft.data.recipes.RecipeProvider; +import net.minecraft.data.recipes.ShapedRecipeBuilder; +import net.minecraft.data.recipes.SingleItemRecipeBuilder; +import net.minecraft.tags.ItemTags; +import net.minecraft.world.item.Items; +import net.minecraft.world.item.crafting.Ingredient; +import net.minecraftforge.common.Tags; + +public class GrowthcraftRiceRecipes extends RecipeProvider{ + + public GrowthcraftRiceRecipes(PackOutput packOutput) { + super(packOutput); + } + + @Override + protected void buildRecipes(Consumer consumer) { + ShapedRecipeBuilder.shaped(RecipeCategory.TOOLS, GrowthcraftRiceItems.CULTIVATOR.get()) + .pattern("iIi") + .pattern("iSi") + .pattern(" S ") + .define('i', Tags.Items.NUGGETS_IRON) + .define('I', Tags.Items.INGOTS_IRON) + .define('S', Tags.Items.RODS_WOODEN) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.IRON_INGOT)) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.TOOLS, GrowthcraftRiceItems.KNIFE.get()) + .pattern(" I") + .pattern(" I ") + .pattern("S ") + .define('I', Tags.Items.INGOTS_IRON) + .define('S', Tags.Items.RODS_WOODEN) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(Items.IRON_INGOT)) + .save(consumer); + + SingleItemRecipeBuilder.stonecutting(Ingredient.of(GrowthcraftRiceItems.RICE_STALK.get()), RecipeCategory.FOOD, GrowthcraftRiceItems.RICE.get()) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(GrowthcraftRiceItems.RICE_STALK.get())) + .save(consumer); + + ShapedRecipeBuilder.shaped(RecipeCategory.FOOD, GrowthcraftRiceItems.SUSHI_ROLL.get()) + .pattern("F") + .pattern("R") + .pattern("K") + .define('F', ItemTags.FISHES) + .define('R', GrowthcraftRiceItems.RICE_COOKED.get()) + .define('K', Items.KELP) + .group(Reference.MODID) + .unlockedBy("has_item", InventoryChangeTrigger.TriggerInstance.hasItems(GrowthcraftRiceItems.RICE_COOKED.get())) + .save(consumer); + } + + @Override + public String getName() { + return "Growthcraft Rice Recipes"; + } +} diff --git a/src/main/java/growthcraft/rice/init/GrowthcraftRiceTags.java b/src/main/java/growthcraft/rice/init/GrowthcraftRiceTags.java new file mode 100644 index 00000000..9aa6e6a1 --- /dev/null +++ b/src/main/java/growthcraft/rice/init/GrowthcraftRiceTags.java @@ -0,0 +1,62 @@ +package growthcraft.rice.init; + +import growthcraft.core.shared.Reference; +import net.minecraft.resources.ResourceLocation; +import net.minecraft.tags.BlockTags; +import net.minecraft.tags.FluidTags; +import net.minecraft.tags.ItemTags; +import net.minecraft.tags.TagKey; +import net.minecraft.world.item.Item; +import net.minecraft.world.level.block.Block; +import net.minecraft.world.level.material.Fluid; + +public class GrowthcraftRiceTags { + public static void init() { + Blocks.init(); + Items.init(); + Fluids.init(); + } + + private GrowthcraftRiceTags() { + /* Private constructor to hide the implicit public one. */ + } + + public static class Blocks { + + private static void init(){ + // Do nothing, simply instantiate static variables + } + + private static TagKey tag(String name) { + return BlockTags.create(new ResourceLocation(Reference.MODID, name)); + } + } + + public static class Items { + + private static void init(){ + // Do nothing, simply instantiate static variables + } + + public static final TagKey TAG_CROPS_RICE = forgeTag(Reference.UnlocalizedName.TAG_CROPS_RICE); + public static final TagKey TAG_GRAIN_RICE = forgeTag(Reference.UnlocalizedName.TAG_GRAIN_RICE); + + private static TagKey tag(String name) { + return ItemTags.create(new ResourceLocation(Reference.MODID, name)); + } + + private static TagKey forgeTag(String name) { + return ItemTags.create(new ResourceLocation("forge", name)); + } + } + + public static class Fluids { + private static void init() { + // Do nothing, simply instantiate static variables + } + + private static TagKey tag(String name) { + return FluidTags.create(new ResourceLocation(Reference.MODID, name)); + } + } +} diff --git a/src/main/resources/META-INF/accesstransformer.cfg b/src/main/resources/META-INF/accesstransformer.cfg index e69de29b..83fb67be 100644 --- a/src/main/resources/META-INF/accesstransformer.cfg +++ b/src/main/resources/META-INF/accesstransformer.cfg @@ -0,0 +1,4 @@ +# LootTableProvider +#public-f net.minecraft.data.loot.LootTableProvider m_6055_ +public-f net.minecraft.data.loot.LootTableProvider m_6055_()Ljava/lang/String; # getName +public-f net.minecraft.data.recipes.RecipeProvider m_6055_()Ljava/lang/String; # getName \ No newline at end of file diff --git a/src/main/resources/data/forge/tags/blocks/ores_in_ground/deepslate.json b/src/main/resources/data/forge/tags/blocks/ores_in_ground/deepslate.json deleted file mode 100644 index b244b9d0..00000000 --- a/src/main/resources/data/forge/tags/blocks/ores_in_ground/deepslate.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "growthcraft:salt_ore_deepslate" - ] -} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft/loot_tables/blocks/salt_ore.json b/src/main/resources/data/growthcraft/loot_tables/blocks/salt_ore.json deleted file mode 100644 index 54a1d83c..00000000 --- a/src/main/resources/data/growthcraft/loot_tables/blocks/salt_ore.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "bonus_rolls": 0.0, - "entries": [ - { - "type": "minecraft:alternatives", - "children": [ - { - "type": "minecraft:item", - "conditions": [ - { - "condition": "minecraft:match_tool", - "predicate": { - "enchantments": [ - { - "enchantment": "minecraft:silk_touch", - "levels": { - "min": 1 - } - } - ] - } - } - ], - "name": "growthcraft:salt_ore" - }, - { - "type": "minecraft:item", - "functions": [ - { - "enchantment": "minecraft:fortune", - "formula": "minecraft:ore_drops", - "function": "minecraft:apply_bonus" - }, - { - "function": "minecraft:explosion_decay" - } - ], - "name": "growthcraft:salt" - } - ] - } - ], - "rolls": 1.0 - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_birch.json b/src/main/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_birch.json deleted file mode 100644 index 64857710..00000000 --- a/src/main/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_birch.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:item", - "name": "growthcraft_apiary:bee_box_birch" - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_oak.json b/src/main/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_oak.json deleted file mode 100644 index 8bb843b2..00000000 --- a/src/main/resources/data/growthcraft_apiary/loot_tables/blocks/bee_box_oak.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:item", - "name": "growthcraft_apiary:bee_box_oak" - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/recipes/bee_box_cherry.json b/src/main/resources/data/growthcraft_apiary/recipes/bee_box_cherry.json deleted file mode 100644 index d57be874..00000000 --- a/src/main/resources/data/growthcraft_apiary/recipes/bee_box_cherry.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "type": "minecraft:crafting_shaped", - "pattern": [ - "SPS", - "PBP", - "SPS" - ], - "key": { - "B": { - "item": "minecraft:cherry_slab" - }, - "P": { - "item": "minecraft:cherry_planks" - }, - "S": { - "tag": "forge:rods/wooden" - } - }, - "result": { - "item": "growthcraft_apiary:bee_box_cherry" - } -} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apiary/recipes/bee_box_mangrove.json b/src/main/resources/data/growthcraft_apiary/recipes/bee_box_mangrove.json deleted file mode 100644 index 1c6888c7..00000000 --- a/src/main/resources/data/growthcraft_apiary/recipes/bee_box_mangrove.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "type": "minecraft:crafting_shaped", - "pattern": [ - "SPS", - "PBP", - "SPS" - ], - "key": { - "B": { - "item": "minecraft:mangrove_slab" - }, - "P": { - "item": "minecraft:mangrove_planks" - }, - "S": { - "tag": "forge:rods/wooden" - } - }, - "result": { - "item": "growthcraft_apiary:bee_box_mangrove" - } -} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank.json b/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank.json deleted file mode 100644 index ec72d68b..00000000 --- a/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_plank.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:item", - "name": "growthcraft_apples:apple_plank" - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_tree_leaves.json b/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_tree_leaves.json deleted file mode 100644 index c7dc5418..00000000 --- a/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_tree_leaves.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "bonus_rolls": 0.0, - "conditions": [ - { - "condition": "minecraft:inverted", - "term": { - "condition": "minecraft:any_of", - "terms": [ - { - "action": "shears_dig", - "condition": "forge:can_tool_perform_action" - }, - { - "condition": "minecraft:match_tool", - "predicate": { - "enchantments": [ - { - "enchantment": "minecraft:silk_touch", - "levels": { - "min": 1 - } - } - ] - } - } - ] - } - } - ], - "entries": [ - { - "type": "minecraft:item", - "conditions": [ - { - "chances": [ - 0.02, - 0.022222223, - 0.025, - 0.033333335, - 0.1 - ], - "condition": "minecraft:table_bonus", - "enchantment": "minecraft:fortune" - } - ], - "functions": [ - { - "add": false, - "count": { - "type": "minecraft:uniform", - "max": 2.0, - "min": 1.0 - }, - "function": "minecraft:set_count" - }, - { - "function": "minecraft:explosion_decay" - } - ], - "name": "minecraft:stick" - } - ], - "rolls": 1.0 - } - ], - "random_sequence": "growthcraft_apples:blocks/apple_tree_leaves" -} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_wood.json b/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_wood.json deleted file mode 100644 index f8140d8d..00000000 --- a/src/main/resources/data/growthcraft_apples/loot_tables/blocks/apple_wood.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:item", - "name": "growthcraft_apples:apple_wood" - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apples/loot_tables/blocks/bee_box_apple.json b/src/main/resources/data/growthcraft_apples/loot_tables/blocks/bee_box_apple.json deleted file mode 100644 index 14e7fe23..00000000 --- a/src/main/resources/data/growthcraft_apples/loot_tables/blocks/bee_box_apple.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:item", - "name": "growthcraft_apples:bee_box_apple" - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_apples/recipes/apple_plank.json b/src/main/resources/data/growthcraft_apples/recipes/apple_plank.json deleted file mode 100644 index 540019cb..00000000 --- a/src/main/resources/data/growthcraft_apples/recipes/apple_plank.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "type": "minecraft:crafting_shapeless", - "group": "planks", - "ingredients": [ - { - "tag": "growthcraft_apples:apple_wood_logs" - } - ], - "result": { - "item": "growthcraft_apples:apple_plank", - "count": 4 - } -} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank.json b/src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank.json deleted file mode 100644 index 5f93ae73..00000000 --- a/src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:item", - "name": "growthcraft_bamboo:bamboo_plank" - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_door.json b/src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_door.json deleted file mode 100644 index c3439bf3..00000000 --- a/src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_door.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "bonus_rolls": 0.0, - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ], - "entries": [ - { - "type": "minecraft:item", - "conditions": [ - { - "block": "growthcraft_bamboo:bamboo_plank_door", - "condition": "minecraft:block_state_property", - "properties": { - "half": "lower" - } - } - ], - "name": "growthcraft_bamboo:bamboo_plank_door" - } - ], - "rolls": 1.0 - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_slab.json b/src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_slab.json deleted file mode 100644 index cba84ff8..00000000 --- a/src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_plank_slab.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:item", - "functions": [ - { - "function": "minecraft:set_count", - "conditions": [ - { - "condition": "minecraft:block_state_property", - "block": "growthcraft_bamboo:bamboo_plank_slab", - "properties": { - "type": "double" - } - } - ], - "count": 2 - }, - { - "function": "minecraft:explosion_decay" - } - ], - "name": "growthcraft_bamboo:bamboo_plank_slab" - } - ] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_wood.json b/src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_wood.json deleted file mode 100644 index fa58fdef..00000000 --- a/src/main/resources/data/growthcraft_bamboo/loot_tables/blocks/bamboo_wood.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:item", - "name": "growthcraft_bamboo:bamboo_wood" - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_bamboo/recipes/bamboo_plank.json b/src/main/resources/data/growthcraft_bamboo/recipes/bamboo_plank.json deleted file mode 100644 index f23c5abe..00000000 --- a/src/main/resources/data/growthcraft_bamboo/recipes/bamboo_plank.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "type": "minecraft:crafting_shapeless", - "group": "planks", - "ingredients": [ - { - "tag": "growthcraft_bamboo:bamboo_wood" - } - ], - "result": { - "item": "growthcraft_bamboo:bamboo_plank", - "count": 4 - } -} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_bamboo/recipes/bamboo_wood_log.json b/src/main/resources/data/growthcraft_bamboo/recipes/bamboo_wood_log.json deleted file mode 100644 index 40424cd6..00000000 --- a/src/main/resources/data/growthcraft_bamboo/recipes/bamboo_wood_log.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "type": "minecraft:stonecutting", - "ingredient": { - "item": "minecraft:bamboo" - }, - "result": "growthcraft_bamboo:bamboo_wood_log", - "count": 1 -} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_bamboo/tags/blocks/bamboo_wood.json b/src/main/resources/data/growthcraft_bamboo/tags/blocks/bamboo_wood.json deleted file mode 100644 index fc6d27df..00000000 --- a/src/main/resources/data/growthcraft_bamboo/tags/blocks/bamboo_wood.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "replace": false, - "values": [ - "growthcraft_bamboo:bamboo_wood_log", - "growthcraft_bamboo:bamboo_wood", - "growthcraft_bamboo:bamboo_wood_log_stripped", - "growthcraft_bamboo:bamboo_wood_stripped" - ] -} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_bamboo/tags/blocks/bamboo_wood_logs.json b/src/main/resources/data/growthcraft_bamboo/tags/blocks/bamboo_wood_logs.json deleted file mode 100644 index 559e8ce9..00000000 --- a/src/main/resources/data/growthcraft_bamboo/tags/blocks/bamboo_wood_logs.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "growthcraft_bamboo:bamboo_wood_log", - "growthcraft_bamboo:bamboo_wood" - ] -} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_bamboo/tags/items/bamboo_wood.json b/src/main/resources/data/growthcraft_bamboo/tags/items/bamboo_wood.json deleted file mode 100644 index fc6d27df..00000000 --- a/src/main/resources/data/growthcraft_bamboo/tags/items/bamboo_wood.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "replace": false, - "values": [ - "growthcraft_bamboo:bamboo_wood_log", - "growthcraft_bamboo:bamboo_wood", - "growthcraft_bamboo:bamboo_wood_log_stripped", - "growthcraft_bamboo:bamboo_wood_stripped" - ] -} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_bamboo/tags/items/bamboo_wood_logs.json b/src/main/resources/data/growthcraft_bamboo/tags/items/bamboo_wood_logs.json deleted file mode 100644 index 559e8ce9..00000000 --- a/src/main/resources/data/growthcraft_bamboo/tags/items/bamboo_wood_logs.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "growthcraft_bamboo:bamboo_wood_log", - "growthcraft_bamboo:bamboo_wood" - ] -} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_cellar/loot_tables/blocks/brew_kettle.json b/src/main/resources/data/growthcraft_cellar/loot_tables/blocks/brew_kettle.json deleted file mode 100644 index 907a0d91..00000000 --- a/src/main/resources/data/growthcraft_cellar/loot_tables/blocks/brew_kettle.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:item", - "name": "growthcraft_cellar:brew_kettle" - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_cellar/loot_tables/blocks/culture_jar.json b/src/main/resources/data/growthcraft_cellar/loot_tables/blocks/culture_jar.json deleted file mode 100644 index f84ae41a..00000000 --- a/src/main/resources/data/growthcraft_cellar/loot_tables/blocks/culture_jar.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:item", - "name": "growthcraft_cellar:culture_jar" - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_cellar/loot_tables/blocks/fermentation_barrel_oak.json b/src/main/resources/data/growthcraft_cellar/loot_tables/blocks/fermentation_barrel_oak.json deleted file mode 100644 index c3b041d3..00000000 --- a/src/main/resources/data/growthcraft_cellar/loot_tables/blocks/fermentation_barrel_oak.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:item", - "name": "growthcraft_cellar:fermentation_barrel_oak" - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_cellar/loot_tables/blocks/fruit_press.json b/src/main/resources/data/growthcraft_cellar/loot_tables/blocks/fruit_press.json deleted file mode 100644 index 0374989b..00000000 --- a/src/main/resources/data/growthcraft_cellar/loot_tables/blocks/fruit_press.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:item", - "name": "growthcraft_cellar:fruit_press" - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_cellar/loot_tables/blocks/fruit_press_piston.json b/src/main/resources/data/growthcraft_cellar/loot_tables/blocks/fruit_press_piston.json deleted file mode 100644 index 0374989b..00000000 --- a/src/main/resources/data/growthcraft_cellar/loot_tables/blocks/fruit_press_piston.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:item", - "name": "growthcraft_cellar:fruit_press" - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_cellar/loot_tables/blocks/roaster.json b/src/main/resources/data/growthcraft_cellar/loot_tables/blocks/roaster.json deleted file mode 100644 index 6b930f4f..00000000 --- a/src/main/resources/data/growthcraft_cellar/loot_tables/blocks/roaster.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:item", - "name": "growthcraft_cellar:roaster" - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_milk/loot_tables/blocks/cheese_press.json b/src/main/resources/data/growthcraft_milk/loot_tables/blocks/cheese_press.json deleted file mode 100644 index 6a552ec1..00000000 --- a/src/main/resources/data/growthcraft_milk/loot_tables/blocks/cheese_press.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:item", - "name": "growthcraft_milk:cheese_press" - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_milk/loot_tables/blocks/churn.json b/src/main/resources/data/growthcraft_milk/loot_tables/blocks/churn.json deleted file mode 100644 index fe94c8f3..00000000 --- a/src/main/resources/data/growthcraft_milk/loot_tables/blocks/churn.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:item", - "name": "growthcraft_milk:churn" - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_milk/loot_tables/blocks/mixing_vat.json b/src/main/resources/data/growthcraft_milk/loot_tables/blocks/mixing_vat.json deleted file mode 100644 index 68dcc720..00000000 --- a/src/main/resources/data/growthcraft_milk/loot_tables/blocks/mixing_vat.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:item", - "name": "growthcraft_milk:mixing_vat" - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_milk/loot_tables/blocks/pancheon.json b/src/main/resources/data/growthcraft_milk/loot_tables/blocks/pancheon.json deleted file mode 100644 index 23e6c7bd..00000000 --- a/src/main/resources/data/growthcraft_milk/loot_tables/blocks/pancheon.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:item", - "name": "growthcraft_milk:pancheon" - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/data/growthcraft_milk/tags/items/mixing_vat_tools.json b/src/main/resources/data/growthcraft_milk/tags/items/mixing_vat_tools.json deleted file mode 100644 index 64fdb983..00000000 --- a/src/main/resources/data/growthcraft_milk/tags/items/mixing_vat_tools.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "replace": false, - "values": [ - "#minecraft:swords", - "#forge:rods/wooden", - "growthcraft_milk:cheese_cloth" - ] -} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/tags/blocks/buttons.json b/src/main/resources/data/minecraft/tags/blocks/buttons.json deleted file mode 100644 index 13443045..00000000 --- a/src/main/resources/data/minecraft/tags/blocks/buttons.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "growthcraft_apples:apple_plank_button", - "growthcraft_bamboo:bamboo_plank_button" - ] -} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/tags/blocks/doors.json b/src/main/resources/data/minecraft/tags/blocks/doors.json deleted file mode 100644 index 033a211e..00000000 --- a/src/main/resources/data/minecraft/tags/blocks/doors.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "growthcraft_apples:apple_plank_door", - "growthcraft_bamboo:bamboo_plank_door" - ] -} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/tags/blocks/fences.json b/src/main/resources/data/minecraft/tags/blocks/fences.json deleted file mode 100644 index bc6f3f28..00000000 --- a/src/main/resources/data/minecraft/tags/blocks/fences.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "growthcraft_apples:apple_plank_fence", - "growthcraft_bamboo:bamboo_plank_fence" - ] -} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/tags/blocks/logs.json b/src/main/resources/data/minecraft/tags/blocks/logs.json deleted file mode 100644 index b3439598..00000000 --- a/src/main/resources/data/minecraft/tags/blocks/logs.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "replace": false, - "values": [ - "growthcraft_bamboo:bamboo_wood", - "growthcraft_bamboo:bamboo_wood_log", - "growthcraft_bamboo:bamboo_wood_log_stripped", - "growthcraft_apples:apple_wood", - "growthcraft_apples:apple_wood_log", - "growthcraft_apples:apple_wood_log_stripped" - ] -} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/tags/blocks/logs_that_burn.json b/src/main/resources/data/minecraft/tags/blocks/logs_that_burn.json deleted file mode 100644 index d5b1a710..00000000 --- a/src/main/resources/data/minecraft/tags/blocks/logs_that_burn.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - "#growthcraft_bamboo:bamboo_wood" - ] -} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/tags/blocks/mineable/hoe.json b/src/main/resources/data/minecraft/tags/blocks/mineable/hoe.json deleted file mode 100644 index e14f1ee7..00000000 --- a/src/main/resources/data/minecraft/tags/blocks/mineable/hoe.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - - ] -} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/tags/blocks/mineable/shovel.json b/src/main/resources/data/minecraft/tags/blocks/mineable/shovel.json deleted file mode 100644 index e14f1ee7..00000000 --- a/src/main/resources/data/minecraft/tags/blocks/mineable/shovel.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "replace": false, - "values": [ - - ] -} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/tags/blocks/needs_diamond_tool.json b/src/main/resources/data/minecraft/tags/blocks/needs_diamond_tool.json deleted file mode 100644 index a22514f6..00000000 --- a/src/main/resources/data/minecraft/tags/blocks/needs_diamond_tool.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "replace": false, - "values": [ - ] -} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/tags/blocks/needs_iron_tool.json b/src/main/resources/data/minecraft/tags/blocks/needs_iron_tool.json deleted file mode 100644 index a22514f6..00000000 --- a/src/main/resources/data/minecraft/tags/blocks/needs_iron_tool.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "replace": false, - "values": [ - ] -} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/tags/blocks/needs_stone_tool.json b/src/main/resources/data/minecraft/tags/blocks/needs_stone_tool.json deleted file mode 100644 index 74d0f21e..00000000 --- a/src/main/resources/data/minecraft/tags/blocks/needs_stone_tool.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "replace": false, - "values": [ - "growthcraft:salt_ore", - "growthcraft:salt_ore_deepslate", - "growthcraft:salt_ore_nether", - "growthcraft:salt_ore_end" - ] -} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/tags/blocks/pressure_plates.json b/src/main/resources/data/minecraft/tags/blocks/pressure_plates.json deleted file mode 100644 index 7a98cb08..00000000 --- a/src/main/resources/data/minecraft/tags/blocks/pressure_plates.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "growthcraft_apples:apple_plank_pressure_plate", - "growthcraft_bamboo:bamboo_plank_pressure_plate" - ] -} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/tags/blocks/stairs.json b/src/main/resources/data/minecraft/tags/blocks/stairs.json deleted file mode 100644 index 6bc005b4..00000000 --- a/src/main/resources/data/minecraft/tags/blocks/stairs.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "growthcraft_apples:apple_plank_stairs", - "growthcraft_bamboo:bamboo_plank_stairs" - ] -} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/tags/blocks/trapdoors.json b/src/main/resources/data/minecraft/tags/blocks/trapdoors.json deleted file mode 100644 index 6dcf52f4..00000000 --- a/src/main/resources/data/minecraft/tags/blocks/trapdoors.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "growthcraft_bamboo:bamboo_plank_trapdoor", - "growthcraft_apples:apple_plank_trapdoor" - ] -} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/tags/items/buttons.json b/src/main/resources/data/minecraft/tags/items/buttons.json deleted file mode 100644 index 13443045..00000000 --- a/src/main/resources/data/minecraft/tags/items/buttons.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "growthcraft_apples:apple_plank_button", - "growthcraft_bamboo:bamboo_plank_button" - ] -} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/tags/items/doors.json b/src/main/resources/data/minecraft/tags/items/doors.json deleted file mode 100644 index 033a211e..00000000 --- a/src/main/resources/data/minecraft/tags/items/doors.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "growthcraft_apples:apple_plank_door", - "growthcraft_bamboo:bamboo_plank_door" - ] -} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/tags/items/logs.json b/src/main/resources/data/minecraft/tags/items/logs.json deleted file mode 100644 index 8ecbbdb0..00000000 --- a/src/main/resources/data/minecraft/tags/items/logs.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "growthcraft_apples:apple_wood_log", - "growthcraft_bamboo:bamboo_wood_log" - ] -} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/tags/items/trapdoors.json b/src/main/resources/data/minecraft/tags/items/trapdoors.json deleted file mode 100644 index 6dcf52f4..00000000 --- a/src/main/resources/data/minecraft/tags/items/trapdoors.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "replace": false, - "values": [ - "growthcraft_bamboo:bamboo_plank_trapdoor", - "growthcraft_apples:apple_plank_trapdoor" - ] -} \ No newline at end of file