From 9f895a79f21a2518ea4abfcf68552c75bb856292 Mon Sep 17 00:00:00 2001 From: ChampionAsh5357 Date: Tue, 28 Mar 2023 16:33:59 -0400 Subject: [PATCH] Update and Regenerate Datapacks (#9419) Add generation for pack.mcmeta --- .gitignore | 1 + build.gradle | 32 ++++++++- docs/CONTRIBUTING.md | 4 +- docs/README.md | 42 ++++++----- docs/SUPPORT.md | 23 +++--- mdk/src/main/resources/pack.mcmeta | 8 --- .../data/minecraft/recipes/acacia_fence.json | 3 +- .../minecraft/recipes/acacia_fence_gate.json | 3 +- .../data/minecraft/recipes/acacia_sign.json | 3 +- .../minecraft/recipes/activator_rail.json | 3 +- .../data/minecraft/recipes/anvil.json | 3 +- .../data/minecraft/recipes/armor_stand.json | 3 +- .../data/minecraft/recipes/arrow.json | 3 +- .../data/minecraft/recipes/birch_fence.json | 3 +- .../minecraft/recipes/birch_fence_gate.json | 3 +- .../data/minecraft/recipes/birch_sign.json | 3 +- .../data/minecraft/recipes/black_banner.json | 3 +- .../data/minecraft/recipes/blast_furnace.json | 3 +- .../data/minecraft/recipes/blue_banner.json | 3 +- .../resources/data/minecraft/recipes/bow.json | 3 +- .../data/minecraft/recipes/brown_banner.json | 3 +- .../data/minecraft/recipes/bucket.json | 3 +- .../data/minecraft/recipes/campfire.json | 3 +- .../data/minecraft/recipes/cauldron.json | 3 +- .../data/minecraft/recipes/chain.json | 3 +- .../data/minecraft/recipes/clock.json | 3 +- .../data/minecraft/recipes/compass.json | 3 +- .../data/minecraft/recipes/crimson_fence.json | 3 +- .../minecraft/recipes/crimson_fence_gate.json | 3 +- .../data/minecraft/recipes/crimson_sign.json | 3 +- .../data/minecraft/recipes/crossbow.json | 3 +- .../data/minecraft/recipes/cyan_banner.json | 3 +- .../minecraft/recipes/dark_oak_fence.json | 3 +- .../recipes/dark_oak_fence_gate.json | 3 +- .../data/minecraft/recipes/dark_oak_sign.json | 3 +- .../data/minecraft/recipes/detector_rail.json | 3 +- .../data/minecraft/recipes/diamond_axe.json | 3 +- .../data/minecraft/recipes/diamond_boots.json | 3 +- .../minecraft/recipes/diamond_chestplate.json | 3 +- .../minecraft/recipes/diamond_helmet.json | 3 +- .../data/minecraft/recipes/diamond_hoe.json | 3 +- .../minecraft/recipes/diamond_leggings.json | 3 +- .../minecraft/recipes/diamond_pickaxe.json | 3 +- .../minecraft/recipes/diamond_shovel.json | 3 +- .../data/minecraft/recipes/diamond_sword.json | 3 +- .../data/minecraft/recipes/diorite.json | 3 +- .../data/minecraft/recipes/dispenser.json | 3 +- .../data/minecraft/recipes/dropper.json | 3 +- .../minecraft/recipes/enchanting_table.json | 3 +- .../data/minecraft/recipes/fishing_rod.json | 3 +- .../data/minecraft/recipes/golden_apple.json | 3 +- .../data/minecraft/recipes/golden_axe.json | 3 +- .../data/minecraft/recipes/golden_boots.json | 3 +- .../minecraft/recipes/golden_chestplate.json | 3 +- .../data/minecraft/recipes/golden_helmet.json | 3 +- .../data/minecraft/recipes/golden_hoe.json | 3 +- .../minecraft/recipes/golden_leggings.json | 3 +- .../minecraft/recipes/golden_pickaxe.json | 3 +- .../data/minecraft/recipes/golden_shovel.json | 3 +- .../data/minecraft/recipes/golden_sword.json | 3 +- .../data/minecraft/recipes/gray_banner.json | 3 +- .../data/minecraft/recipes/green_banner.json | 3 +- .../data/minecraft/recipes/grindstone.json | 3 +- .../heavy_weighted_pressure_plate.json | 3 +- .../data/minecraft/recipes/hopper.json | 3 +- .../data/minecraft/recipes/iron_axe.json | 3 +- .../data/minecraft/recipes/iron_bars.json | 3 +- .../data/minecraft/recipes/iron_boots.json | 3 +- .../minecraft/recipes/iron_chestplate.json | 3 +- .../data/minecraft/recipes/iron_door.json | 3 +- .../data/minecraft/recipes/iron_helmet.json | 3 +- .../data/minecraft/recipes/iron_hoe.json | 3 +- .../data/minecraft/recipes/iron_leggings.json | 3 +- .../data/minecraft/recipes/iron_pickaxe.json | 3 +- .../data/minecraft/recipes/iron_shovel.json | 3 +- .../data/minecraft/recipes/iron_sword.json | 3 +- .../data/minecraft/recipes/iron_trapdoor.json | 3 +- .../data/minecraft/recipes/item_frame.json | 3 +- .../data/minecraft/recipes/jukebox.json | 3 +- .../data/minecraft/recipes/jungle_fence.json | 3 +- .../minecraft/recipes/jungle_fence_gate.json | 3 +- .../data/minecraft/recipes/jungle_sign.json | 3 +- .../data/minecraft/recipes/ladder.json | 3 +- .../data/minecraft/recipes/lever.json | 3 +- .../minecraft/recipes/light_blue_banner.json | 3 +- .../minecraft/recipes/light_gray_banner.json | 3 +- .../light_weighted_pressure_plate.json | 3 +- .../data/minecraft/recipes/lightning_rod.json | 3 +- .../data/minecraft/recipes/lime_banner.json | 3 +- .../data/minecraft/recipes/lodestone.json | 3 +- .../minecraft/recipes/magenta_banner.json | 3 +- .../minecraft/recipes/mangrove_fence.json | 3 +- .../recipes/mangrove_fence_gate.json | 3 +- .../data/minecraft/recipes/mangrove_sign.json | 3 +- .../data/minecraft/recipes/minecart.json | 3 +- .../data/minecraft/recipes/oak_fence.json | 3 +- .../minecraft/recipes/oak_fence_gate.json | 3 +- .../data/minecraft/recipes/oak_sign.json | 3 +- .../data/minecraft/recipes/observer.json | 3 +- .../data/minecraft/recipes/orange_banner.json | 3 +- .../data/minecraft/recipes/painting.json | 3 +- .../data/minecraft/recipes/pink_banner.json | 3 +- .../data/minecraft/recipes/piston.json | 3 +- .../minecraft/recipes/polished_deepslate.json | 3 +- .../data/minecraft/recipes/powered_rail.json | 3 +- .../data/minecraft/recipes/purple_banner.json | 3 +- .../data/minecraft/recipes/rail.json | 3 +- .../data/minecraft/recipes/red_banner.json | 3 +- .../minecraft/recipes/redstone_torch.json | 3 +- .../data/minecraft/recipes/shears.json | 3 +- .../data/minecraft/recipes/shield.json | 3 +- .../data/minecraft/recipes/shulker_box.json | 3 +- .../minecraft/recipes/smithing_table.json | 3 +- .../data/minecraft/recipes/soul_campfire.json | 3 +- .../data/minecraft/recipes/soul_torch.json | 3 +- .../data/minecraft/recipes/spruce_fence.json | 3 +- .../minecraft/recipes/spruce_fence_gate.json | 3 +- .../data/minecraft/recipes/spruce_sign.json | 3 +- .../data/minecraft/recipes/spyglass.json | 3 +- .../data/minecraft/recipes/stone_axe.json | 3 +- .../data/minecraft/recipes/stone_hoe.json | 3 +- .../data/minecraft/recipes/stone_pickaxe.json | 3 +- .../data/minecraft/recipes/stone_shovel.json | 3 +- .../data/minecraft/recipes/stone_sword.json | 3 +- .../data/minecraft/recipes/stonecutter.json | 3 +- .../data/minecraft/recipes/tinted_glass.json | 3 +- .../data/minecraft/recipes/torch.json | 3 +- .../data/minecraft/recipes/tripwire_hook.json | 3 +- .../data/minecraft/recipes/warped_fence.json | 3 +- .../minecraft/recipes/warped_fence_gate.json | 3 +- .../data/minecraft/recipes/warped_sign.json | 3 +- .../data/minecraft/recipes/white_banner.json | 3 +- .../data/minecraft/recipes/wooden_axe.json | 3 +- .../data/minecraft/recipes/wooden_hoe.json | 3 +- .../minecraft/recipes/wooden_pickaxe.json | 3 +- .../data/minecraft/recipes/wooden_shovel.json | 3 +- .../data/minecraft/recipes/wooden_sword.json | 3 +- .../data/minecraft/recipes/yellow_banner.json | 3 +- src/generated/resources/pack.mcmeta | 9 +++ src/generated_mdk/resources/pack.mcmeta | 9 +++ .../models/item/test_block_model.json | 48 +++++++++++++ .../models/item/test_stone.json | 3 + .../forge/biome_modifier/add_basalt.json | 6 ++ .../forge/biome_modifier/add_magma_cubes.json | 10 +++ .../forge/biome_modifier/modify_badlands.json | 6 ++ .../remove_forest_skeletons.json | 5 ++ .../biome_modifier/remove_forest_trees.json | 5 ++ .../placed_feature/large_basalt_columns.json | 12 ++++ .../compound_ingredient_custom_types.json | 3 +- .../compound_ingredient_only_vanilla.json | 3 +- .../data_gen_test/recipes/conditional.json | 3 +- .../data_gen_test/recipes/conditional2.json | 3 +- .../data_gen_test/recipes/conditional3.json | 6 +- .../recipes/difference_ingredient.json | 3 +- .../recipes/intersection_ingredient.json | 3 +- src/generated_test/resources/pack.mcmeta | 9 +++ .../net/minecraftforge/common/ForgeMod.java | 13 ++++ src/main/resources/pack.mcmeta | 10 --- .../debug/DataGeneratorTest.java | 71 +++++++++++-------- .../net/minecraftforge/mdk/MdkDatagen.java | 43 +++++++++++ src/test/resources/META-INF/mods.toml | 5 +- src/test/resources/pack.mcmeta | 8 --- 162 files changed, 578 insertions(+), 224 deletions(-) delete mode 100644 mdk/src/main/resources/pack.mcmeta create mode 100644 src/generated/resources/pack.mcmeta create mode 100644 src/generated_mdk/resources/pack.mcmeta create mode 100644 src/generated_test/resources/assets/data_gen_test/models/item/test_block_model.json create mode 100644 src/generated_test/resources/assets/tag_based_tool_types/models/item/test_stone.json create mode 100644 src/generated_test/resources/data/biome_modifiers_test/forge/biome_modifier/add_basalt.json create mode 100644 src/generated_test/resources/data/biome_modifiers_test/forge/biome_modifier/add_magma_cubes.json create mode 100644 src/generated_test/resources/data/biome_modifiers_test/forge/biome_modifier/modify_badlands.json create mode 100644 src/generated_test/resources/data/biome_modifiers_test/forge/biome_modifier/remove_forest_skeletons.json create mode 100644 src/generated_test/resources/data/biome_modifiers_test/forge/biome_modifier/remove_forest_trees.json create mode 100644 src/generated_test/resources/data/biome_modifiers_test/worldgen/placed_feature/large_basalt_columns.json create mode 100644 src/generated_test/resources/pack.mcmeta delete mode 100644 src/main/resources/pack.mcmeta create mode 100644 src/test/java/net/minecraftforge/mdk/MdkDatagen.java delete mode 100644 src/test/resources/pack.mcmeta diff --git a/.gitignore b/.gitignore index 37d4c9b7a2..861ac5157c 100644 --- a/.gitignore +++ b/.gitignore @@ -34,6 +34,7 @@ /repo/ src/generated/resources/.cache/ src/generated_test/resources/.cache/ +src/generated_mdk/resources/.cache/ #Patch rejects /patches-/ diff --git a/build.gradle b/build.gradle index 3f17f6134d..6026ee71ed 100644 --- a/build.gradle +++ b/build.gradle @@ -1083,6 +1083,32 @@ project(':forge') { '--existing', sourceSets.test.resources.srcDirs[0] } } + + forge_mdk_data { + parent runs.forge_data + taskName 'forge_mdk_data' + + environment 'MOD_CLASSES', 'dummy' // Needed to work around FG limitation, FG will replace this! + + ideaModule "${rootProject.name}.${project.name}.test" + + mods { + tests { sources sourceSets.test } + } + + afterEvaluate { + // Clear forge's main datagen args + args.removeAll { + forgeDataArgs.contains(it instanceof File ? (it as File).absolutePath : it.toString()) + } + + args '--flat', '--all', '--validate', + '--mod', 'mdk_datagen', + '--output', rootProject.file('src/generated_mdk/resources/'), + '--existing', sourceSets.main.resources.srcDirs[0], + '--existing', sourceSets.test.resources.srcDirs[0] + } + } } } @@ -1597,6 +1623,10 @@ project(':forge') { rename 'gitignore\\.txt', '.gitignore' rename 'gitattributes\\.txt', '.gitattributes' } + from(rootProject.file('src/generated_mdk/resources/')) { + into('src/main/resources/') + exclude '**/.cache/' + } } license { @@ -1748,4 +1778,4 @@ if (System.env.TEAMCITY_VERSION) { println "##teamcity[setParameter name='env.PUBLISHED_JAVA_FML_ARTIFACT_VERSION' value='${project(':fmlonly').version}']" } } -} \ No newline at end of file +} diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index 93eecc697f..7b20132959 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -7,7 +7,7 @@ Contributing to Forge 3) Follow the code style of the class you're working in (braces on newlines & spaces instead of tabs in Forge classes, inline brackets in patches, etc). -For more information, refer to [the wiki](https://github.com/MinecraftForge/MinecraftForge/wiki/If-you-want-to-contribute-to-Forge) +For more information, refer to [the wiki][Wiki]. Contributor License Agreement @@ -16,3 +16,5 @@ Contributor License Agreement - You assign copyright ownership of your contributions to the patches codebase (everything under patches) to Forge, where it will be licensed under the LGPLv2.1 license. "Forge" is Forge Development LLC, a legally incorporated entity in Oregon, USA. + +[Wiki]: https://github.com/MinecraftForge/MinecraftForge/wiki/If-you-want-to-contribute-to-Forge diff --git a/docs/README.md b/docs/README.md index f587bd2ec4..36101d76f2 100644 --- a/docs/README.md +++ b/docs/README.md @@ -2,9 +2,9 @@ MinecraftForge ============= -[![Stable Release](https://img.shields.io/badge/dynamic/json?url=https://files.minecraftforge.net/net/minecraftforge/forge/promotions_slim.json&label=Stable&prefix=1.19.3-&query=$.promos["1.19.3-recommended"]&color=brightgreen&logo=data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBjbGFzcz0ic3ZnLWlubGluZS0tZmEgZmEtc3RhciBmYS13LTE4IiBhcmlhLWhpZGRlbj0idHJ1ZSIgZGF0YS1pY29uPSJzdGFyIiBkYXRhLXByZWZpeD0iZmFzIiBmb2N1c2FibGU9ImZhbHNlIiByb2xlPSJpbWciIHZpZXdCb3g9IjAgMCA1NzYgNTEyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMjU5LjMgMTcuOEwxOTQgMTUwLjIgNDcuOSAxNzEuNWMtMjYuMiAzLjgtMzYuNyAzNi4xLTE3LjcgNTQuNmwxMDUuNyAxMDMtMjUgMTQ1LjVjLTQuNSAyNi4zIDIzLjIgNDYgNDYuNCAzMy43TDI4OCA0MzkuNmwxMzAuNyA2OC43YzIzLjIgMTIuMiA1MC45LTcuNCA0Ni40LTMzLjdsLTI1LTE0NS41IDEwNS43LTEwM2MxOS0xOC41IDguNS01MC44LTE3LjctNTQuNkwzODIgMTUwLjIgMzE2LjcgMTcuOGMtMTEuNy0yMy42LTQ1LjYtMjMuOS01Ny40IDB6IiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K)](https://files.minecraftforge.net) -[![Latest Release](https://img.shields.io/badge/dynamic/json?url=https://files.minecraftforge.net/net/minecraftforge/forge/promotions_slim.json&label=Latest&prefix=1.19.3-&query=$.promos["1.19.3-latest"]&color=blue&logo=data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBjbGFzcz0ic3ZnLWlubGluZS0tZmEgZmEtYnVnIGZhLXctMTYiIGFyaWEtaGlkZGVuPSJ0cnVlIiBkYXRhLWljb249ImJ1ZyIgZGF0YS1wcmVmaXg9ImZhcyIgZm9jdXNhYmxlPSJmYWxzZSIgcm9sZT0iaW1nIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTUxMS45ODggMjg4LjljLS40NzggMTcuNDMtMTUuMjE3IDMxLjEtMzIuNjUzIDMxLjFINDI0djE2YzAgMjEuODY0LTQuODgyIDQyLjU4NC0xMy42IDYxLjE0NWw2MC4yMjggNjAuMjI4YzEyLjQ5NiAxMi40OTcgMTIuNDk2IDMyLjc1OCAwIDQ1LjI1NS0xMi40OTggMTIuNDk3LTMyLjc1OSAxMi40OTYtNDUuMjU2IDBsLTU0LjczNi01NC43MzZDMzQ1Ljg4NiA0NjcuOTY1IDMxNC4zNTEgNDgwIDI4MCA0ODBWMjM2YzAtNi42MjctNS4zNzMtMTItMTItMTJoLTI0Yy02LjYyNyAwLTEyIDUuMzczLTEyIDEydjI0NGMtMzQuMzUxIDAtNjUuODg2LTEyLjAzNS05MC42MzYtMzIuMTA4bC01NC43MzYgNTQuNzM2Yy0xMi40OTggMTIuNDk3LTMyLjc1OSAxMi40OTYtNDUuMjU2IDAtMTIuNDk2LTEyLjQ5Ny0xMi40OTYtMzIuNzU4IDAtNDUuMjU1bDYwLjIyOC02MC4yMjhDOTIuODgyIDM3OC41ODQgODggMzU3Ljg2NCA4OCAzMzZ2LTE2SDMyLjY2NkMxNS4yMyAzMjAgLjQ5MSAzMDYuMzMuMDEzIDI4OC45LS40ODQgMjcwLjgxNiAxNC4wMjggMjU2IDMyIDI1Nmg1NnYtNTguNzQ1bC00Ni42MjgtNDYuNjI4Yy0xMi40OTYtMTIuNDk3LTEyLjQ5Ni0zMi43NTggMC00NS4yNTUgMTIuNDk4LTEyLjQ5NyAzMi43NTgtMTIuNDk3IDQ1LjI1NiAwTDE0MS4yNTUgMTYwaDIyOS40ODlsNTQuNjI3LTU0LjYyN2MxMi40OTgtMTIuNDk3IDMyLjc1OC0xMi40OTcgNDUuMjU2IDAgMTIuNDk2IDEyLjQ5NyAxMi40OTYgMzIuNzU4IDAgNDUuMjU1TDQyNCAxOTcuMjU1VjI1Nmg1NmMxNy45NzIgMCAzMi40ODQgMTQuODE2IDMxLjk4OCAzMi45ek0yNTcgMGMtNjEuODU2IDAtMTEyIDUwLjE0NC0xMTIgMTEyaDIyNEMzNjkgNTAuMTQ0IDMxOC44NTYgMCAyNTcgMHoiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPgo= -)](https://files.minecraftforge.net) [![Discord](https://img.shields.io/discord/313125603924639766.svg?color=%237289da&label=Discord&logo=discord&logoColor=%237289da)](https://discord.gg/UvedJ9m) [![Support](https://img.shields.io/badge/Patreon-Support-orange.svg?logo=Patreon)](https://www.patreon.com/LexManos) +[![Stable Release](https://img.shields.io/badge/dynamic/json?url=https://files.minecraftforge.net/net/minecraftforge/forge/promotions_slim.json&label=Stable&prefix=1.19.3-&query=$.promos["1.19.3-recommended"]&color=brightgreen&logo=data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBjbGFzcz0ic3ZnLWlubGluZS0tZmEgZmEtc3RhciBmYS13LTE4IiBhcmlhLWhpZGRlbj0idHJ1ZSIgZGF0YS1pY29uPSJzdGFyIiBkYXRhLXByZWZpeD0iZmFzIiBmb2N1c2FibGU9ImZhbHNlIiByb2xlPSJpbWciIHZpZXdCb3g9IjAgMCA1NzYgNTEyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMjU5LjMgMTcuOEwxOTQgMTUwLjIgNDcuOSAxNzEuNWMtMjYuMiAzLjgtMzYuNyAzNi4xLTE3LjcgNTQuNmwxMDUuNyAxMDMtMjUgMTQ1LjVjLTQuNSAyNi4zIDIzLjIgNDYgNDYuNCAzMy43TDI4OCA0MzkuNmwxMzAuNyA2OC43YzIzLjIgMTIuMiA1MC45LTcuNCA0Ni40LTMzLjdsLTI1LTE0NS41IDEwNS43LTEwM2MxOS0xOC41IDguNS01MC44LTE3LjctNTQuNkwzODIgMTUwLjIgMzE2LjcgMTcuOGMtMTEuNy0yMy42LTQ1LjYtMjMuOS01Ny40IDB6IiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K)][Download] +[![Latest Release](https://img.shields.io/badge/dynamic/json?url=https://files.minecraftforge.net/net/minecraftforge/forge/promotions_slim.json&label=Latest&prefix=1.19.4-&query=$.promos["1.19.4-latest"]&color=blue&logo=data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBjbGFzcz0ic3ZnLWlubGluZS0tZmEgZmEtYnVnIGZhLXctMTYiIGFyaWEtaGlkZGVuPSJ0cnVlIiBkYXRhLWljb249ImJ1ZyIgZGF0YS1wcmVmaXg9ImZhcyIgZm9jdXNhYmxlPSJmYWxzZSIgcm9sZT0iaW1nIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTUxMS45ODggMjg4LjljLS40NzggMTcuNDMtMTUuMjE3IDMxLjEtMzIuNjUzIDMxLjFINDI0djE2YzAgMjEuODY0LTQuODgyIDQyLjU4NC0xMy42IDYxLjE0NWw2MC4yMjggNjAuMjI4YzEyLjQ5NiAxMi40OTcgMTIuNDk2IDMyLjc1OCAwIDQ1LjI1NS0xMi40OTggMTIuNDk3LTMyLjc1OSAxMi40OTYtNDUuMjU2IDBsLTU0LjczNi01NC43MzZDMzQ1Ljg4NiA0NjcuOTY1IDMxNC4zNTEgNDgwIDI4MCA0ODBWMjM2YzAtNi42MjctNS4zNzMtMTItMTItMTJoLTI0Yy02LjYyNyAwLTEyIDUuMzczLTEyIDEydjI0NGMtMzQuMzUxIDAtNjUuODg2LTEyLjAzNS05MC42MzYtMzIuMTA4bC01NC43MzYgNTQuNzM2Yy0xMi40OTggMTIuNDk3LTMyLjc1OSAxMi40OTYtNDUuMjU2IDAtMTIuNDk2LTEyLjQ5Ny0xMi40OTYtMzIuNzU4IDAtNDUuMjU1bDYwLjIyOC02MC4yMjhDOTIuODgyIDM3OC41ODQgODggMzU3Ljg2NCA4OCAzMzZ2LTE2SDMyLjY2NkMxNS4yMyAzMjAgLjQ5MSAzMDYuMzMuMDEzIDI4OC45LS40ODQgMjcwLjgxNiAxNC4wMjggMjU2IDMyIDI1Nmg1NnYtNTguNzQ1bC00Ni42MjgtNDYuNjI4Yy0xMi40OTYtMTIuNDk3LTEyLjQ5Ni0zMi43NTggMC00NS4yNTUgMTIuNDk4LTEyLjQ5NyAzMi43NTgtMTIuNDk3IDQ1LjI1NiAwTDE0MS4yNTUgMTYwaDIyOS40ODlsNTQuNjI3LTU0LjYyN2MxMi40OTgtMTIuNDk3IDMyLjc1OC0xMi40OTcgNDUuMjU2IDAgMTIuNDk2IDEyLjQ5NyAxMi40OTYgMzIuNzU4IDAgNDUuMjU1TDQyNCAxOTcuMjU1VjI1Nmg1NmMxNy45NzIgMCAzMi40ODQgMTQuODE2IDMxLjk4OCAzMi45ek0yNTcgMGMtNjEuODU2IDAtMTEyIDUwLjE0NC0xMTIgMTEyaDIyNEMzNjkgNTAuMTQ0IDMxOC44NTYgMCAyNTcgMHoiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPgo= +)][Download] [![Discord](https://img.shields.io/discord/313125603924639766.svg?color=%237289da&label=Discord&logo=discord&logoColor=%237289da)][Discord] [![Support](https://img.shields.io/badge/Patreon-Support-orange.svg?logo=Patreon)][Patreon] Forge is a free, open-source modding API all of your favourite mods use! @@ -20,7 +20,7 @@ Forge is a free, open-source modding API all of your favourite mods use! # Installing Forge -Go to [the Forge website](https://files.minecraftforge.net) +Go to [the Forge website][Download] and select the Minecraft version you wish to get Forge for from the list. You can download the installer for the *Recommended Build* or the @@ -29,38 +29,48 @@ You can download the installer for the *Recommended Build* or the into your vanilla launcher environment, where you can then create a new profile using that version and play the game! -For support and questions, visit [the Support Forum](https://www.minecraftforge.net/forum/forum/18-support-bug-reports/) or [the Forge Discord server](https://discord.gg/forge). - -[Here is a short video from Rorax showing how to install and setup Forge.](https://www.youtube.com/watch?v=lB3ArN_-3Oc) +For support and questions, visit [the Support Forum][Support-Forum] or [the Forge Discord server][Discord]. # Creating Mods -[See the "Getting Started" section in the Forge Documentation](https://mcforge.readthedocs.io/en/latest/gettingstarted/). +[See the "Getting Started" section in the Forge Documentation][Getting-Started]. # Contribute to Forge If you wish to actually inspect Forge, submit PRs or otherwise work with Forge itself, you're in the right place! - [See the guide to setting up a Forge workspace](http://mcforge.readthedocs.io/en/latest/forgedev/). + [See the guide to setting up a Forge workspace][ForgeDev]. ### Pull requests -[See the "Making Changes and Pull Requests" section in the Forge documentation](https://mcforge.readthedocs.io/en/latest/forgedev/#making-changes-and-pull-requests). +[See the "Making Changes and Pull Requests" section in the Forge documentation][Pull-Requests]. -Please read the contributing guidelines found [here](CONTRIBUTING.md) before making a pull request. +Please read the contributing guidelines found [here][Contributing] before making a pull request. ### Contributor License Agreement -We require all contributors to acknowledge the [Forge Contributor License Agreement](https://cla-assistant.io/MinecraftForge/MinecraftForge). +We require all contributors to acknowledge the [Forge Contributor License Agreement][CLA]. Please ensure you have a valid email address associated with your GitHub account to do this. If you have previously signed it, you should be OK. #### Donate *Forge is a large project with many collaborators working on it around the clock. Forge is and will always remain free to use and modify. However, it costs money to run such a large project as this, so please consider - [becoming a patron](https://www.patreon.com/LexManos).* + [becoming a patron][Patreon].* + +[Contributing]: ./CONTRIBUTING.md +[CLA]: https://cla-assistant.io/MinecraftForge/MinecraftForge [Download]: https://files.minecraftforge.net/ -[Forum]: https://www.minecraftforge.net/forum/ -[Discord]: https://discord.gg/UvedJ9m -[Documentation]: https://mcforge.readthedocs.io + +[Forum]: https://forums.minecraftforge.net/ +[Support-Forum]: https://forums.minecraftforge.net/forum/18-support-bug-reports/ + +[Discord]: https://discord.minecraftforge.net/ + +[Documentation]: https://docs.minecraftforge.net/ +[Getting-Started]: https://docs.minecraftforge.net/en/latest/gettingstarted/ +[ForgeDev]: https://docs.minecraftforge.net/en/latest/forgedev/ +[Pull-Requests]: https://docs.minecraftforge.net/en/latest/forgedev/#making-changes-and-pull-requests + +[Patreon]: https://www.patreon.com/LexManos diff --git a/docs/SUPPORT.md b/docs/SUPPORT.md index 976702c21c..6638a752d1 100644 --- a/docs/SUPPORT.md +++ b/docs/SUPPORT.md @@ -1,7 +1,7 @@ Getting Support Surrounding Forge ================================= -**If you do not want to read the following wall of text, no matter its relevance for helping get your issue resolved quickly, please refer to the [Forge Forums](http://www.minecraftforge.net/forum/forum/18-support-bug-reports/) for support.** +**If you do not want to read the following wall of text, no matter its relevance for helping get your issue resolved quickly, please refer to the [Forge Forums][Bug-Reports] for support.** Before reporting an issue on this repository's bug tracker, please carefully read this document. There are various resources that are more likely to be able to help you with certain kinds of issues. This document provides instructions on how to determine which place best to report to. @@ -44,7 +44,7 @@ You can generally tell pretty quickly what caused the error at the head of your 1. If you can find the name of a mod in the trace, that mod most likely is the culprit. - Be aware that you may find multiple mods as participants of a crash. In that case, you can either report to both or try to reason (using the names in the stacktrace) about which mod is at fault. 2. If you can only find Forge (usually starting with `net.minecraftforge`) alongside Vanilla (usually starting with `net.minecraft`) references, chances are that you have found a bug in Forge. In this case, use one of the various [support channels](#forge-support) listed below. - - The occurence of a single call to Forge somewhere in the stacktrace *does not* warrant a report to Forge if there are mods present in the crash report. + - The occurrence of a single call to Forge somewhere in the stacktrace *does not* warrant a report to Forge if there are mods present in the crash report. 3. If there's no mention of Forge or a mod, but any Vanilla class, you might have found a Vanilla bug. You should probably still report it via the Forge channels first, however, due the nature of modded environments and the rarity of Vanilla crash bugs. 4. Always check whether there's a mention of coremods at the beginning of a crash report. If there is and you can't find any clear culprit, consider reporting to these coremods first, since they are free to change any of the code executed in your environment. @@ -74,10 +74,10 @@ Please note that this list has to be considered incomplete as there is a large n If you're certain you've found an issue that is directly caused by Forge, you have the following three platforms available for dealing with it, with decreasing relevance for end-users: - 1. **Forge Forums:** There's a dedicated [Support & Bug Report](http://www.minecraftforge.net/forum/forum/18-support-bug-reports/) section on the Forge forums, which is led by team of moderators and volunteers who will try to deal with your reports as quickly as possible. *As a player you should probably report here first.* - - For modders, there also is a separate [Modder Support](http://www.minecraftforge.net/forum/forum/70-modder-support/) section where you can ask all your development-related questions. *You should prefer this section for coding help.* - 2. **Forge Discord Server:** You can find a lot of help on the official [Discord Server](https://discord.gg/forge), especially smaller issues that you quickly need help with. *Be aware that the channel is more suited towards development questions, so while you may get support there as a player, you should almost always prefer the forums.* - 3. **Forge Issue Tracker:** If you're absolutely certain that you've found an issue in the Forge codebase (e.g. you're a modder yourself and have analyzed the stacktrace and relevant code), don't refrain from reporting it on this repository's [issue tracker](https://github.com/MinecraftForge/MinecraftForge/issues). *Please do not use the issues as a means of getting coding help. For developers, the IRC and the [official documentation](https://mcforge.readthedocs.io) are the best sources of information.* + 1. **Forge Forums:** There's a dedicated [Support & Bug Report][Bug-Reports] section on the Forge forums, which is led by team of moderators and volunteers who will try to deal with your reports as quickly as possible. *As a player you should probably report here first.* + - For modders, there also is a separate [Modder Support][Modder-Support] section where you can ask all your development-related questions. *You should prefer this section for coding help.* + 2. **Forge Discord Server:** You can find a lot of help on the official [Discord Server][Discord], especially smaller issues that you quickly need help with. *Be aware that the channel is more suited towards development questions, so while you may get support there as a player, you should almost always prefer the forums.* + 3. **Forge Issue Tracker:** If you're absolutely certain that you've found an issue in the Forge codebase (e.g. you're a modder yourself and have analyzed the stacktrace and relevant code), don't refrain from reporting it on this repository's [issue tracker](https://github.com/MinecraftForge/MinecraftForge/issues). *Please do not use the issues as a means of getting coding help. For developers, the IRC and the [official documentation][Documentation] are the best sources of information.* ### Mod Support @@ -99,7 +99,7 @@ Now that you've identified the source of your issue and decided on the correct s ### Preventing Duplicates and Unnecessary Reports Use the target issue tracker's search functionality to look for issues which have descriptions similar to yours, but make sure to also search for already closed issues. If you can find one, verify it is in fact the same (or a very similar issue) and simply comment on it if you have anything else to contribute to the discussion, such as other steps to reproduce it. *Do not create duplicates of an existing issue, since it only puts extra effort on maintainers to recognize and close/mark them.* -Additionally, always check the *latest* changelogs of Forge and participating mods to find out if the bug was already noticed and fixed by the developer. Often the maintainer may only support newer versions of the game, so also check the changelogs for versions of Minecraft you don't actually actively play. If the issue was adressed already, *do not report it*, even if the fix only exists for a newer version of the game, since the developer probably had a good reason to do so. If your issue only exists with versions of a mod that are for very old versions of the game, also refrain from reporting them, considering most modders only support the two latest versions of Minecraft, if at all. +Additionally, always check the *latest* changelogs of Forge and participating mods to find out if the bug was already noticed and fixed by the developer. Often the maintainer may only support newer versions of the game, so also check the changelogs for versions of Minecraft you don't actually actively play. If the issue was addressed already, *do not report it*, even if the fix only exists for a newer version of the game, since the developer probably had a good reason to do so. If your issue only exists with versions of a mod that are for very old versions of the game, also refrain from reporting them, considering most modders only support the two latest versions of Minecraft, if at all. ### Required Information If you're certain that your issue went unnoticed up until now, you can get to actually writing up the report. Below you can find a list of the *required* information any bug report should contain: @@ -144,4 +144,11 @@ After you have written your bug report, it is time to *wait*. Please be *patient Every project has a different way of dealing with issues, so don't wonder if there's no comment on it, but somebody "labels" it with certain markers. This helps developers to more easily keep track of bugs and priorities. When any further input from you is required, you will be asked specifically. Do not bug anyone through other channels about resolving your issue. -Once your issue is closed, you will know whether it was valid or turned out to be irreproducible. If you included all of the data from above in your report, chances are that the latter won't be the case. \ No newline at end of file +Once your issue is closed, you will know whether it was valid or turned out to be unreproducible. If you included all of the data from above in your report, chances are that the latter won't be the case. + +[Bug-Reports]: https://forums.minecraftforge.net/forum/18-support-bug-reports/ +[Modder-Support]: https://forums.minecraftforge.net/forum/70-modder-support/ + +[Discord]: https://discord.minecraftforge.net/ + +[Documentation]: https://docs.minecraftforge.net/ diff --git a/mdk/src/main/resources/pack.mcmeta b/mdk/src/main/resources/pack.mcmeta deleted file mode 100644 index 71656b3409..0000000000 --- a/mdk/src/main/resources/pack.mcmeta +++ /dev/null @@ -1,8 +0,0 @@ -{ - "pack": { - "description": "examplemod resources", - "pack_format": 13, - "forge:client_resources_pack_format": 13, - "forge:server_data_pack_format": 12 - } -} diff --git a/src/generated/resources/data/minecraft/recipes/acacia_fence.json b/src/generated/resources/data/minecraft/recipes/acacia_fence.json index d545c439a6..df2c8adcc5 100644 --- a/src/generated/resources/data/minecraft/recipes/acacia_fence.json +++ b/src/generated/resources/data/minecraft/recipes/acacia_fence.json @@ -17,5 +17,6 @@ "result": { "count": 3, "item": "minecraft:acacia_fence" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/acacia_fence_gate.json b/src/generated/resources/data/minecraft/recipes/acacia_fence_gate.json index 027948967b..04a1d52f8a 100644 --- a/src/generated/resources/data/minecraft/recipes/acacia_fence_gate.json +++ b/src/generated/resources/data/minecraft/recipes/acacia_fence_gate.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:acacia_fence_gate" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/acacia_sign.json b/src/generated/resources/data/minecraft/recipes/acacia_sign.json index ab7495d12d..441aecfcec 100644 --- a/src/generated/resources/data/minecraft/recipes/acacia_sign.json +++ b/src/generated/resources/data/minecraft/recipes/acacia_sign.json @@ -18,5 +18,6 @@ "result": { "count": 3, "item": "minecraft:acacia_sign" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/activator_rail.json b/src/generated/resources/data/minecraft/recipes/activator_rail.json index 9f682df753..047f596e57 100644 --- a/src/generated/resources/data/minecraft/recipes/activator_rail.json +++ b/src/generated/resources/data/minecraft/recipes/activator_rail.json @@ -20,5 +20,6 @@ "result": { "count": 6, "item": "minecraft:activator_rail" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/anvil.json b/src/generated/resources/data/minecraft/recipes/anvil.json index 33203f2d58..fff2f530d2 100644 --- a/src/generated/resources/data/minecraft/recipes/anvil.json +++ b/src/generated/resources/data/minecraft/recipes/anvil.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:anvil" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/armor_stand.json b/src/generated/resources/data/minecraft/recipes/armor_stand.json index 54da4b9a02..1cc3a0fdf2 100644 --- a/src/generated/resources/data/minecraft/recipes/armor_stand.json +++ b/src/generated/resources/data/minecraft/recipes/armor_stand.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:armor_stand" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/arrow.json b/src/generated/resources/data/minecraft/recipes/arrow.json index c4eba0d814..6a2486299f 100644 --- a/src/generated/resources/data/minecraft/recipes/arrow.json +++ b/src/generated/resources/data/minecraft/recipes/arrow.json @@ -20,5 +20,6 @@ "result": { "count": 4, "item": "minecraft:arrow" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/birch_fence.json b/src/generated/resources/data/minecraft/recipes/birch_fence.json index 170c1c2520..3402af290f 100644 --- a/src/generated/resources/data/minecraft/recipes/birch_fence.json +++ b/src/generated/resources/data/minecraft/recipes/birch_fence.json @@ -17,5 +17,6 @@ "result": { "count": 3, "item": "minecraft:birch_fence" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/birch_fence_gate.json b/src/generated/resources/data/minecraft/recipes/birch_fence_gate.json index 325773a2eb..d002518eee 100644 --- a/src/generated/resources/data/minecraft/recipes/birch_fence_gate.json +++ b/src/generated/resources/data/minecraft/recipes/birch_fence_gate.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:birch_fence_gate" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/birch_sign.json b/src/generated/resources/data/minecraft/recipes/birch_sign.json index 7a98a35feb..80ed8e924d 100644 --- a/src/generated/resources/data/minecraft/recipes/birch_sign.json +++ b/src/generated/resources/data/minecraft/recipes/birch_sign.json @@ -18,5 +18,6 @@ "result": { "count": 3, "item": "minecraft:birch_sign" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/black_banner.json b/src/generated/resources/data/minecraft/recipes/black_banner.json index 8f0a69aab4..0dd478812f 100644 --- a/src/generated/resources/data/minecraft/recipes/black_banner.json +++ b/src/generated/resources/data/minecraft/recipes/black_banner.json @@ -17,5 +17,6 @@ ], "result": { "item": "minecraft:black_banner" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/blast_furnace.json b/src/generated/resources/data/minecraft/recipes/blast_furnace.json index 1c34a6149c..1d1b6f0018 100644 --- a/src/generated/resources/data/minecraft/recipes/blast_furnace.json +++ b/src/generated/resources/data/minecraft/recipes/blast_furnace.json @@ -19,5 +19,6 @@ ], "result": { "item": "minecraft:blast_furnace" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/blue_banner.json b/src/generated/resources/data/minecraft/recipes/blue_banner.json index 2270bf926c..c83023af16 100644 --- a/src/generated/resources/data/minecraft/recipes/blue_banner.json +++ b/src/generated/resources/data/minecraft/recipes/blue_banner.json @@ -17,5 +17,6 @@ ], "result": { "item": "minecraft:blue_banner" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/bow.json b/src/generated/resources/data/minecraft/recipes/bow.json index 2cd59d8a45..886def250b 100644 --- a/src/generated/resources/data/minecraft/recipes/bow.json +++ b/src/generated/resources/data/minecraft/recipes/bow.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:bow" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/brown_banner.json b/src/generated/resources/data/minecraft/recipes/brown_banner.json index 71bb73f30a..8e2b1a08bf 100644 --- a/src/generated/resources/data/minecraft/recipes/brown_banner.json +++ b/src/generated/resources/data/minecraft/recipes/brown_banner.json @@ -17,5 +17,6 @@ ], "result": { "item": "minecraft:brown_banner" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/bucket.json b/src/generated/resources/data/minecraft/recipes/bucket.json index 22912ba151..f3b52de107 100644 --- a/src/generated/resources/data/minecraft/recipes/bucket.json +++ b/src/generated/resources/data/minecraft/recipes/bucket.json @@ -12,5 +12,6 @@ ], "result": { "item": "minecraft:bucket" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/campfire.json b/src/generated/resources/data/minecraft/recipes/campfire.json index d329eb4738..8a8f354b39 100644 --- a/src/generated/resources/data/minecraft/recipes/campfire.json +++ b/src/generated/resources/data/minecraft/recipes/campfire.json @@ -19,5 +19,6 @@ ], "result": { "item": "minecraft:campfire" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/cauldron.json b/src/generated/resources/data/minecraft/recipes/cauldron.json index 982e8e6aa0..56630de569 100644 --- a/src/generated/resources/data/minecraft/recipes/cauldron.json +++ b/src/generated/resources/data/minecraft/recipes/cauldron.json @@ -13,5 +13,6 @@ ], "result": { "item": "minecraft:cauldron" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/chain.json b/src/generated/resources/data/minecraft/recipes/chain.json index 0834b8f1ae..5167e6750d 100644 --- a/src/generated/resources/data/minecraft/recipes/chain.json +++ b/src/generated/resources/data/minecraft/recipes/chain.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:chain" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/clock.json b/src/generated/resources/data/minecraft/recipes/clock.json index 31e02ad116..b04610bc4b 100644 --- a/src/generated/resources/data/minecraft/recipes/clock.json +++ b/src/generated/resources/data/minecraft/recipes/clock.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:clock" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/compass.json b/src/generated/resources/data/minecraft/recipes/compass.json index f1b6226133..50a67f851a 100644 --- a/src/generated/resources/data/minecraft/recipes/compass.json +++ b/src/generated/resources/data/minecraft/recipes/compass.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:compass" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/crimson_fence.json b/src/generated/resources/data/minecraft/recipes/crimson_fence.json index fd4c99174e..ee77990b05 100644 --- a/src/generated/resources/data/minecraft/recipes/crimson_fence.json +++ b/src/generated/resources/data/minecraft/recipes/crimson_fence.json @@ -17,5 +17,6 @@ "result": { "count": 3, "item": "minecraft:crimson_fence" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/crimson_fence_gate.json b/src/generated/resources/data/minecraft/recipes/crimson_fence_gate.json index b8d6cb88dd..2dc9986205 100644 --- a/src/generated/resources/data/minecraft/recipes/crimson_fence_gate.json +++ b/src/generated/resources/data/minecraft/recipes/crimson_fence_gate.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:crimson_fence_gate" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/crimson_sign.json b/src/generated/resources/data/minecraft/recipes/crimson_sign.json index 2d26330c3d..4544489edc 100644 --- a/src/generated/resources/data/minecraft/recipes/crimson_sign.json +++ b/src/generated/resources/data/minecraft/recipes/crimson_sign.json @@ -18,5 +18,6 @@ "result": { "count": 3, "item": "minecraft:crimson_sign" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/crossbow.json b/src/generated/resources/data/minecraft/recipes/crossbow.json index 2e6e01d1c9..f98bd2e160 100644 --- a/src/generated/resources/data/minecraft/recipes/crossbow.json +++ b/src/generated/resources/data/minecraft/recipes/crossbow.json @@ -22,5 +22,6 @@ ], "result": { "item": "minecraft:crossbow" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/cyan_banner.json b/src/generated/resources/data/minecraft/recipes/cyan_banner.json index 2eae740c43..0687d85416 100644 --- a/src/generated/resources/data/minecraft/recipes/cyan_banner.json +++ b/src/generated/resources/data/minecraft/recipes/cyan_banner.json @@ -17,5 +17,6 @@ ], "result": { "item": "minecraft:cyan_banner" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/dark_oak_fence.json b/src/generated/resources/data/minecraft/recipes/dark_oak_fence.json index f25b7a205a..1a3e782761 100644 --- a/src/generated/resources/data/minecraft/recipes/dark_oak_fence.json +++ b/src/generated/resources/data/minecraft/recipes/dark_oak_fence.json @@ -17,5 +17,6 @@ "result": { "count": 3, "item": "minecraft:dark_oak_fence" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/dark_oak_fence_gate.json b/src/generated/resources/data/minecraft/recipes/dark_oak_fence_gate.json index 53d878a102..428528bc89 100644 --- a/src/generated/resources/data/minecraft/recipes/dark_oak_fence_gate.json +++ b/src/generated/resources/data/minecraft/recipes/dark_oak_fence_gate.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:dark_oak_fence_gate" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/dark_oak_sign.json b/src/generated/resources/data/minecraft/recipes/dark_oak_sign.json index 286e275709..e8b8f1070e 100644 --- a/src/generated/resources/data/minecraft/recipes/dark_oak_sign.json +++ b/src/generated/resources/data/minecraft/recipes/dark_oak_sign.json @@ -18,5 +18,6 @@ "result": { "count": 3, "item": "minecraft:dark_oak_sign" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/detector_rail.json b/src/generated/resources/data/minecraft/recipes/detector_rail.json index ddafa7ab5b..c4353b44a4 100644 --- a/src/generated/resources/data/minecraft/recipes/detector_rail.json +++ b/src/generated/resources/data/minecraft/recipes/detector_rail.json @@ -20,5 +20,6 @@ "result": { "count": 6, "item": "minecraft:detector_rail" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/diamond_axe.json b/src/generated/resources/data/minecraft/recipes/diamond_axe.json index fa33917a09..6f15668ebb 100644 --- a/src/generated/resources/data/minecraft/recipes/diamond_axe.json +++ b/src/generated/resources/data/minecraft/recipes/diamond_axe.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:diamond_axe" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/diamond_boots.json b/src/generated/resources/data/minecraft/recipes/diamond_boots.json index 0ab7eb99fe..3d4aeaeb6b 100644 --- a/src/generated/resources/data/minecraft/recipes/diamond_boots.json +++ b/src/generated/resources/data/minecraft/recipes/diamond_boots.json @@ -12,5 +12,6 @@ ], "result": { "item": "minecraft:diamond_boots" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/diamond_chestplate.json b/src/generated/resources/data/minecraft/recipes/diamond_chestplate.json index 1cd18f4c75..a43265e678 100644 --- a/src/generated/resources/data/minecraft/recipes/diamond_chestplate.json +++ b/src/generated/resources/data/minecraft/recipes/diamond_chestplate.json @@ -13,5 +13,6 @@ ], "result": { "item": "minecraft:diamond_chestplate" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/diamond_helmet.json b/src/generated/resources/data/minecraft/recipes/diamond_helmet.json index 9671c540d3..19fc2dca19 100644 --- a/src/generated/resources/data/minecraft/recipes/diamond_helmet.json +++ b/src/generated/resources/data/minecraft/recipes/diamond_helmet.json @@ -12,5 +12,6 @@ ], "result": { "item": "minecraft:diamond_helmet" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/diamond_hoe.json b/src/generated/resources/data/minecraft/recipes/diamond_hoe.json index ccd0e48768..cc0c822b36 100644 --- a/src/generated/resources/data/minecraft/recipes/diamond_hoe.json +++ b/src/generated/resources/data/minecraft/recipes/diamond_hoe.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:diamond_hoe" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/diamond_leggings.json b/src/generated/resources/data/minecraft/recipes/diamond_leggings.json index f9cbdcd738..6727669eba 100644 --- a/src/generated/resources/data/minecraft/recipes/diamond_leggings.json +++ b/src/generated/resources/data/minecraft/recipes/diamond_leggings.json @@ -13,5 +13,6 @@ ], "result": { "item": "minecraft:diamond_leggings" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/diamond_pickaxe.json b/src/generated/resources/data/minecraft/recipes/diamond_pickaxe.json index affd0a3083..d2abe9e2d5 100644 --- a/src/generated/resources/data/minecraft/recipes/diamond_pickaxe.json +++ b/src/generated/resources/data/minecraft/recipes/diamond_pickaxe.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:diamond_pickaxe" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/diamond_shovel.json b/src/generated/resources/data/minecraft/recipes/diamond_shovel.json index cb8282be2c..ddd044525a 100644 --- a/src/generated/resources/data/minecraft/recipes/diamond_shovel.json +++ b/src/generated/resources/data/minecraft/recipes/diamond_shovel.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:diamond_shovel" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/diamond_sword.json b/src/generated/resources/data/minecraft/recipes/diamond_sword.json index de7b7d161b..f16f1a1f9c 100644 --- a/src/generated/resources/data/minecraft/recipes/diamond_sword.json +++ b/src/generated/resources/data/minecraft/recipes/diamond_sword.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:diamond_sword" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/diorite.json b/src/generated/resources/data/minecraft/recipes/diorite.json index 6dfb532dcf..6854e1edf4 100644 --- a/src/generated/resources/data/minecraft/recipes/diorite.json +++ b/src/generated/resources/data/minecraft/recipes/diorite.json @@ -16,5 +16,6 @@ "result": { "count": 2, "item": "minecraft:diorite" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/dispenser.json b/src/generated/resources/data/minecraft/recipes/dispenser.json index 20076eae31..7af9b96d82 100644 --- a/src/generated/resources/data/minecraft/recipes/dispenser.json +++ b/src/generated/resources/data/minecraft/recipes/dispenser.json @@ -19,5 +19,6 @@ ], "result": { "item": "minecraft:dispenser" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/dropper.json b/src/generated/resources/data/minecraft/recipes/dropper.json index 76c51a4fa6..3488194d4a 100644 --- a/src/generated/resources/data/minecraft/recipes/dropper.json +++ b/src/generated/resources/data/minecraft/recipes/dropper.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:dropper" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/enchanting_table.json b/src/generated/resources/data/minecraft/recipes/enchanting_table.json index a238995fb9..6af8e6db21 100644 --- a/src/generated/resources/data/minecraft/recipes/enchanting_table.json +++ b/src/generated/resources/data/minecraft/recipes/enchanting_table.json @@ -19,5 +19,6 @@ ], "result": { "item": "minecraft:enchanting_table" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/fishing_rod.json b/src/generated/resources/data/minecraft/recipes/fishing_rod.json index 1bbddf8937..f976d015a8 100644 --- a/src/generated/resources/data/minecraft/recipes/fishing_rod.json +++ b/src/generated/resources/data/minecraft/recipes/fishing_rod.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:fishing_rod" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/golden_apple.json b/src/generated/resources/data/minecraft/recipes/golden_apple.json index 674bf883d3..5957e338cb 100644 --- a/src/generated/resources/data/minecraft/recipes/golden_apple.json +++ b/src/generated/resources/data/minecraft/recipes/golden_apple.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:golden_apple" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/golden_axe.json b/src/generated/resources/data/minecraft/recipes/golden_axe.json index 4811c860ad..4f97c3be79 100644 --- a/src/generated/resources/data/minecraft/recipes/golden_axe.json +++ b/src/generated/resources/data/minecraft/recipes/golden_axe.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:golden_axe" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/golden_boots.json b/src/generated/resources/data/minecraft/recipes/golden_boots.json index d5e15bc24f..0bd05a4f7f 100644 --- a/src/generated/resources/data/minecraft/recipes/golden_boots.json +++ b/src/generated/resources/data/minecraft/recipes/golden_boots.json @@ -12,5 +12,6 @@ ], "result": { "item": "minecraft:golden_boots" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/golden_chestplate.json b/src/generated/resources/data/minecraft/recipes/golden_chestplate.json index a06e7c25eb..16885abe2d 100644 --- a/src/generated/resources/data/minecraft/recipes/golden_chestplate.json +++ b/src/generated/resources/data/minecraft/recipes/golden_chestplate.json @@ -13,5 +13,6 @@ ], "result": { "item": "minecraft:golden_chestplate" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/golden_helmet.json b/src/generated/resources/data/minecraft/recipes/golden_helmet.json index 2161b20de7..44913d6671 100644 --- a/src/generated/resources/data/minecraft/recipes/golden_helmet.json +++ b/src/generated/resources/data/minecraft/recipes/golden_helmet.json @@ -12,5 +12,6 @@ ], "result": { "item": "minecraft:golden_helmet" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/golden_hoe.json b/src/generated/resources/data/minecraft/recipes/golden_hoe.json index 9626f019d7..676bf1910b 100644 --- a/src/generated/resources/data/minecraft/recipes/golden_hoe.json +++ b/src/generated/resources/data/minecraft/recipes/golden_hoe.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:golden_hoe" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/golden_leggings.json b/src/generated/resources/data/minecraft/recipes/golden_leggings.json index a377fbc982..f75a6bab98 100644 --- a/src/generated/resources/data/minecraft/recipes/golden_leggings.json +++ b/src/generated/resources/data/minecraft/recipes/golden_leggings.json @@ -13,5 +13,6 @@ ], "result": { "item": "minecraft:golden_leggings" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/golden_pickaxe.json b/src/generated/resources/data/minecraft/recipes/golden_pickaxe.json index b953212ba9..af52e0c18f 100644 --- a/src/generated/resources/data/minecraft/recipes/golden_pickaxe.json +++ b/src/generated/resources/data/minecraft/recipes/golden_pickaxe.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:golden_pickaxe" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/golden_shovel.json b/src/generated/resources/data/minecraft/recipes/golden_shovel.json index 5e4bbd536c..162de9a37f 100644 --- a/src/generated/resources/data/minecraft/recipes/golden_shovel.json +++ b/src/generated/resources/data/minecraft/recipes/golden_shovel.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:golden_shovel" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/golden_sword.json b/src/generated/resources/data/minecraft/recipes/golden_sword.json index c237f1afa5..cd305d848e 100644 --- a/src/generated/resources/data/minecraft/recipes/golden_sword.json +++ b/src/generated/resources/data/minecraft/recipes/golden_sword.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:golden_sword" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/gray_banner.json b/src/generated/resources/data/minecraft/recipes/gray_banner.json index 3a0bb04ef4..b5016f5c5a 100644 --- a/src/generated/resources/data/minecraft/recipes/gray_banner.json +++ b/src/generated/resources/data/minecraft/recipes/gray_banner.json @@ -17,5 +17,6 @@ ], "result": { "item": "minecraft:gray_banner" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/green_banner.json b/src/generated/resources/data/minecraft/recipes/green_banner.json index 000083bcf5..59aa0a1b6a 100644 --- a/src/generated/resources/data/minecraft/recipes/green_banner.json +++ b/src/generated/resources/data/minecraft/recipes/green_banner.json @@ -17,5 +17,6 @@ ], "result": { "item": "minecraft:green_banner" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/grindstone.json b/src/generated/resources/data/minecraft/recipes/grindstone.json index beb54f35ee..7ea8bc81db 100644 --- a/src/generated/resources/data/minecraft/recipes/grindstone.json +++ b/src/generated/resources/data/minecraft/recipes/grindstone.json @@ -18,5 +18,6 @@ ], "result": { "item": "minecraft:grindstone" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/heavy_weighted_pressure_plate.json b/src/generated/resources/data/minecraft/recipes/heavy_weighted_pressure_plate.json index 1ffbcccce9..c5198b136e 100644 --- a/src/generated/resources/data/minecraft/recipes/heavy_weighted_pressure_plate.json +++ b/src/generated/resources/data/minecraft/recipes/heavy_weighted_pressure_plate.json @@ -11,5 +11,6 @@ ], "result": { "item": "minecraft:heavy_weighted_pressure_plate" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/hopper.json b/src/generated/resources/data/minecraft/recipes/hopper.json index 31bff00da6..19013f6af1 100644 --- a/src/generated/resources/data/minecraft/recipes/hopper.json +++ b/src/generated/resources/data/minecraft/recipes/hopper.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:hopper" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/iron_axe.json b/src/generated/resources/data/minecraft/recipes/iron_axe.json index 09ad3b86e2..eb83d30cab 100644 --- a/src/generated/resources/data/minecraft/recipes/iron_axe.json +++ b/src/generated/resources/data/minecraft/recipes/iron_axe.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:iron_axe" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/iron_bars.json b/src/generated/resources/data/minecraft/recipes/iron_bars.json index 37a55f1b4d..9c65a668c2 100644 --- a/src/generated/resources/data/minecraft/recipes/iron_bars.json +++ b/src/generated/resources/data/minecraft/recipes/iron_bars.json @@ -13,5 +13,6 @@ "result": { "count": 16, "item": "minecraft:iron_bars" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/iron_boots.json b/src/generated/resources/data/minecraft/recipes/iron_boots.json index a5b13c1270..d05b86ea28 100644 --- a/src/generated/resources/data/minecraft/recipes/iron_boots.json +++ b/src/generated/resources/data/minecraft/recipes/iron_boots.json @@ -12,5 +12,6 @@ ], "result": { "item": "minecraft:iron_boots" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/iron_chestplate.json b/src/generated/resources/data/minecraft/recipes/iron_chestplate.json index c22d896eca..a0bb9c2c55 100644 --- a/src/generated/resources/data/minecraft/recipes/iron_chestplate.json +++ b/src/generated/resources/data/minecraft/recipes/iron_chestplate.json @@ -13,5 +13,6 @@ ], "result": { "item": "minecraft:iron_chestplate" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/iron_door.json b/src/generated/resources/data/minecraft/recipes/iron_door.json index f138c8898a..a4618d9090 100644 --- a/src/generated/resources/data/minecraft/recipes/iron_door.json +++ b/src/generated/resources/data/minecraft/recipes/iron_door.json @@ -14,5 +14,6 @@ "result": { "count": 3, "item": "minecraft:iron_door" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/iron_helmet.json b/src/generated/resources/data/minecraft/recipes/iron_helmet.json index fc376406b6..dc93edca45 100644 --- a/src/generated/resources/data/minecraft/recipes/iron_helmet.json +++ b/src/generated/resources/data/minecraft/recipes/iron_helmet.json @@ -12,5 +12,6 @@ ], "result": { "item": "minecraft:iron_helmet" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/iron_hoe.json b/src/generated/resources/data/minecraft/recipes/iron_hoe.json index d9ddbbf1a5..4a68084f8d 100644 --- a/src/generated/resources/data/minecraft/recipes/iron_hoe.json +++ b/src/generated/resources/data/minecraft/recipes/iron_hoe.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:iron_hoe" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/iron_leggings.json b/src/generated/resources/data/minecraft/recipes/iron_leggings.json index 9249dfa36e..51248c47a5 100644 --- a/src/generated/resources/data/minecraft/recipes/iron_leggings.json +++ b/src/generated/resources/data/minecraft/recipes/iron_leggings.json @@ -13,5 +13,6 @@ ], "result": { "item": "minecraft:iron_leggings" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/iron_pickaxe.json b/src/generated/resources/data/minecraft/recipes/iron_pickaxe.json index 381e76055b..ee0835a8ce 100644 --- a/src/generated/resources/data/minecraft/recipes/iron_pickaxe.json +++ b/src/generated/resources/data/minecraft/recipes/iron_pickaxe.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:iron_pickaxe" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/iron_shovel.json b/src/generated/resources/data/minecraft/recipes/iron_shovel.json index fa186c42f6..2dae106b16 100644 --- a/src/generated/resources/data/minecraft/recipes/iron_shovel.json +++ b/src/generated/resources/data/minecraft/recipes/iron_shovel.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:iron_shovel" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/iron_sword.json b/src/generated/resources/data/minecraft/recipes/iron_sword.json index d1b1fa9ff4..ebb3f99400 100644 --- a/src/generated/resources/data/minecraft/recipes/iron_sword.json +++ b/src/generated/resources/data/minecraft/recipes/iron_sword.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:iron_sword" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/iron_trapdoor.json b/src/generated/resources/data/minecraft/recipes/iron_trapdoor.json index 71777b8ca6..1a5e499467 100644 --- a/src/generated/resources/data/minecraft/recipes/iron_trapdoor.json +++ b/src/generated/resources/data/minecraft/recipes/iron_trapdoor.json @@ -12,5 +12,6 @@ ], "result": { "item": "minecraft:iron_trapdoor" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/item_frame.json b/src/generated/resources/data/minecraft/recipes/item_frame.json index 7383dc21ac..f00685acd1 100644 --- a/src/generated/resources/data/minecraft/recipes/item_frame.json +++ b/src/generated/resources/data/minecraft/recipes/item_frame.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:item_frame" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/jukebox.json b/src/generated/resources/data/minecraft/recipes/jukebox.json index 23851e3783..3794ae611f 100644 --- a/src/generated/resources/data/minecraft/recipes/jukebox.json +++ b/src/generated/resources/data/minecraft/recipes/jukebox.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:jukebox" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/jungle_fence.json b/src/generated/resources/data/minecraft/recipes/jungle_fence.json index 28ab3e0b5b..54cdb67d36 100644 --- a/src/generated/resources/data/minecraft/recipes/jungle_fence.json +++ b/src/generated/resources/data/minecraft/recipes/jungle_fence.json @@ -17,5 +17,6 @@ "result": { "count": 3, "item": "minecraft:jungle_fence" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/jungle_fence_gate.json b/src/generated/resources/data/minecraft/recipes/jungle_fence_gate.json index eeb195ecbe..387da12bfb 100644 --- a/src/generated/resources/data/minecraft/recipes/jungle_fence_gate.json +++ b/src/generated/resources/data/minecraft/recipes/jungle_fence_gate.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:jungle_fence_gate" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/jungle_sign.json b/src/generated/resources/data/minecraft/recipes/jungle_sign.json index 5c14ff95ef..f8111eec26 100644 --- a/src/generated/resources/data/minecraft/recipes/jungle_sign.json +++ b/src/generated/resources/data/minecraft/recipes/jungle_sign.json @@ -18,5 +18,6 @@ "result": { "count": 3, "item": "minecraft:jungle_sign" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/ladder.json b/src/generated/resources/data/minecraft/recipes/ladder.json index 50326bf053..f85008ae04 100644 --- a/src/generated/resources/data/minecraft/recipes/ladder.json +++ b/src/generated/resources/data/minecraft/recipes/ladder.json @@ -14,5 +14,6 @@ "result": { "count": 3, "item": "minecraft:ladder" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/lever.json b/src/generated/resources/data/minecraft/recipes/lever.json index 23666a3173..8a47825096 100644 --- a/src/generated/resources/data/minecraft/recipes/lever.json +++ b/src/generated/resources/data/minecraft/recipes/lever.json @@ -15,5 +15,6 @@ ], "result": { "item": "minecraft:lever" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/light_blue_banner.json b/src/generated/resources/data/minecraft/recipes/light_blue_banner.json index 2f7d401abc..39640d2055 100644 --- a/src/generated/resources/data/minecraft/recipes/light_blue_banner.json +++ b/src/generated/resources/data/minecraft/recipes/light_blue_banner.json @@ -17,5 +17,6 @@ ], "result": { "item": "minecraft:light_blue_banner" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/light_gray_banner.json b/src/generated/resources/data/minecraft/recipes/light_gray_banner.json index 0564f26f74..48d0c83553 100644 --- a/src/generated/resources/data/minecraft/recipes/light_gray_banner.json +++ b/src/generated/resources/data/minecraft/recipes/light_gray_banner.json @@ -17,5 +17,6 @@ ], "result": { "item": "minecraft:light_gray_banner" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/light_weighted_pressure_plate.json b/src/generated/resources/data/minecraft/recipes/light_weighted_pressure_plate.json index 8c0044b28c..18621db031 100644 --- a/src/generated/resources/data/minecraft/recipes/light_weighted_pressure_plate.json +++ b/src/generated/resources/data/minecraft/recipes/light_weighted_pressure_plate.json @@ -11,5 +11,6 @@ ], "result": { "item": "minecraft:light_weighted_pressure_plate" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/lightning_rod.json b/src/generated/resources/data/minecraft/recipes/lightning_rod.json index 8d1a5eca19..6d7abe0386 100644 --- a/src/generated/resources/data/minecraft/recipes/lightning_rod.json +++ b/src/generated/resources/data/minecraft/recipes/lightning_rod.json @@ -13,5 +13,6 @@ ], "result": { "item": "minecraft:lightning_rod" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/lime_banner.json b/src/generated/resources/data/minecraft/recipes/lime_banner.json index 603a2a1ae2..83f6abb142 100644 --- a/src/generated/resources/data/minecraft/recipes/lime_banner.json +++ b/src/generated/resources/data/minecraft/recipes/lime_banner.json @@ -17,5 +17,6 @@ ], "result": { "item": "minecraft:lime_banner" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/lodestone.json b/src/generated/resources/data/minecraft/recipes/lodestone.json index 8741c3f76e..1b0c60c877 100644 --- a/src/generated/resources/data/minecraft/recipes/lodestone.json +++ b/src/generated/resources/data/minecraft/recipes/lodestone.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:lodestone" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/magenta_banner.json b/src/generated/resources/data/minecraft/recipes/magenta_banner.json index 5b02fea383..6dab18756b 100644 --- a/src/generated/resources/data/minecraft/recipes/magenta_banner.json +++ b/src/generated/resources/data/minecraft/recipes/magenta_banner.json @@ -17,5 +17,6 @@ ], "result": { "item": "minecraft:magenta_banner" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/mangrove_fence.json b/src/generated/resources/data/minecraft/recipes/mangrove_fence.json index a799b071ac..5337645842 100644 --- a/src/generated/resources/data/minecraft/recipes/mangrove_fence.json +++ b/src/generated/resources/data/minecraft/recipes/mangrove_fence.json @@ -17,5 +17,6 @@ "result": { "count": 3, "item": "minecraft:mangrove_fence" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/mangrove_fence_gate.json b/src/generated/resources/data/minecraft/recipes/mangrove_fence_gate.json index a3bcbde9ff..e7d21f30f0 100644 --- a/src/generated/resources/data/minecraft/recipes/mangrove_fence_gate.json +++ b/src/generated/resources/data/minecraft/recipes/mangrove_fence_gate.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:mangrove_fence_gate" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/mangrove_sign.json b/src/generated/resources/data/minecraft/recipes/mangrove_sign.json index 9fce4bbc44..5dc6800e41 100644 --- a/src/generated/resources/data/minecraft/recipes/mangrove_sign.json +++ b/src/generated/resources/data/minecraft/recipes/mangrove_sign.json @@ -18,5 +18,6 @@ "result": { "count": 3, "item": "minecraft:mangrove_sign" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/minecart.json b/src/generated/resources/data/minecraft/recipes/minecart.json index aa5a1ea93d..b81dba5935 100644 --- a/src/generated/resources/data/minecraft/recipes/minecart.json +++ b/src/generated/resources/data/minecraft/recipes/minecart.json @@ -12,5 +12,6 @@ ], "result": { "item": "minecraft:minecart" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/oak_fence.json b/src/generated/resources/data/minecraft/recipes/oak_fence.json index e3f9961507..fbc65e1edc 100644 --- a/src/generated/resources/data/minecraft/recipes/oak_fence.json +++ b/src/generated/resources/data/minecraft/recipes/oak_fence.json @@ -17,5 +17,6 @@ "result": { "count": 3, "item": "minecraft:oak_fence" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/oak_fence_gate.json b/src/generated/resources/data/minecraft/recipes/oak_fence_gate.json index 956d67d1a1..0f4676d264 100644 --- a/src/generated/resources/data/minecraft/recipes/oak_fence_gate.json +++ b/src/generated/resources/data/minecraft/recipes/oak_fence_gate.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:oak_fence_gate" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/oak_sign.json b/src/generated/resources/data/minecraft/recipes/oak_sign.json index 13132c63a0..3d22fa3278 100644 --- a/src/generated/resources/data/minecraft/recipes/oak_sign.json +++ b/src/generated/resources/data/minecraft/recipes/oak_sign.json @@ -18,5 +18,6 @@ "result": { "count": 3, "item": "minecraft:oak_sign" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/observer.json b/src/generated/resources/data/minecraft/recipes/observer.json index f9304ff07a..47f5e56107 100644 --- a/src/generated/resources/data/minecraft/recipes/observer.json +++ b/src/generated/resources/data/minecraft/recipes/observer.json @@ -19,5 +19,6 @@ ], "result": { "item": "minecraft:observer" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/orange_banner.json b/src/generated/resources/data/minecraft/recipes/orange_banner.json index c260165899..ed058ae790 100644 --- a/src/generated/resources/data/minecraft/recipes/orange_banner.json +++ b/src/generated/resources/data/minecraft/recipes/orange_banner.json @@ -17,5 +17,6 @@ ], "result": { "item": "minecraft:orange_banner" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/painting.json b/src/generated/resources/data/minecraft/recipes/painting.json index dfe4ad0caa..4951fe0055 100644 --- a/src/generated/resources/data/minecraft/recipes/painting.json +++ b/src/generated/resources/data/minecraft/recipes/painting.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:painting" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/pink_banner.json b/src/generated/resources/data/minecraft/recipes/pink_banner.json index 1965e7dffc..8ada3fb1b3 100644 --- a/src/generated/resources/data/minecraft/recipes/pink_banner.json +++ b/src/generated/resources/data/minecraft/recipes/pink_banner.json @@ -17,5 +17,6 @@ ], "result": { "item": "minecraft:pink_banner" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/piston.json b/src/generated/resources/data/minecraft/recipes/piston.json index 74f40060e5..a97171e715 100644 --- a/src/generated/resources/data/minecraft/recipes/piston.json +++ b/src/generated/resources/data/minecraft/recipes/piston.json @@ -22,5 +22,6 @@ ], "result": { "item": "minecraft:piston" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/polished_deepslate.json b/src/generated/resources/data/minecraft/recipes/polished_deepslate.json index 2163aba74f..a09c89e9cd 100644 --- a/src/generated/resources/data/minecraft/recipes/polished_deepslate.json +++ b/src/generated/resources/data/minecraft/recipes/polished_deepslate.json @@ -13,5 +13,6 @@ "result": { "count": 4, "item": "minecraft:polished_deepslate" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/powered_rail.json b/src/generated/resources/data/minecraft/recipes/powered_rail.json index c8b5b6e014..c5f1f7d97a 100644 --- a/src/generated/resources/data/minecraft/recipes/powered_rail.json +++ b/src/generated/resources/data/minecraft/recipes/powered_rail.json @@ -20,5 +20,6 @@ "result": { "count": 6, "item": "minecraft:powered_rail" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/purple_banner.json b/src/generated/resources/data/minecraft/recipes/purple_banner.json index 9c9baa1d93..2d1567f405 100644 --- a/src/generated/resources/data/minecraft/recipes/purple_banner.json +++ b/src/generated/resources/data/minecraft/recipes/purple_banner.json @@ -17,5 +17,6 @@ ], "result": { "item": "minecraft:purple_banner" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/rail.json b/src/generated/resources/data/minecraft/recipes/rail.json index a14f5d7786..e5fa2d6183 100644 --- a/src/generated/resources/data/minecraft/recipes/rail.json +++ b/src/generated/resources/data/minecraft/recipes/rail.json @@ -17,5 +17,6 @@ "result": { "count": 16, "item": "minecraft:rail" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/red_banner.json b/src/generated/resources/data/minecraft/recipes/red_banner.json index ece467fb8a..6d02348b61 100644 --- a/src/generated/resources/data/minecraft/recipes/red_banner.json +++ b/src/generated/resources/data/minecraft/recipes/red_banner.json @@ -17,5 +17,6 @@ ], "result": { "item": "minecraft:red_banner" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/redstone_torch.json b/src/generated/resources/data/minecraft/recipes/redstone_torch.json index 3fef11c1ec..9b1b240624 100644 --- a/src/generated/resources/data/minecraft/recipes/redstone_torch.json +++ b/src/generated/resources/data/minecraft/recipes/redstone_torch.json @@ -15,5 +15,6 @@ ], "result": { "item": "minecraft:redstone_torch" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/shears.json b/src/generated/resources/data/minecraft/recipes/shears.json index 920ff4fd1d..8369e522a0 100644 --- a/src/generated/resources/data/minecraft/recipes/shears.json +++ b/src/generated/resources/data/minecraft/recipes/shears.json @@ -12,5 +12,6 @@ ], "result": { "item": "minecraft:shears" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/shield.json b/src/generated/resources/data/minecraft/recipes/shield.json index d746ab4ede..c9124c13f5 100644 --- a/src/generated/resources/data/minecraft/recipes/shield.json +++ b/src/generated/resources/data/minecraft/recipes/shield.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:shield" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/shulker_box.json b/src/generated/resources/data/minecraft/recipes/shulker_box.json index 15c67ec58d..e3b5fdb941 100644 --- a/src/generated/resources/data/minecraft/recipes/shulker_box.json +++ b/src/generated/resources/data/minecraft/recipes/shulker_box.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:shulker_box" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/smithing_table.json b/src/generated/resources/data/minecraft/recipes/smithing_table.json index e1ba2b4749..041fe1f037 100644 --- a/src/generated/resources/data/minecraft/recipes/smithing_table.json +++ b/src/generated/resources/data/minecraft/recipes/smithing_table.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:smithing_table" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/soul_campfire.json b/src/generated/resources/data/minecraft/recipes/soul_campfire.json index 4e1d80e502..829d816e89 100644 --- a/src/generated/resources/data/minecraft/recipes/soul_campfire.json +++ b/src/generated/resources/data/minecraft/recipes/soul_campfire.json @@ -19,5 +19,6 @@ ], "result": { "item": "minecraft:soul_campfire" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/soul_torch.json b/src/generated/resources/data/minecraft/recipes/soul_torch.json index 55f4104c79..6dd07f15e1 100644 --- a/src/generated/resources/data/minecraft/recipes/soul_torch.json +++ b/src/generated/resources/data/minecraft/recipes/soul_torch.json @@ -25,5 +25,6 @@ "result": { "count": 4, "item": "minecraft:soul_torch" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/spruce_fence.json b/src/generated/resources/data/minecraft/recipes/spruce_fence.json index b4eab9c13f..0a2e0c2417 100644 --- a/src/generated/resources/data/minecraft/recipes/spruce_fence.json +++ b/src/generated/resources/data/minecraft/recipes/spruce_fence.json @@ -17,5 +17,6 @@ "result": { "count": 3, "item": "minecraft:spruce_fence" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/spruce_fence_gate.json b/src/generated/resources/data/minecraft/recipes/spruce_fence_gate.json index 258057d801..2bd86795f3 100644 --- a/src/generated/resources/data/minecraft/recipes/spruce_fence_gate.json +++ b/src/generated/resources/data/minecraft/recipes/spruce_fence_gate.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:spruce_fence_gate" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/spruce_sign.json b/src/generated/resources/data/minecraft/recipes/spruce_sign.json index fb28d8c03e..086645daed 100644 --- a/src/generated/resources/data/minecraft/recipes/spruce_sign.json +++ b/src/generated/resources/data/minecraft/recipes/spruce_sign.json @@ -18,5 +18,6 @@ "result": { "count": 3, "item": "minecraft:spruce_sign" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/spyglass.json b/src/generated/resources/data/minecraft/recipes/spyglass.json index f649bfc44a..27970c6c86 100644 --- a/src/generated/resources/data/minecraft/recipes/spyglass.json +++ b/src/generated/resources/data/minecraft/recipes/spyglass.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:spyglass" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/stone_axe.json b/src/generated/resources/data/minecraft/recipes/stone_axe.json index 58ce1597f6..94d324d09a 100644 --- a/src/generated/resources/data/minecraft/recipes/stone_axe.json +++ b/src/generated/resources/data/minecraft/recipes/stone_axe.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:stone_axe" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/stone_hoe.json b/src/generated/resources/data/minecraft/recipes/stone_hoe.json index 2827ae1eab..d1cb7e4a2e 100644 --- a/src/generated/resources/data/minecraft/recipes/stone_hoe.json +++ b/src/generated/resources/data/minecraft/recipes/stone_hoe.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:stone_hoe" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/stone_pickaxe.json b/src/generated/resources/data/minecraft/recipes/stone_pickaxe.json index 8d02352c43..21a0b74e10 100644 --- a/src/generated/resources/data/minecraft/recipes/stone_pickaxe.json +++ b/src/generated/resources/data/minecraft/recipes/stone_pickaxe.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:stone_pickaxe" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/stone_shovel.json b/src/generated/resources/data/minecraft/recipes/stone_shovel.json index 609f6e511a..42599213e2 100644 --- a/src/generated/resources/data/minecraft/recipes/stone_shovel.json +++ b/src/generated/resources/data/minecraft/recipes/stone_shovel.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:stone_shovel" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/stone_sword.json b/src/generated/resources/data/minecraft/recipes/stone_sword.json index 7afc9ceec6..1a916597dd 100644 --- a/src/generated/resources/data/minecraft/recipes/stone_sword.json +++ b/src/generated/resources/data/minecraft/recipes/stone_sword.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:stone_sword" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/stonecutter.json b/src/generated/resources/data/minecraft/recipes/stonecutter.json index 4fa791814f..d9b589b729 100644 --- a/src/generated/resources/data/minecraft/recipes/stonecutter.json +++ b/src/generated/resources/data/minecraft/recipes/stonecutter.json @@ -15,5 +15,6 @@ ], "result": { "item": "minecraft:stonecutter" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/tinted_glass.json b/src/generated/resources/data/minecraft/recipes/tinted_glass.json index 2017014aff..5b0e47efc7 100644 --- a/src/generated/resources/data/minecraft/recipes/tinted_glass.json +++ b/src/generated/resources/data/minecraft/recipes/tinted_glass.json @@ -17,5 +17,6 @@ "result": { "count": 2, "item": "minecraft:tinted_glass" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/torch.json b/src/generated/resources/data/minecraft/recipes/torch.json index 71147ae0aa..5cdc3f1742 100644 --- a/src/generated/resources/data/minecraft/recipes/torch.json +++ b/src/generated/resources/data/minecraft/recipes/torch.json @@ -21,5 +21,6 @@ "result": { "count": 4, "item": "minecraft:torch" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/tripwire_hook.json b/src/generated/resources/data/minecraft/recipes/tripwire_hook.json index a02479f770..b583e8d0b4 100644 --- a/src/generated/resources/data/minecraft/recipes/tripwire_hook.json +++ b/src/generated/resources/data/minecraft/recipes/tripwire_hook.json @@ -20,5 +20,6 @@ "result": { "count": 2, "item": "minecraft:tripwire_hook" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/warped_fence.json b/src/generated/resources/data/minecraft/recipes/warped_fence.json index 052fa02e71..f662e1b04a 100644 --- a/src/generated/resources/data/minecraft/recipes/warped_fence.json +++ b/src/generated/resources/data/minecraft/recipes/warped_fence.json @@ -17,5 +17,6 @@ "result": { "count": 3, "item": "minecraft:warped_fence" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/warped_fence_gate.json b/src/generated/resources/data/minecraft/recipes/warped_fence_gate.json index f176822579..aacf1f757e 100644 --- a/src/generated/resources/data/minecraft/recipes/warped_fence_gate.json +++ b/src/generated/resources/data/minecraft/recipes/warped_fence_gate.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:warped_fence_gate" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/warped_sign.json b/src/generated/resources/data/minecraft/recipes/warped_sign.json index cbaa3b7b87..ff8ba7b5cf 100644 --- a/src/generated/resources/data/minecraft/recipes/warped_sign.json +++ b/src/generated/resources/data/minecraft/recipes/warped_sign.json @@ -18,5 +18,6 @@ "result": { "count": 3, "item": "minecraft:warped_sign" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/white_banner.json b/src/generated/resources/data/minecraft/recipes/white_banner.json index 9957dc5b0a..e2ee693032 100644 --- a/src/generated/resources/data/minecraft/recipes/white_banner.json +++ b/src/generated/resources/data/minecraft/recipes/white_banner.json @@ -17,5 +17,6 @@ ], "result": { "item": "minecraft:white_banner" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/wooden_axe.json b/src/generated/resources/data/minecraft/recipes/wooden_axe.json index 1f6cabc9b3..c8613fbeb9 100644 --- a/src/generated/resources/data/minecraft/recipes/wooden_axe.json +++ b/src/generated/resources/data/minecraft/recipes/wooden_axe.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:wooden_axe" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/wooden_hoe.json b/src/generated/resources/data/minecraft/recipes/wooden_hoe.json index 0faec2df65..a865012b83 100644 --- a/src/generated/resources/data/minecraft/recipes/wooden_hoe.json +++ b/src/generated/resources/data/minecraft/recipes/wooden_hoe.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:wooden_hoe" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/wooden_pickaxe.json b/src/generated/resources/data/minecraft/recipes/wooden_pickaxe.json index 70c46788bc..e05232a921 100644 --- a/src/generated/resources/data/minecraft/recipes/wooden_pickaxe.json +++ b/src/generated/resources/data/minecraft/recipes/wooden_pickaxe.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:wooden_pickaxe" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/wooden_shovel.json b/src/generated/resources/data/minecraft/recipes/wooden_shovel.json index e5d95dbe8f..20d5c1436e 100644 --- a/src/generated/resources/data/minecraft/recipes/wooden_shovel.json +++ b/src/generated/resources/data/minecraft/recipes/wooden_shovel.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:wooden_shovel" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/wooden_sword.json b/src/generated/resources/data/minecraft/recipes/wooden_sword.json index f16e202780..2ddd06f904 100644 --- a/src/generated/resources/data/minecraft/recipes/wooden_sword.json +++ b/src/generated/resources/data/minecraft/recipes/wooden_sword.json @@ -16,5 +16,6 @@ ], "result": { "item": "minecraft:wooden_sword" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/data/minecraft/recipes/yellow_banner.json b/src/generated/resources/data/minecraft/recipes/yellow_banner.json index 80eb283553..d519361dba 100644 --- a/src/generated/resources/data/minecraft/recipes/yellow_banner.json +++ b/src/generated/resources/data/minecraft/recipes/yellow_banner.json @@ -17,5 +17,6 @@ ], "result": { "item": "minecraft:yellow_banner" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated/resources/pack.mcmeta b/src/generated/resources/pack.mcmeta new file mode 100644 index 0000000000..e096da989f --- /dev/null +++ b/src/generated/resources/pack.mcmeta @@ -0,0 +1,9 @@ +{ + "pack": { + "description": { + "translate": "pack.forge.description" + }, + "forge:server_data_pack_format": 12, + "pack_format": 13 + } +} \ No newline at end of file diff --git a/src/generated_mdk/resources/pack.mcmeta b/src/generated_mdk/resources/pack.mcmeta new file mode 100644 index 0000000000..22d1390a9c --- /dev/null +++ b/src/generated_mdk/resources/pack.mcmeta @@ -0,0 +1,9 @@ +{ + "pack": { + "description": { + "text": "examplemod resources" + }, + "forge:server_data_pack_format": 12, + "pack_format": 13 + } +} \ No newline at end of file diff --git a/src/generated_test/resources/assets/data_gen_test/models/item/test_block_model.json b/src/generated_test/resources/assets/data_gen_test/models/item/test_block_model.json new file mode 100644 index 0000000000..f730eb78c5 --- /dev/null +++ b/src/generated_test/resources/assets/data_gen_test/models/item/test_block_model.json @@ -0,0 +1,48 @@ +{ + "parent": "minecraft:block/block", + "elements": [ + { + "faces": { + "down": { + "cullface": "down", + "texture": "#all" + }, + "east": { + "cullface": "east", + "texture": "#all" + }, + "north": { + "cullface": "north", + "texture": "#all" + }, + "south": { + "cullface": "south", + "texture": "#all" + }, + "up": { + "cullface": "up", + "texture": "#top", + "tintindex": 0 + }, + "west": { + "cullface": "west", + "texture": "#all" + } + }, + "from": [ + 0, + 0, + 0 + ], + "to": [ + 16, + 16, + 16 + ] + } + ], + "textures": { + "all": "minecraft:block/dirt", + "top": "minecraft:block/stone" + } +} \ No newline at end of file diff --git a/src/generated_test/resources/assets/tag_based_tool_types/models/item/test_stone.json b/src/generated_test/resources/assets/tag_based_tool_types/models/item/test_stone.json new file mode 100644 index 0000000000..e74daa5bae --- /dev/null +++ b/src/generated_test/resources/assets/tag_based_tool_types/models/item/test_stone.json @@ -0,0 +1,3 @@ +{ + "parent": "tag_based_tool_types:block/test_stone" +} \ No newline at end of file diff --git a/src/generated_test/resources/data/biome_modifiers_test/forge/biome_modifier/add_basalt.json b/src/generated_test/resources/data/biome_modifiers_test/forge/biome_modifier/add_basalt.json new file mode 100644 index 0000000000..4d1a1f99e2 --- /dev/null +++ b/src/generated_test/resources/data/biome_modifiers_test/forge/biome_modifier/add_basalt.json @@ -0,0 +1,6 @@ +{ + "type": "forge:add_features", + "biomes": "#minecraft:is_badlands", + "features": "biome_modifiers_test:large_basalt_columns", + "step": "top_layer_modification" +} \ No newline at end of file diff --git a/src/generated_test/resources/data/biome_modifiers_test/forge/biome_modifier/add_magma_cubes.json b/src/generated_test/resources/data/biome_modifiers_test/forge/biome_modifier/add_magma_cubes.json new file mode 100644 index 0000000000..2f6f0a039e --- /dev/null +++ b/src/generated_test/resources/data/biome_modifiers_test/forge/biome_modifier/add_magma_cubes.json @@ -0,0 +1,10 @@ +{ + "type": "forge:add_spawns", + "biomes": "#minecraft:is_badlands", + "spawners": { + "type": "minecraft:magma_cube", + "maxCount": 4, + "minCount": 1, + "weight": 100 + } +} \ No newline at end of file diff --git a/src/generated_test/resources/data/biome_modifiers_test/forge/biome_modifier/modify_badlands.json b/src/generated_test/resources/data/biome_modifiers_test/forge/biome_modifier/modify_badlands.json new file mode 100644 index 0000000000..8a805f0712 --- /dev/null +++ b/src/generated_test/resources/data/biome_modifiers_test/forge/biome_modifier/modify_badlands.json @@ -0,0 +1,6 @@ +{ + "type": "biome_modifiers_test:modify_biomes", + "biomes": "#minecraft:is_badlands", + "precipitation": "snow", + "water_color": 1044480 +} \ No newline at end of file diff --git a/src/generated_test/resources/data/biome_modifiers_test/forge/biome_modifier/remove_forest_skeletons.json b/src/generated_test/resources/data/biome_modifiers_test/forge/biome_modifier/remove_forest_skeletons.json new file mode 100644 index 0000000000..5262cccec0 --- /dev/null +++ b/src/generated_test/resources/data/biome_modifiers_test/forge/biome_modifier/remove_forest_skeletons.json @@ -0,0 +1,5 @@ +{ + "type": "forge:remove_spawns", + "biomes": "#minecraft:is_forest", + "entity_types": "#minecraft:skeletons" +} \ No newline at end of file diff --git a/src/generated_test/resources/data/biome_modifiers_test/forge/biome_modifier/remove_forest_trees.json b/src/generated_test/resources/data/biome_modifiers_test/forge/biome_modifier/remove_forest_trees.json new file mode 100644 index 0000000000..7dd978a205 --- /dev/null +++ b/src/generated_test/resources/data/biome_modifiers_test/forge/biome_modifier/remove_forest_trees.json @@ -0,0 +1,5 @@ +{ + "type": "forge:remove_features", + "biomes": "#minecraft:is_forest", + "features": "minecraft:trees_birch_and_oak" +} \ No newline at end of file diff --git a/src/generated_test/resources/data/biome_modifiers_test/worldgen/placed_feature/large_basalt_columns.json b/src/generated_test/resources/data/biome_modifiers_test/worldgen/placed_feature/large_basalt_columns.json new file mode 100644 index 0000000000..8b5ee4dc46 --- /dev/null +++ b/src/generated_test/resources/data/biome_modifiers_test/worldgen/placed_feature/large_basalt_columns.json @@ -0,0 +1,12 @@ +{ + "feature": "minecraft:large_basalt_columns", + "placement": [ + { + "type": "minecraft:count_on_every_layer", + "count": 1 + }, + { + "type": "minecraft:biome" + } + ] +} \ No newline at end of file diff --git a/src/generated_test/resources/data/data_gen_test/recipes/compound_ingredient_custom_types.json b/src/generated_test/resources/data/data_gen_test/recipes/compound_ingredient_custom_types.json index a8c4a8c42e..22c3d460e1 100644 --- a/src/generated_test/resources/data/data_gen_test/recipes/compound_ingredient_custom_types.json +++ b/src/generated_test/resources/data/data_gen_test/recipes/compound_ingredient_custom_types.json @@ -25,5 +25,6 @@ ], "result": { "item": "minecraft:gold_block" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated_test/resources/data/data_gen_test/recipes/compound_ingredient_only_vanilla.json b/src/generated_test/resources/data/data_gen_test/recipes/compound_ingredient_only_vanilla.json index 8c082a4cb0..a277388f21 100644 --- a/src/generated_test/resources/data/data_gen_test/recipes/compound_ingredient_only_vanilla.json +++ b/src/generated_test/resources/data/data_gen_test/recipes/compound_ingredient_only_vanilla.json @@ -20,5 +20,6 @@ ], "result": { "item": "minecraft:dirt" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated_test/resources/data/data_gen_test/recipes/conditional.json b/src/generated_test/resources/data/data_gen_test/recipes/conditional.json index 8d8936f732..7f9479f5be 100644 --- a/src/generated_test/resources/data/data_gen_test/recipes/conditional.json +++ b/src/generated_test/resources/data/data_gen_test/recipes/conditional.json @@ -39,7 +39,8 @@ "result": { "count": 64, "item": "minecraft:diamond_block" - } + }, + "show_notification": true } } ] diff --git a/src/generated_test/resources/data/data_gen_test/recipes/conditional2.json b/src/generated_test/resources/data/data_gen_test/recipes/conditional2.json index 48f82bc5d6..32db9240ad 100644 --- a/src/generated_test/resources/data/data_gen_test/recipes/conditional2.json +++ b/src/generated_test/resources/data/data_gen_test/recipes/conditional2.json @@ -42,7 +42,8 @@ "result": { "count": 64, "item": "minecraft:diamond_block" - } + }, + "show_notification": true } } ] diff --git a/src/generated_test/resources/data/data_gen_test/recipes/conditional3.json b/src/generated_test/resources/data/data_gen_test/recipes/conditional3.json index 75fd27421e..7115fd44ac 100644 --- a/src/generated_test/resources/data/data_gen_test/recipes/conditional3.json +++ b/src/generated_test/resources/data/data_gen_test/recipes/conditional3.json @@ -22,7 +22,8 @@ ], "result": { "item": "minecraft:netherite_block" - } + }, + "show_notification": true } }, { @@ -50,7 +51,8 @@ "result": { "count": 9, "item": "minecraft:netherite_block" - } + }, + "show_notification": true } } ] diff --git a/src/generated_test/resources/data/data_gen_test/recipes/difference_ingredient.json b/src/generated_test/resources/data/data_gen_test/recipes/difference_ingredient.json index 509035be7e..1ea966a581 100644 --- a/src/generated_test/resources/data/data_gen_test/recipes/difference_ingredient.json +++ b/src/generated_test/resources/data/data_gen_test/recipes/difference_ingredient.json @@ -19,5 +19,6 @@ ], "result": { "item": "minecraft:flint_and_steel" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated_test/resources/data/data_gen_test/recipes/intersection_ingredient.json b/src/generated_test/resources/data/data_gen_test/recipes/intersection_ingredient.json index ddb4a0422f..ea709556a9 100644 --- a/src/generated_test/resources/data/data_gen_test/recipes/intersection_ingredient.json +++ b/src/generated_test/resources/data/data_gen_test/recipes/intersection_ingredient.json @@ -21,5 +21,6 @@ ], "result": { "item": "minecraft:netherrack" - } + }, + "show_notification": true } \ No newline at end of file diff --git a/src/generated_test/resources/pack.mcmeta b/src/generated_test/resources/pack.mcmeta new file mode 100644 index 0000000000..5650f5841c --- /dev/null +++ b/src/generated_test/resources/pack.mcmeta @@ -0,0 +1,9 @@ +{ + "pack": { + "description": { + "text": "Forge tests resource pack" + }, + "forge:server_data_pack_format": 12, + "pack_format": 13 + } +} \ No newline at end of file diff --git a/src/main/java/net/minecraftforge/common/ForgeMod.java b/src/main/java/net/minecraftforge/common/ForgeMod.java index 4fdb612925..ca00ecdebd 100644 --- a/src/main/java/net/minecraftforge/common/ForgeMod.java +++ b/src/main/java/net/minecraftforge/common/ForgeMod.java @@ -5,6 +5,7 @@ package net.minecraftforge.common; +import net.minecraft.DetectedVersion; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.BiomeColors; import net.minecraft.commands.synchronization.ArgumentTypeInfo; @@ -14,6 +15,10 @@ import net.minecraft.core.BlockPos; import net.minecraft.core.HolderLookup; import net.minecraft.core.registries.Registries; import net.minecraft.data.PackOutput; +import net.minecraft.data.metadata.PackMetadataGenerator; +import net.minecraft.network.chat.Component; +import net.minecraft.server.packs.PackType; +import net.minecraft.server.packs.metadata.pack.PackMetadataSection; import net.minecraft.sounds.SoundEvents; import net.minecraft.world.entity.Entity; import net.minecraft.world.entity.Mob; @@ -117,6 +122,7 @@ import java.util.*; import java.util.concurrent.CompletableFuture; import java.util.function.Consumer; import java.util.function.Function; +import java.util.stream.Collectors; @Mod("forge") public class ForgeMod @@ -481,6 +487,13 @@ public class ForgeMod CompletableFuture lookupProvider = event.getLookupProvider(); ExistingFileHelper existingFileHelper = event.getExistingFileHelper(); + gen.addProvider(true, new PackMetadataGenerator(packOutput) + .add(PackMetadataSection.TYPE, new PackMetadataSection( + Component.translatable("pack.forge.description"), + DetectedVersion.BUILT_IN.getPackVersion(PackType.CLIENT_RESOURCES), + Arrays.stream(PackType.values()).collect(Collectors.toMap(Function.identity(), DetectedVersion.BUILT_IN::getPackVersion)) + )) + ); ForgeBlockTagsProvider blockTags = new ForgeBlockTagsProvider(packOutput, lookupProvider, existingFileHelper); gen.addProvider(event.includeServer(), blockTags); gen.addProvider(event.includeServer(), new ForgeItemTagsProvider(packOutput, lookupProvider, blockTags.contentsGetter(), existingFileHelper)); diff --git a/src/main/resources/pack.mcmeta b/src/main/resources/pack.mcmeta deleted file mode 100644 index da6a5f56f2..0000000000 --- a/src/main/resources/pack.mcmeta +++ /dev/null @@ -1,10 +0,0 @@ -{ - "pack": { - "pack_format": 13, - "description": { - "translate": "pack.forge.description" - }, - "forge:client_resources_pack_format": 13, - "forge:server_data_pack_format": 12 - } -} diff --git a/src/test/java/net/minecraftforge/debug/DataGeneratorTest.java b/src/test/java/net/minecraftforge/debug/DataGeneratorTest.java index c51da773b2..ac4d9fc91f 100644 --- a/src/test/java/net/minecraftforge/debug/DataGeneratorTest.java +++ b/src/test/java/net/minecraftforge/debug/DataGeneratorTest.java @@ -12,6 +12,7 @@ import java.lang.reflect.Field; import java.lang.reflect.Method; import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.List; @@ -22,23 +23,27 @@ import java.util.Optional; import java.util.Set; import java.util.concurrent.CompletableFuture; import java.util.function.Consumer; +import java.util.function.Function; import java.util.stream.Collectors; import java.util.stream.IntStream; import java.util.stream.Stream; import com.google.gson.JsonNull; import com.google.gson.JsonPrimitive; +import net.minecraft.DetectedVersion; import net.minecraft.Util; import net.minecraft.advancements.critereon.InventoryChangeTrigger; import net.minecraft.core.*; import net.minecraft.core.registries.Registries; import net.minecraft.data.CachedOutput; import net.minecraft.data.PackOutput; +import net.minecraft.data.metadata.PackMetadataGenerator; import net.minecraft.data.recipes.*; import net.minecraft.data.worldgen.BootstapContext; import net.minecraft.nbt.CompoundTag; import net.minecraft.network.chat.Component; import net.minecraft.resources.ResourceKey; +import net.minecraft.server.packs.metadata.pack.PackMetadataSection; import net.minecraft.sounds.SoundEvents; import net.minecraft.tags.ItemTags; import net.minecraft.world.item.ItemDisplayContext; @@ -151,6 +156,13 @@ public class DataGeneratorTest PackOutput packOutput = gen.getPackOutput(); CompletableFuture lookupProvider = event.getLookupProvider(); + gen.addProvider(true, new PackMetadataGenerator(packOutput) + .add(PackMetadataSection.TYPE, new PackMetadataSection( + Component.literal("Forge tests resource pack"), + DetectedVersion.BUILT_IN.getPackVersion(PackType.CLIENT_RESOURCES), + Arrays.stream(PackType.values()).collect(Collectors.toMap(Function.identity(), DetectedVersion.BUILT_IN::getPackVersion)) + )) + ); gen.addProvider(event.includeClient(), new Lang(packOutput)); // Let blockstate provider see generated item models by passing its existing file helper ItemModelProvider itemModels = new ItemModels(packOutput, event.getExistingFileHelper()); @@ -432,8 +444,7 @@ public class DataGeneratorTest @Override public CompletableFuture run(CachedOutput cache) { - super.run(cache); - return CompletableFuture.runAsync(this::test); + return super.run(cache).thenRun(this::test); } private void test() @@ -683,7 +694,7 @@ public class DataGeneratorTest @Override public CompletableFuture run(CachedOutput cache) { - super.run(cache); + var output = super.run(cache); List errors = testModelResults(this.generatedModels, existingFileHelper, IGNORED_MODELS.stream().map(s -> new ResourceLocation(MODID, folder + "/" + s)).collect(Collectors.toSet())); if (!errors.isEmpty()) { LOGGER.error("Found {} discrepancies between generated and vanilla item models: ", errors.size()); @@ -693,7 +704,7 @@ public class DataGeneratorTest throw new AssertionError("Generated item models differed from vanilla equivalents, check above errors."); } - return CompletableFuture.allOf(); + return output; } @Override @@ -865,35 +876,35 @@ public class DataGeneratorTest @Override public CompletableFuture run(CachedOutput cache) { - super.run(cache); - this.errors.addAll(testModelResults(models().generatedModels, models().existingFileHelper, Sets.union(IGNORED_MODELS, CUSTOM_MODELS))); - this.registeredBlocks.forEach((block, state) -> { - if (IGNORED_BLOCKS.contains(block)) return; - JsonObject generated = state.toJson(); - try { - Resource vanillaResource = models().existingFileHelper.getResource(ForgeRegistries.BLOCKS.getKey(block), PackType.CLIENT_RESOURCES, ".json", "blockstates"); - JsonObject existing = GSON.fromJson(vanillaResource.openAsReader(), JsonObject.class); - if (state instanceof VariantBlockStateBuilder) { - compareVariantBlockstates(block, generated, existing); - } else if (state instanceof MultiPartBlockStateBuilder) { - compareMultipartBlockstates(block, generated, existing); - } else { - throw new IllegalStateException("Unknown blockstate type: " + state.getClass()); + return super.run(cache).thenRun(() -> { + this.errors.addAll(testModelResults(models().generatedModels, models().existingFileHelper, Sets.union(IGNORED_MODELS, CUSTOM_MODELS))); + this.registeredBlocks.forEach((block, state) -> { + if (IGNORED_BLOCKS.contains(block)) return; + JsonObject generated = state.toJson(); + try { + Resource vanillaResource = models().existingFileHelper.getResource(ForgeRegistries.BLOCKS.getKey(block), PackType.CLIENT_RESOURCES, ".json", "blockstates"); + JsonObject existing = GSON.fromJson(vanillaResource.openAsReader(), JsonObject.class); + if (state instanceof VariantBlockStateBuilder) { + compareVariantBlockstates(block, generated, existing); + } else if (state instanceof MultiPartBlockStateBuilder) { + compareMultipartBlockstates(block, generated, existing); + } else { + throw new IllegalStateException("Unknown blockstate type: " + state.getClass()); + } + } catch (IOException e) { + throw new RuntimeException(e); } - } catch (IOException e) { - throw new RuntimeException(e); + }); + + if (!errors.isEmpty()) { + LOGGER.error("Found {} discrepancies between generated and vanilla models/blockstates: ", errors.size()); + for (String s : errors) { + LOGGER.error(" {}", s); + } + throw new AssertionError("Generated blockstates/models differed from vanilla equivalents, check above errors."); } + }); - - if (!errors.isEmpty()) { - LOGGER.error("Found {} discrepancies between generated and vanilla models/blockstates: ", errors.size()); - for (String s : errors) { - LOGGER.error(" {}", s); - } - throw new AssertionError("Generated blockstates/models differed from vanilla equivalents, check above errors."); - } - - return CompletableFuture.allOf(); } private void compareVariantBlockstates(Block block, JsonObject generated, JsonObject vanilla) { diff --git a/src/test/java/net/minecraftforge/mdk/MdkDatagen.java b/src/test/java/net/minecraftforge/mdk/MdkDatagen.java new file mode 100644 index 0000000000..5cfca7537c --- /dev/null +++ b/src/test/java/net/minecraftforge/mdk/MdkDatagen.java @@ -0,0 +1,43 @@ +/* + * Copyright (c) Forge Development LLC and contributors + * SPDX-License-Identifier: LGPL-2.1-only + */ + +package net.minecraftforge.mdk; + +import net.minecraft.DetectedVersion; +import net.minecraft.data.metadata.PackMetadataGenerator; +import net.minecraft.network.chat.Component; +import net.minecraft.server.packs.PackType; +import net.minecraft.server.packs.metadata.pack.PackMetadataSection; +import net.minecraftforge.data.event.GatherDataEvent; +import net.minecraftforge.fml.common.Mod; +import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext; + +import java.util.Arrays; +import java.util.function.Function; +import java.util.stream.Collectors; + +@Mod(MdkDatagen.MOD_ID) +public class MdkDatagen +{ + static final String MOD_ID = "mdk_datagen"; + + public MdkDatagen() + { + FMLJavaModLoadingContext.get().getModEventBus().addListener(MdkDatagen::gatherData); + } + + private static void gatherData(GatherDataEvent event) + { + var gen = event.getGenerator(); + var packOutput = gen.getPackOutput(); + gen.addProvider(true, new PackMetadataGenerator(packOutput) + .add(PackMetadataSection.TYPE, new PackMetadataSection( + Component.literal("examplemod resources"), + DetectedVersion.BUILT_IN.getPackVersion(PackType.CLIENT_RESOURCES), + Arrays.stream(PackType.values()).collect(Collectors.toMap(Function.identity(), DetectedVersion.BUILT_IN::getPackVersion)) + )) + ); + } +} diff --git a/src/test/resources/META-INF/mods.toml b/src/test/resources/META-INF/mods.toml index 968e05ad23..568777fed3 100644 --- a/src/test/resources/META-INF/mods.toml +++ b/src/test/resources/META-INF/mods.toml @@ -2,6 +2,9 @@ modLoader="javafml" loaderVersion="[28,)" license="LGPL v2.1" +[[mods]] +modId="mdk_datagen" + [[mods]] modId="eventtests" [[mods]] @@ -175,8 +178,6 @@ modId="remove_tag_datagen_test" [[mods]] modId="tag_based_tool_types" [[mods]] -modId="check_spawn_event_test" -[[mods]] modId="spawn_placement_test" [[mods]] modId="redstone_sided_connectivity_test" diff --git a/src/test/resources/pack.mcmeta b/src/test/resources/pack.mcmeta deleted file mode 100644 index 78137398ca..0000000000 --- a/src/test/resources/pack.mcmeta +++ /dev/null @@ -1,8 +0,0 @@ -{ - "pack": { - "pack_format": 13, - "description": "Forge tests resource pack", - "forge:client_resources_pack_format": 13, - "forge:server_data_pack_format": 12 - } -}