From a3dc8b6ac6ae66c11ada5a6def35d6b7702b908e Mon Sep 17 00:00:00 2001 From: modmuss Date: Tue, 10 Sep 2024 13:17:13 +0100 Subject: [PATCH] Fix Recipe Provider not calling generate (#4078) * Fix Recipe Provider not calling generate * Commit data generated files to repo --- fabric-data-generation-api-v1/.gitignore | 2 +- .../v1/provider/FabricRecipeProvider.java | 3 +- .../blockstates/block_that_drops_nothing.json | 7 +++ .../block_with_vanilla_loot_table.json | 7 +++ .../blockstates/block_without_item.json | 7 +++ .../blockstates/block_without_loot_table.json | 7 +++ .../blockstates/simple_block.json | 7 +++ .../lang/en_us.json | 7 +++ .../lang/ja_jp.json | 5 +++ .../block/block_that_drops_nothing.json | 6 +++ .../block/block_with_vanilla_loot_table.json | 6 +++ .../models/block/block_without_item.json | 6 +++ .../block/block_without_loot_table.json | 6 +++ .../models/block/simple_block.json | 6 +++ .../models/item/simple_block.json | 3 ++ .../recipes/building_blocks/simple_block.json | 32 ++++++++++++++ .../advancement/recipes/misc/beacon.json | 32 ++++++++++++++ .../advancement/recipes/misc/diamond.json | 37 ++++++++++++++++ .../recipes/misc/diamond_block.json | 32 ++++++++++++++ .../advancement/recipes/misc/diamond_ore.json | 41 ++++++++++++++++++ .../advancement/recipes/misc/emerald.json | 42 ++++++++++++++++++ .../advancement/recipes/misc/gold_block.json | 43 +++++++++++++++++++ .../advancement/recipes/misc/gold_ingot.json | 40 +++++++++++++++++ .../advancement/recipes/misc/torch.json | 32 ++++++++++++++ .../advancement/test/root.json | 28 ++++++++++++ .../advancement/test/root_not_loaded.json | 36 ++++++++++++++++ .../biome_entry/custom_codec_test.json | 3 ++ .../test_datagen_dynamic/tiny_potato.json | 11 +++++ .../loot_table/blocks/block_without_item.json | 20 +++++++++ .../loot_table/blocks/simple_block.json | 34 +++++++++++++++ .../predicate/predicate_test.json | 4 ++ .../recipe/beacon.json | 25 +++++++++++ .../recipe/diamond.json | 16 +++++++ .../recipe/diamond_block.json | 25 +++++++++++ .../recipe/diamond_ore.json | 20 +++++++++ .../recipe/emerald.json | 22 ++++++++++ .../recipe/gold_block.json | 17 ++++++++ .../recipe/gold_ingot.json | 19 ++++++++ .../recipe/simple_block.json | 12 ++++++ .../recipe/torch.json | 17 ++++++++ .../tags/game_event/game_event_tag_test.json | 5 +++ .../tags/worldgen/biome/biome_tag_test.json | 7 +++ .../loot_table/gameplay/piglin_bartering.json | 20 +++++++++ .../minecraft/tags/block/acacia_logs.json | 5 +++ .../data/minecraft/tags/block/dirt.json | 5 +++ .../data/minecraft/tags/block/fire.json | 6 +++ .../data/minecraft/tags/item/dirt.json | 5 +++ .../test_datagen_dynamic/tinier_potato.json | 3 ++ 48 files changed, 779 insertions(+), 2 deletions(-) create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/blockstates/block_that_drops_nothing.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/blockstates/block_with_vanilla_loot_table.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/blockstates/block_without_item.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/blockstates/block_without_loot_table.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/blockstates/simple_block.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/lang/en_us.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/lang/ja_jp.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/models/block/block_that_drops_nothing.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/models/block/block_with_vanilla_loot_table.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/models/block/block_without_item.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/models/block/block_without_loot_table.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/models/block/simple_block.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/models/item/simple_block.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/building_blocks/simple_block.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/beacon.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/diamond.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/diamond_block.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/diamond_ore.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/emerald.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/gold_block.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/gold_ingot.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/torch.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/test/root.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/test/root_not_loaded.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/biome_entry/custom_codec_test.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/fabric/test_datagen_dynamic/tiny_potato.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/loot_table/blocks/block_without_item.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/loot_table/blocks/simple_block.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/predicate/predicate_test.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/beacon.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/diamond.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/diamond_block.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/diamond_ore.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/emerald.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/gold_block.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/gold_ingot.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/simple_block.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/torch.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/tags/game_event/game_event_tag_test.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/tags/worldgen/biome/biome_tag_test.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/data/minecraft/loot_table/gameplay/piglin_bartering.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/data/minecraft/tags/block/acacia_logs.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/data/minecraft/tags/block/dirt.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/data/minecraft/tags/block/fire.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/data/minecraft/tags/item/dirt.json create mode 100644 fabric-data-generation-api-v1/src/testmod/generated/resourcepacks/extra/data/fabric-data-gen-api-v1-testmod/fabric/test_datagen_dynamic/tinier_potato.json diff --git a/fabric-data-generation-api-v1/.gitignore b/fabric-data-generation-api-v1/.gitignore index f5c793e10..cb2228995 100644 --- a/fabric-data-generation-api-v1/.gitignore +++ b/fabric-data-generation-api-v1/.gitignore @@ -1 +1 @@ -/src/testmod/generated +/src/testmod/generated/.cache diff --git a/fabric-data-generation-api-v1/src/main/java/net/fabricmc/fabric/api/datagen/v1/provider/FabricRecipeProvider.java b/fabric-data-generation-api-v1/src/main/java/net/fabricmc/fabric/api/datagen/v1/provider/FabricRecipeProvider.java index 8d300d135..8579f2375 100644 --- a/fabric-data-generation-api-v1/src/main/java/net/fabricmc/fabric/api/datagen/v1/provider/FabricRecipeProvider.java +++ b/fabric-data-generation-api-v1/src/main/java/net/fabricmc/fabric/api/datagen/v1/provider/FabricRecipeProvider.java @@ -98,7 +98,7 @@ public abstract class FabricRecipeProvider extends RecipeGenerator.RecipeProvide return registriesFuture.thenCompose((wrapperLookup -> { Set generatedRecipes = Sets.newHashSet(); List> list = new ArrayList<>(); - getRecipeGenerator(wrapperLookup, new RecipeExporter() { + RecipeGenerator recipeGenerator = getRecipeGenerator(wrapperLookup, new RecipeExporter() { @Override public void accept(Identifier recipeId, Recipe recipe, @Nullable AdvancementEntry advancement) { Identifier identifier = getRecipeIdentifier(recipeId); @@ -134,6 +134,7 @@ public abstract class FabricRecipeProvider extends RecipeGenerator.RecipeProvide public void addRootAdvancement() { } }); + recipeGenerator.generate(); return CompletableFuture.allOf(list.toArray(CompletableFuture[]::new)); })); } diff --git a/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/blockstates/block_that_drops_nothing.json b/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/blockstates/block_that_drops_nothing.json new file mode 100644 index 000000000..707016945 --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/blockstates/block_that_drops_nothing.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "fabric-data-gen-api-v1-testmod:block/block_that_drops_nothing" + } + } +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/blockstates/block_with_vanilla_loot_table.json b/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/blockstates/block_with_vanilla_loot_table.json new file mode 100644 index 000000000..ad3d23375 --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/blockstates/block_with_vanilla_loot_table.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "fabric-data-gen-api-v1-testmod:block/block_with_vanilla_loot_table" + } + } +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/blockstates/block_without_item.json b/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/blockstates/block_without_item.json new file mode 100644 index 000000000..a8229d59c --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/blockstates/block_without_item.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "fabric-data-gen-api-v1-testmod:block/block_without_item" + } + } +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/blockstates/block_without_loot_table.json b/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/blockstates/block_without_loot_table.json new file mode 100644 index 000000000..bee4d7aa4 --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/blockstates/block_without_loot_table.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "fabric-data-gen-api-v1-testmod:block/block_without_loot_table" + } + } +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/blockstates/simple_block.json b/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/blockstates/simple_block.json new file mode 100644 index 000000000..2c44e3a8b --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/blockstates/simple_block.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "fabric-data-gen-api-v1-testmod:block/simple_block" + } + } +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/lang/en_us.json b/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/lang/en_us.json new file mode 100644 index 000000000..809206f71 --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/lang/en_us.json @@ -0,0 +1,7 @@ +{ + "attribute.name.armor": "Generic Armor", + "block.fabric-data-gen-api-v1-testmod.simple_block": "Simple Block", + "entity.minecraft.allay": "Allay", + "fabric-data-gen-api-v1-testmod.identifier_test": "Identifier Test", + "itemGroup.fabric-data-gen-api-v1-testmod.default": "Datagen Itemgroup" +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/lang/ja_jp.json b/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/lang/ja_jp.json new file mode 100644 index 000000000..8f833d85a --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/lang/ja_jp.json @@ -0,0 +1,5 @@ +{ + "block.fabric-data-gen-api-v1-testmod.simple_block": "シンプルブロック", + "fabric-data-gen-api-v1-testmod.simple_item_group": "データ生成項目", + "this.is.a.test": "こんにちは" +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/models/block/block_that_drops_nothing.json b/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/models/block/block_that_drops_nothing.json new file mode 100644 index 000000000..f95015493 --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/models/block/block_that_drops_nothing.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/cube_all", + "textures": { + "all": "fabric-data-gen-api-v1-testmod:block/block_that_drops_nothing" + } +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/models/block/block_with_vanilla_loot_table.json b/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/models/block/block_with_vanilla_loot_table.json new file mode 100644 index 000000000..d0305da8e --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/models/block/block_with_vanilla_loot_table.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/cube_all", + "textures": { + "all": "fabric-data-gen-api-v1-testmod:block/block_with_vanilla_loot_table" + } +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/models/block/block_without_item.json b/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/models/block/block_without_item.json new file mode 100644 index 000000000..057501ec5 --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/models/block/block_without_item.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/cube_all", + "textures": { + "all": "fabric-data-gen-api-v1-testmod:block/block_without_item" + } +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/models/block/block_without_loot_table.json b/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/models/block/block_without_loot_table.json new file mode 100644 index 000000000..4f2d7ce03 --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/models/block/block_without_loot_table.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/cube_all", + "textures": { + "all": "fabric-data-gen-api-v1-testmod:block/block_without_loot_table" + } +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/models/block/simple_block.json b/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/models/block/simple_block.json new file mode 100644 index 000000000..15b751ea3 --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/models/block/simple_block.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:block/cube_all", + "textures": { + "all": "fabric-data-gen-api-v1-testmod:block/simple_block" + } +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/models/item/simple_block.json b/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/models/item/simple_block.json new file mode 100644 index 000000000..96533b9cf --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/assets/fabric-data-gen-api-v1-testmod/models/item/simple_block.json @@ -0,0 +1,3 @@ +{ + "parent": "fabric-data-gen-api-v1-testmod:block/simple_block" +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/building_blocks/simple_block.json b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/building_blocks/simple_block.json new file mode 100644 index 000000000..dc4a2b70b --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/building_blocks/simple_block.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_log": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": "#minecraft:acacia_logs" + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "fabric-data-gen-api-v1-testmod:simple_block" + } + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_log" + ] + ], + "rewards": { + "recipes": [ + "fabric-data-gen-api-v1-testmod:simple_block" + ] + } +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/beacon.json b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/beacon.json new file mode 100644 index 000000000..090bec536 --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/beacon.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_payment": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": "#minecraft:beacon_payment_items" + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "minecraft:beacon" + } + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_payment" + ] + ], + "rewards": { + "recipes": [ + "minecraft:beacon" + ] + } +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/diamond.json b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/diamond.json new file mode 100644 index 000000000..e483caa3a --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/diamond.json @@ -0,0 +1,37 @@ +{ + "fabric:load_conditions": [ + { + "condition": "fabric:true" + } + ], + "parent": "minecraft:recipes/root", + "criteria": { + "has_stick": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": "minecraft:stick" + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "minecraft:diamond" + } + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_stick" + ] + ], + "rewards": { + "recipes": [ + "minecraft:diamond" + ] + } +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/diamond_block.json b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/diamond_block.json new file mode 100644 index 000000000..4f99eb570 --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/diamond_block.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_pickaxe": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": "minecraft:diamond_pickaxe" + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "minecraft:diamond_block" + } + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_pickaxe" + ] + ], + "rewards": { + "recipes": [ + "minecraft:diamond_block" + ] + } +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/diamond_ore.json b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/diamond_ore.json new file mode 100644 index 000000000..a127d4283 --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/diamond_ore.json @@ -0,0 +1,41 @@ +{ + "fabric:load_conditions": [ + { + "condition": "fabric:registry_contains", + "registry": "minecraft:item", + "values": [ + "minecraft:diamond_block" + ] + } + ], + "parent": "minecraft:recipes/root", + "criteria": { + "has_frame": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": "minecraft:item_frame" + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "minecraft:diamond_ore" + } + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_frame" + ] + ], + "rewards": { + "recipes": [ + "minecraft:diamond_ore" + ] + } +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/emerald.json b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/emerald.json new file mode 100644 index 000000000..0fb92e03d --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/emerald.json @@ -0,0 +1,42 @@ +{ + "fabric:load_conditions": [ + { + "condition": "fabric:registry_contains", + "registry": "minecraft:worldgen/biome", + "values": [ + "minecraft:plains", + "minecraft:badlands" + ] + } + ], + "parent": "minecraft:recipes/root", + "criteria": { + "has_frame": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": "minecraft:item_frame" + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "minecraft:emerald" + } + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_frame" + ] + ], + "rewards": { + "recipes": [ + "minecraft:emerald" + ] + } +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/gold_block.json b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/gold_block.json new file mode 100644 index 000000000..8792bfdcc --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/gold_block.json @@ -0,0 +1,43 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_pickaxe": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": "minecraft:golden_pickaxe" + } + ] + } + }, + "has_shovel": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": "minecraft:golden_shovel" + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "minecraft:gold_block" + } + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_pickaxe", + "has_shovel" + ] + ], + "rewards": { + "recipes": [ + "minecraft:gold_block" + ] + } +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/gold_ingot.json b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/gold_ingot.json new file mode 100644 index 000000000..0c9a2c0a9 --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/gold_ingot.json @@ -0,0 +1,40 @@ +{ + "fabric:load_conditions": [ + { + "condition": "fabric:not", + "value": { + "condition": "fabric:true" + } + } + ], + "parent": "minecraft:recipes/root", + "criteria": { + "has_dirt": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": "minecraft:dirt" + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "minecraft:gold_ingot" + } + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_dirt" + ] + ], + "rewards": { + "recipes": [ + "minecraft:gold_ingot" + ] + } +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/torch.json b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/torch.json new file mode 100644 index 000000000..2612ae21c --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/recipes/misc/torch.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_charcoal": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": "minecraft:charcoal" + } + ] + } + }, + "has_the_recipe": { + "trigger": "minecraft:recipe_unlocked", + "conditions": { + "recipe": "minecraft:torch" + } + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_charcoal" + ] + ], + "rewards": { + "recipes": [ + "minecraft:torch" + ] + } +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/test/root.json b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/test/root.json new file mode 100644 index 000000000..cb4984039 --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/test/root.json @@ -0,0 +1,28 @@ +{ + "criteria": { + "killed_something": { + "trigger": "minecraft:player_killed_entity" + } + }, + "display": { + "announce_to_chat": false, + "background": "minecraft:textures/gui/advancements/backgrounds/end.png", + "description": { + "translate": "advancements.test.root.description" + }, + "icon": { + "count": 1, + "id": "fabric-data-gen-api-v1-testmod:simple_block" + }, + "show_toast": false, + "title": { + "translate": "advancements.test.root.title" + } + }, + "requirements": [ + [ + "killed_something" + ] + ], + "sends_telemetry_event": true +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/test/root_not_loaded.json b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/test/root_not_loaded.json new file mode 100644 index 000000000..c5a979423 --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/advancement/test/root_not_loaded.json @@ -0,0 +1,36 @@ +{ + "fabric:load_conditions": [ + { + "condition": "fabric:not", + "value": { + "condition": "fabric:true" + } + } + ], + "criteria": { + "killed_something": { + "trigger": "minecraft:player_killed_entity" + } + }, + "display": { + "announce_to_chat": false, + "background": "minecraft:textures/gui/advancements/backgrounds/end.png", + "description": { + "translate": "advancements.test.root_not_loaded.description" + }, + "icon": { + "count": 1, + "id": "fabric-data-gen-api-v1-testmod:simple_block" + }, + "show_toast": false, + "title": { + "translate": "advancements.test.root_not_loaded.title" + } + }, + "requirements": [ + [ + "killed_something" + ] + ], + "sends_telemetry_event": true +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/biome_entry/custom_codec_test.json b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/biome_entry/custom_codec_test.json new file mode 100644 index 000000000..d7475ea29 --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/biome_entry/custom_codec_test.json @@ -0,0 +1,3 @@ +{ + "biome": "minecraft:plains" +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/fabric/test_datagen_dynamic/tiny_potato.json b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/fabric/test_datagen_dynamic/tiny_potato.json new file mode 100644 index 000000000..cb8e95634 --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/fabric/test_datagen_dynamic/tiny_potato.json @@ -0,0 +1,11 @@ +{ + "fabric:load_conditions": [ + { + "condition": "fabric:all_mods_loaded", + "values": [ + "fabric-data-gen-api-v1-testmod" + ] + } + ], + "value": ":tiny_potato:" +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/loot_table/blocks/block_without_item.json b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/loot_table/blocks/block_without_item.json new file mode 100644 index 000000000..034fb345c --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/loot_table/blocks/block_without_item.json @@ -0,0 +1,20 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "fabric-data-gen-api-v1-testmod:simple_block" + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/loot_table/blocks/simple_block.json b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/loot_table/blocks/simple_block.json new file mode 100644 index 000000000..14ca56cb4 --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/loot_table/blocks/simple_block.json @@ -0,0 +1,34 @@ +{ + "fabric:load_conditions": [ + { + "condition": "fabric:not", + "value": { + "condition": "fabric:not", + "value": { + "condition": "fabric:true" + } + } + }, + { + "condition": "fabric:true" + } + ], + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "fabric-data-gen-api-v1-testmod:simple_block" + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/predicate/predicate_test.json b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/predicate/predicate_test.json new file mode 100644 index 000000000..882e49496 --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/predicate/predicate_test.json @@ -0,0 +1,4 @@ +{ + "block": "minecraft:melon", + "condition": "minecraft:block_state_property" +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/beacon.json b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/beacon.json new file mode 100644 index 000000000..ffc6ff611 --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/beacon.json @@ -0,0 +1,25 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "misc", + "ingredients": [ + { + "fabric:type": "fabric:difference", + "base": { + "fabric:type": "fabric:any", + "ingredients": [ + "#minecraft:beacon_payment_items", + "minecraft:copper_ingot" + ] + }, + "subtracted": [ + "minecraft:iron_ingot", + "minecraft:gold_ingot", + "minecraft:diamond" + ] + } + ], + "result": { + "count": 1, + "id": "minecraft:beacon" + } +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/diamond.json b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/diamond.json new file mode 100644 index 000000000..ef25ed4f2 --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/diamond.json @@ -0,0 +1,16 @@ +{ + "fabric:load_conditions": [ + { + "condition": "fabric:true" + } + ], + "type": "minecraft:crafting_shapeless", + "category": "misc", + "ingredients": [ + "minecraft:stick" + ], + "result": { + "count": 1, + "id": "minecraft:diamond" + } +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/diamond_block.json b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/diamond_block.json new file mode 100644 index 000000000..eaf2df605 --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/diamond_block.json @@ -0,0 +1,25 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "misc", + "ingredients": [ + "minecraft:diamond_pickaxe", + "minecraft:diamond_pickaxe", + "minecraft:diamond_pickaxe", + "minecraft:diamond_pickaxe", + { + "fabric:type": "fabric:components", + "base": "minecraft:diamond_pickaxe", + "components": { + "minecraft:damage": 0 + } + }, + "minecraft:diamond_pickaxe", + "minecraft:diamond_pickaxe", + "minecraft:diamond_pickaxe", + "minecraft:diamond_pickaxe" + ], + "result": { + "count": 1, + "id": "minecraft:diamond_block" + } +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/diamond_ore.json b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/diamond_ore.json new file mode 100644 index 000000000..c5d3eda4f --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/diamond_ore.json @@ -0,0 +1,20 @@ +{ + "fabric:load_conditions": [ + { + "condition": "fabric:registry_contains", + "registry": "minecraft:item", + "values": [ + "minecraft:diamond_block" + ] + } + ], + "type": "minecraft:crafting_shapeless", + "category": "misc", + "ingredients": [ + "minecraft:item_frame" + ], + "result": { + "count": 4, + "id": "minecraft:diamond_ore" + } +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/emerald.json b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/emerald.json new file mode 100644 index 000000000..e870fb23f --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/emerald.json @@ -0,0 +1,22 @@ +{ + "fabric:load_conditions": [ + { + "condition": "fabric:registry_contains", + "registry": "minecraft:worldgen/biome", + "values": [ + "minecraft:plains", + "minecraft:badlands" + ] + } + ], + "type": "minecraft:crafting_shapeless", + "category": "misc", + "ingredients": [ + "minecraft:item_frame", + "minecraft:item_frame" + ], + "result": { + "count": 4, + "id": "minecraft:emerald" + } +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/gold_block.json b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/gold_block.json new file mode 100644 index 000000000..147d15095 --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/gold_block.json @@ -0,0 +1,17 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "misc", + "ingredients": [ + { + "fabric:type": "fabric:any", + "ingredients": [ + "minecraft:golden_pickaxe", + "minecraft:golden_shovel" + ] + } + ], + "result": { + "count": 1, + "id": "minecraft:gold_block" + } +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/gold_ingot.json b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/gold_ingot.json new file mode 100644 index 000000000..abf86858a --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/gold_ingot.json @@ -0,0 +1,19 @@ +{ + "fabric:load_conditions": [ + { + "condition": "fabric:not", + "value": { + "condition": "fabric:true" + } + } + ], + "type": "minecraft:crafting_shapeless", + "category": "misc", + "ingredients": [ + "minecraft:dirt" + ], + "result": { + "count": 1, + "id": "minecraft:gold_ingot" + } +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/simple_block.json b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/simple_block.json new file mode 100644 index 000000000..841a1a9c9 --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/simple_block.json @@ -0,0 +1,12 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "building", + "group": "planks", + "ingredients": [ + "#minecraft:acacia_logs" + ], + "result": { + "count": 1, + "id": "fabric-data-gen-api-v1-testmod:simple_block" + } +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/torch.json b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/torch.json new file mode 100644 index 000000000..8547b48c7 --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/recipe/torch.json @@ -0,0 +1,17 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "misc", + "ingredients": [ + { + "fabric:type": "fabric:all", + "ingredients": [ + "#minecraft:coals", + "minecraft:charcoal" + ] + } + ], + "result": { + "count": 1, + "id": "minecraft:torch" + } +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/tags/game_event/game_event_tag_test.json b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/tags/game_event/game_event_tag_test.json new file mode 100644 index 000000000..55393ba75 --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/tags/game_event/game_event_tag_test.json @@ -0,0 +1,5 @@ +{ + "values": [ + "minecraft:shriek" + ] +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/tags/worldgen/biome/biome_tag_test.json b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/tags/worldgen/biome/biome_tag_test.json new file mode 100644 index 000000000..8216fdf20 --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/data/fabric-data-gen-api-v1-testmod/tags/worldgen/biome/biome_tag_test.json @@ -0,0 +1,7 @@ +{ + "values": [ + "minecraft:badlands", + "minecraft:bamboo_jungle", + "minecraft:basalt_deltas" + ] +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/data/minecraft/loot_table/gameplay/piglin_bartering.json b/fabric-data-generation-api-v1/src/testmod/generated/data/minecraft/loot_table/gameplay/piglin_bartering.json new file mode 100644 index 000000000..9dc5284f7 --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/data/minecraft/loot_table/gameplay/piglin_bartering.json @@ -0,0 +1,20 @@ +{ + "fabric:load_conditions": [ + { + "condition": "fabric:true" + } + ], + "type": "minecraft:barter", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:item", + "name": "fabric-data-gen-api-v1-testmod:simple_block" + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/data/minecraft/tags/block/acacia_logs.json b/fabric-data-generation-api-v1/src/testmod/generated/data/minecraft/tags/block/acacia_logs.json new file mode 100644 index 000000000..ac0318044 --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/data/minecraft/tags/block/acacia_logs.json @@ -0,0 +1,5 @@ +{ + "values": [ + "#minecraft:animals_spawnable_on" + ] +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/data/minecraft/tags/block/dirt.json b/fabric-data-generation-api-v1/src/testmod/generated/data/minecraft/tags/block/dirt.json new file mode 100644 index 000000000..2e5a9286d --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/data/minecraft/tags/block/dirt.json @@ -0,0 +1,5 @@ +{ + "values": [ + "fabric-data-gen-api-v1-testmod:simple_block" + ] +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/data/minecraft/tags/block/fire.json b/fabric-data-generation-api-v1/src/testmod/generated/data/minecraft/tags/block/fire.json new file mode 100644 index 000000000..e50e55fd8 --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/data/minecraft/tags/block/fire.json @@ -0,0 +1,6 @@ +{ + "replace": true, + "values": [ + "fabric-data-gen-api-v1-testmod:simple_block" + ] +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/data/minecraft/tags/item/dirt.json b/fabric-data-generation-api-v1/src/testmod/generated/data/minecraft/tags/item/dirt.json new file mode 100644 index 000000000..2e5a9286d --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/data/minecraft/tags/item/dirt.json @@ -0,0 +1,5 @@ +{ + "values": [ + "fabric-data-gen-api-v1-testmod:simple_block" + ] +} \ No newline at end of file diff --git a/fabric-data-generation-api-v1/src/testmod/generated/resourcepacks/extra/data/fabric-data-gen-api-v1-testmod/fabric/test_datagen_dynamic/tinier_potato.json b/fabric-data-generation-api-v1/src/testmod/generated/resourcepacks/extra/data/fabric-data-gen-api-v1-testmod/fabric/test_datagen_dynamic/tinier_potato.json new file mode 100644 index 000000000..2b1b21378 --- /dev/null +++ b/fabric-data-generation-api-v1/src/testmod/generated/resourcepacks/extra/data/fabric-data-gen-api-v1-testmod/fabric/test_datagen_dynamic/tinier_potato.json @@ -0,0 +1,3 @@ +{ + "value": ":tiny_potato:" +} \ No newline at end of file