diff --git a/src/main/generated/.cache/0809c40fc61808c03cb356ec122a9518709ab04f b/src/main/generated/.cache/0809c40fc61808c03cb356ec122a9518709ab04f index 799d651..af7c372 100644 --- a/src/main/generated/.cache/0809c40fc61808c03cb356ec122a9518709ab04f +++ b/src/main/generated/.cache/0809c40fc61808c03cb356ec122a9518709ab04f @@ -1,4 +1,4 @@ -// 1.19.4 2023-04-13T20:56:56.349859709 This Rocks!/rocks +// 1.21 2024-09-16T20:01:04.36031781 This Rocks!/rocks d71c0556b644dcaf5737175f7336de62ebdbb167 data/rocks/worldgen/configured_feature/mangrove_stick.json dcc0d9933482f519f2f7e50417b78be0a515918d data/rocks/worldgen/placed_feature/soul_soil_rock.json fa2f1ffb8e1754f320b7fa507bebaecccdc48390 data/rocks/worldgen/configured_feature/spruce_stick.json @@ -16,17 +16,17 @@ dbda0b9c6a571f8d5cbe47fda3cda2f8d08ff9f2 data/rocks/worldgen/configured_feature/ ac68decd062ded192b01770ec250d76a55e76177 data/rocks/worldgen/configured_feature/oak_stick.json 2f7cdca56829a8e66ec6bb6cc3fff2f2bdb95b38 data/rocks/worldgen/configured_feature/red_sand_rock.json 93f0ff373f22b3fe818305c03cf3a947dc0016d0 data/rocks/worldgen/placed_feature/gravel_rock.json -ae1b4c625b9387c5dfc8c1eb53c1eda353ffa712 data/rocks/worldgen/placed_feature/jungle_stick.json 66039045c4bce89398ae0466b1c14ca3cd68912a data/rocks/worldgen/configured_feature/warped_stick.json +ae1b4c625b9387c5dfc8c1eb53c1eda353ffa712 data/rocks/worldgen/placed_feature/jungle_stick.json 6454db935e810df3ad97aa625308e827b57e115d data/rocks/worldgen/configured_feature/acacia_stick.json 5e1c33acb6043e8e33561f06650d0973382d6054 data/rocks/worldgen/placed_feature/nether_geyser.json 6b1fa178181fd3ec1138da12e220976bf11f831c data/rocks/worldgen/configured_feature/nether_gravel_rock.json -07245b68ad42948f36707d5b83dc995ded4b3038 data/rocks/worldgen/placed_feature/seashell.json 16e9b2f47ac483b8f672c42a5c36194d14e7f7f7 data/rocks/worldgen/placed_feature/nether_gravel_rock.json a09aa0e744166ba6c07e640a55dcb6570c34936f data/rocks/worldgen/placed_feature/andesite_rock.json +07245b68ad42948f36707d5b83dc995ded4b3038 data/rocks/worldgen/placed_feature/seashell.json 14b6c52b4bdeb69a427eb741e12f21d965de76ab data/rocks/worldgen/configured_feature/cherry_stick.json -26574f35fb852a572ad10c2882160b4fc280aad8 data/rocks/worldgen/configured_feature/sand_rock.json de8a64d00b10892f62b21dd3e034608836b4215b data/rocks/worldgen/configured_feature/netherrack_rock.json +26574f35fb852a572ad10c2882160b4fc280aad8 data/rocks/worldgen/configured_feature/sand_rock.json 6b1fa178181fd3ec1138da12e220976bf11f831c data/rocks/worldgen/configured_feature/gravel_rock.json 4554733520656e979093beaa05d881213ad81415 data/rocks/worldgen/configured_feature/underwater_seashell.json a2553fb89e8382c0e04dcf3ded89ffcad51b111b data/rocks/worldgen/configured_feature/andesite_rock.json @@ -35,8 +35,8 @@ a2553fb89e8382c0e04dcf3ded89ffcad51b111b data/rocks/worldgen/configured_feature/ 9413155a906186256fb8395d7c892833db2390bc data/rocks/worldgen/configured_feature/end_stone_rock.json 8210691068079b5f1652a95b854c1ffd37548a22 data/rocks/worldgen/configured_feature/rock.json d0179c57f1a557cd656ebcd902bfbb57fd877e16 data/rocks/worldgen/configured_feature/seashell.json -2ac994ff2e7818ea340b0c4bd527386e80dbcf52 data/rocks/worldgen/placed_feature/underwater_seashell.json 9cb4b04873d315d036c4850b8bf79718aa1919d0 data/rocks/worldgen/configured_feature/jungle_stick.json +2ac994ff2e7818ea340b0c4bd527386e80dbcf52 data/rocks/worldgen/placed_feature/underwater_seashell.json 527e35b402cf6f3ee07e767affe58f75257748ad data/rocks/worldgen/placed_feature/starfish.json 5bc6faa179ca69a8a89cc04910f0288621ce89ea data/rocks/worldgen/configured_feature/nether_geyser.json eb9d7f31f960d8ec61122d75623acb1e2529b4fa data/rocks/worldgen/placed_feature/cherry_stick.json @@ -47,10 +47,10 @@ e36c8db5ef949c547e917e3543da41cfbe378970 data/rocks/worldgen/placed_feature/bamb 1c3fa5665b6c36abd5aa406793acc1f54d3d0d27 data/rocks/worldgen/placed_feature/spruce_stick.json 40e1b2b9439381c0f12fdc9811bc8462a23c3a57 data/rocks/worldgen/placed_feature/mangrove_stick.json 79d123df2ad9ab7a1a3ae508c62a90e7dceb3aac data/rocks/worldgen/configured_feature/crimson_stick.json -8eeab96572a35223ec7be23886da2d5ebaef8c47 data/rocks/worldgen/placed_feature/dark_oak_stick.json f9b95c245164e443738638e4af012ed92b8180e0 data/rocks/worldgen/configured_feature/starfish.json -735c703ef4e0d25978d492d203e7f9979d601524 data/rocks/worldgen/placed_feature/underwater_starfish.json +8eeab96572a35223ec7be23886da2d5ebaef8c47 data/rocks/worldgen/placed_feature/dark_oak_stick.json c25b0c3bdb96f8e3469481cb787691807bfc3fa3 data/rocks/worldgen/configured_feature/snowy_geyser.json +735c703ef4e0d25978d492d203e7f9979d601524 data/rocks/worldgen/placed_feature/underwater_starfish.json 23b0fb98fdaafef8c0ff7346149d85c7c597e86a data/rocks/worldgen/configured_feature/birch_stick.json ebaddc15f52cda4480ae94bd7b3d57b0cbbbbdfb data/rocks/worldgen/placed_feature/oak_stick.json 0d79544af5d224d8067936bbfd447f1c533e27b5 data/rocks/worldgen/placed_feature/granite_rock.json diff --git a/src/main/generated/.cache/1fbe32a694326cbc22446c7b535df1f442a946d8 b/src/main/generated/.cache/1fbe32a694326cbc22446c7b535df1f442a946d8 new file mode 100644 index 0000000..c36edd3 --- /dev/null +++ b/src/main/generated/.cache/1fbe32a694326cbc22446c7b535df1f442a946d8 @@ -0,0 +1 @@ +// 1.21 2024-09-16T20:01:04.361596285 This Rocks!/Tags for minecraft:block diff --git a/src/main/generated/.cache/7df76d5247a36d2b525b52d21f61ffe0e75fec0a b/src/main/generated/.cache/7df76d5247a36d2b525b52d21f61ffe0e75fec0a new file mode 100644 index 0000000..47ac77a --- /dev/null +++ b/src/main/generated/.cache/7df76d5247a36d2b525b52d21f61ffe0e75fec0a @@ -0,0 +1,26 @@ +// 1.21 2024-09-16T20:01:04.361779283 This Rocks!/Block Loot Tables +847f71960b56bcc92eaebfb2f98818477868e56b data/rocks/loot_table/blocks/soul_soil_rock.json +e9d103438e87429bf353ae9f8c72b986cfb03982 data/rocks/loot_table/blocks/oak_stick.json +0b5f09e47b168ea1605353b441cf84423e998781 data/rocks/loot_table/blocks/red_sand_rock.json +1ed5083da79cd8c0e4629b4906efcdfa7fa13f7b data/rocks/loot_table/blocks/starfish.json +a943852527aa61b311a21312312cb67b0e941593 data/rocks/loot_table/blocks/crimson_stick.json +706890e011d7e0f74f575790ea9e50b55085f256 data/rocks/loot_table/blocks/spruce_stick.json +a4daf8fc7c400e7c9a16f4f1392e29d35dcddc5a data/rocks/loot_table/blocks/ice_rock.json +f34d9890e8353b13952972d71085eeff4bcab1eb data/rocks/loot_table/blocks/cherry_stick.json +6628d84cd87044ac74c6170bf1adb4a0ba3e1451 data/rocks/loot_table/blocks/netherrack_rock.json +95e50bb507ce330ceff8c04eca287457193015bb data/rocks/loot_table/blocks/acacia_stick.json +aa89fb0888b5a8abaef4c713c292ec8076298170 data/rocks/loot_table/blocks/gravel_rock.json +57039ec5e50322cbfde63394dd304315fb670dd7 data/rocks/loot_table/blocks/andesite_rock.json +8cbee37f5a070e21308dc7c0aa9b0beea416b84a data/rocks/loot_table/blocks/sand_rock.json +8224883d1a2ed01334a64216168b1f56c4ed2a90 data/rocks/loot_table/blocks/pinecone.json +c37079a8ac71c003bdda9d8e6a9c4b770c8a8bbc data/rocks/loot_table/blocks/rock.json +f0908425c618a5483354eba1ead6a611f1fa51fb data/rocks/loot_table/blocks/birch_stick.json +cf62804400411aabc548c741280abde43a3d0d59 data/rocks/loot_table/blocks/mangrove_stick.json +71181493ade8079fbb528115025e4a4d345e29e3 data/rocks/loot_table/blocks/end_stone_rock.json +7c6403bd90213358a18381e79395d986daf21a88 data/rocks/loot_table/blocks/diorite_rock.json +2793e53c85ec8bad852f656856298d6e00bfdf85 data/rocks/loot_table/blocks/seashell.json +852ccbedaeaa82a525f8dc435fb7a30a495f842f data/rocks/loot_table/blocks/bamboo_stick.json +fb92bcdad8ef685be9a0604c0dec357992389bbf data/rocks/loot_table/blocks/dark_oak_stick.json +67d948f5d9305509d2a23e13137a14b26eccf6d7 data/rocks/loot_table/blocks/warped_stick.json +31015a9cbb6ab6790056eb16ecb9aff0ad0a03b1 data/rocks/loot_table/blocks/jungle_stick.json +283f96ab013b53fe1569127810bdc838f7746c09 data/rocks/loot_table/blocks/granite_rock.json diff --git a/src/main/generated/.cache/ef95184f2e259c8d7b29584bde1d7a9631cc116f b/src/main/generated/.cache/ef95184f2e259c8d7b29584bde1d7a9631cc116f new file mode 100644 index 0000000..7f73783 --- /dev/null +++ b/src/main/generated/.cache/ef95184f2e259c8d7b29584bde1d7a9631cc116f @@ -0,0 +1,21 @@ +// 1.21 2024-09-16T20:01:04.362147985 This Rocks!/Recipes +b6c911282f64d7f0e0b3f6108bad4dbb3df515a6 data/rocks/advancement/recipes/building_blocks/stone_from_splitter.json +54e83b6dcb86d6449ac69700336bac9f7b308931 data/rocks/recipe/andesite_from_splitter.json +667857ccb79ec82999a28a0ac364ef3abfb1e940 data/rocks/recipe/ice_from_splitter.json +a7c075826da6d91e9a8dd4c45a62e2584252d35a data/rocks/recipe/granite_from_splitter.json +6fc5a499309ae86487bfcdbf1783751d992d7bdc data/rocks/advancement/recipes/building_blocks/diorite_from_splitter.json +5e51953ff415119c283d0b925b2617e7d5b73b40 data/rocks/recipe/soul_soil_from_splitter.json +82d0010e162387ee929082f502d3a4607d84aa8d data/rocks/advancement/recipes/building_blocks/ice_from_splitter.json +9772534185914e9398078ac9a7fcd05f25ade481 data/rocks/advancement/recipes/building_blocks/soul_soil_from_splitter.json +725624c5ea8833ec71fb9f8adf6efe539835120e data/rocks/advancement/recipes/building_blocks/andesite_from_splitter.json +09e9680aafaaa8e6ef2c08063ecdf88f94d1fea1 data/rocks/recipe/stone_from_splitter.json +1c7de94400d03b90df1468e12bf793c073d2063c data/rocks/recipe/netherrack_from_splitter.json +ec73556fd65c48863750db345532e88ba051a7af data/rocks/advancement/recipes/building_blocks/netherrack_from_splitter.json +2979c1cbad1e33cf3eddee36831abab780f11fe4 data/rocks/advancement/recipes/building_blocks/end_stone_from_splitter.json +5ca53887c2cc9e9b22aedfe362821e29ad0d1bdf data/rocks/advancement/recipes/building_blocks/red_sandstone_from_splitter.json +81d37fc236c6c2aa9b53219d4d2be41e9686f0f4 data/rocks/advancement/recipes/building_blocks/sandstone_from_splitter.json +424226dbb76410282b0abf7cab1123a760cf36fe data/rocks/advancement/recipes/building_blocks/granite_from_splitter.json +e6b4864bd839293dcdf078ebdbb1284a378d0862 data/rocks/recipe/diorite_from_splitter.json +ee5e78fedb2ca204462d67398a668f01cba976b3 data/rocks/recipe/red_sandstone_from_splitter.json +d190015248ae4c1bc3fd274e6fbd4cb262300507 data/rocks/recipe/end_stone_from_splitter.json +12d6109625cde783570f8337c4e5ace2804731e6 data/rocks/recipe/sandstone_from_splitter.json diff --git a/src/main/generated/data/rocks/advancement/recipes/building_blocks/andesite_from_splitter.json b/src/main/generated/data/rocks/advancement/recipes/building_blocks/andesite_from_splitter.json new file mode 100644 index 0000000..1d85205 --- /dev/null +++ b/src/main/generated/data/rocks/advancement/recipes/building_blocks/andesite_from_splitter.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_andesite_splitter": { + "conditions": { + "items": [ + { + "items": "rocks:andesite_splitter" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:andesite_from_splitter" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_andesite_splitter" + ] + ], + "rewards": { + "recipes": [ + "minecraft:andesite_from_splitter" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/advancement/recipes/building_blocks/diorite_from_splitter.json b/src/main/generated/data/rocks/advancement/recipes/building_blocks/diorite_from_splitter.json new file mode 100644 index 0000000..97422b8 --- /dev/null +++ b/src/main/generated/data/rocks/advancement/recipes/building_blocks/diorite_from_splitter.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_diorite_splitter": { + "conditions": { + "items": [ + { + "items": "rocks:diorite_splitter" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:diorite_from_splitter" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_diorite_splitter" + ] + ], + "rewards": { + "recipes": [ + "minecraft:diorite_from_splitter" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/advancement/recipes/building_blocks/end_stone_from_splitter.json b/src/main/generated/data/rocks/advancement/recipes/building_blocks/end_stone_from_splitter.json new file mode 100644 index 0000000..950ada2 --- /dev/null +++ b/src/main/generated/data/rocks/advancement/recipes/building_blocks/end_stone_from_splitter.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_end_stone_splitter": { + "conditions": { + "items": [ + { + "items": "rocks:end_stone_splitter" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:end_stone_from_splitter" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_end_stone_splitter" + ] + ], + "rewards": { + "recipes": [ + "minecraft:end_stone_from_splitter" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/advancement/recipes/building_blocks/granite_from_splitter.json b/src/main/generated/data/rocks/advancement/recipes/building_blocks/granite_from_splitter.json new file mode 100644 index 0000000..b9152e5 --- /dev/null +++ b/src/main/generated/data/rocks/advancement/recipes/building_blocks/granite_from_splitter.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_granite_splitter": { + "conditions": { + "items": [ + { + "items": "rocks:granite_splitter" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:granite_from_splitter" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_granite_splitter" + ] + ], + "rewards": { + "recipes": [ + "minecraft:granite_from_splitter" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/advancement/recipes/building_blocks/ice_from_splitter.json b/src/main/generated/data/rocks/advancement/recipes/building_blocks/ice_from_splitter.json new file mode 100644 index 0000000..d3ecfb0 --- /dev/null +++ b/src/main/generated/data/rocks/advancement/recipes/building_blocks/ice_from_splitter.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_ice_splitter": { + "conditions": { + "items": [ + { + "items": "rocks:ice_splitter" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:ice_from_splitter" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_ice_splitter" + ] + ], + "rewards": { + "recipes": [ + "minecraft:ice_from_splitter" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/advancement/recipes/building_blocks/netherrack_from_splitter.json b/src/main/generated/data/rocks/advancement/recipes/building_blocks/netherrack_from_splitter.json new file mode 100644 index 0000000..6692804 --- /dev/null +++ b/src/main/generated/data/rocks/advancement/recipes/building_blocks/netherrack_from_splitter.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_netherrack_splitter": { + "conditions": { + "items": [ + { + "items": "rocks:netherrack_splitter" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:netherrack_from_splitter" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_netherrack_splitter" + ] + ], + "rewards": { + "recipes": [ + "minecraft:netherrack_from_splitter" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/advancement/recipes/building_blocks/red_sandstone_from_splitter.json b/src/main/generated/data/rocks/advancement/recipes/building_blocks/red_sandstone_from_splitter.json new file mode 100644 index 0000000..e145f54 --- /dev/null +++ b/src/main/generated/data/rocks/advancement/recipes/building_blocks/red_sandstone_from_splitter.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_red_sandstone_splitter": { + "conditions": { + "items": [ + { + "items": "rocks:red_sandstone_splitter" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:red_sandstone_from_splitter" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_red_sandstone_splitter" + ] + ], + "rewards": { + "recipes": [ + "minecraft:red_sandstone_from_splitter" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/advancement/recipes/building_blocks/sandstone_from_splitter.json b/src/main/generated/data/rocks/advancement/recipes/building_blocks/sandstone_from_splitter.json new file mode 100644 index 0000000..97a6a38 --- /dev/null +++ b/src/main/generated/data/rocks/advancement/recipes/building_blocks/sandstone_from_splitter.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_sandstone_splitter": { + "conditions": { + "items": [ + { + "items": "rocks:sandstone_splitter" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:sandstone_from_splitter" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_sandstone_splitter" + ] + ], + "rewards": { + "recipes": [ + "minecraft:sandstone_from_splitter" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/advancement/recipes/building_blocks/soul_soil_from_splitter.json b/src/main/generated/data/rocks/advancement/recipes/building_blocks/soul_soil_from_splitter.json new file mode 100644 index 0000000..49edbba --- /dev/null +++ b/src/main/generated/data/rocks/advancement/recipes/building_blocks/soul_soil_from_splitter.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_soul_soil_splitter": { + "conditions": { + "items": [ + { + "items": "rocks:soul_soil_splitter" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:soul_soil_from_splitter" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_soul_soil_splitter" + ] + ], + "rewards": { + "recipes": [ + "minecraft:soul_soil_from_splitter" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/advancement/recipes/building_blocks/stone_from_splitter.json b/src/main/generated/data/rocks/advancement/recipes/building_blocks/stone_from_splitter.json new file mode 100644 index 0000000..a121c19 --- /dev/null +++ b/src/main/generated/data/rocks/advancement/recipes/building_blocks/stone_from_splitter.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_cobblestone_splitter": { + "conditions": { + "items": [ + { + "items": "rocks:cobblestone_splitter" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "minecraft:stone_from_splitter" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_cobblestone_splitter" + ] + ], + "rewards": { + "recipes": [ + "minecraft:stone_from_splitter" + ] + } +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/loot_table/blocks/acacia_stick.json b/src/main/generated/data/rocks/loot_table/blocks/acacia_stick.json new file mode 100644 index 0000000..24977c0 --- /dev/null +++ b/src/main/generated/data/rocks/loot_table/blocks/acacia_stick.json @@ -0,0 +1,41 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], + "name": "rocks:acacia_stick" + }, + { + "type": "minecraft:item", + "name": "minecraft:stick" + } + ] + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/loot_table/blocks/andesite_rock.json b/src/main/generated/data/rocks/loot_table/blocks/andesite_rock.json new file mode 100644 index 0000000..39b1bdc --- /dev/null +++ b/src/main/generated/data/rocks/loot_table/blocks/andesite_rock.json @@ -0,0 +1,41 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], + "name": "rocks:andesite_rock" + }, + { + "type": "minecraft:item", + "name": "rocks:andesite_splitter" + } + ] + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/loot_table/blocks/bamboo_stick.json b/src/main/generated/data/rocks/loot_table/blocks/bamboo_stick.json new file mode 100644 index 0000000..95ba99e --- /dev/null +++ b/src/main/generated/data/rocks/loot_table/blocks/bamboo_stick.json @@ -0,0 +1,41 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], + "name": "rocks:bamboo_stick" + }, + { + "type": "minecraft:item", + "name": "minecraft:stick" + } + ] + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/loot_table/blocks/birch_stick.json b/src/main/generated/data/rocks/loot_table/blocks/birch_stick.json new file mode 100644 index 0000000..dece091 --- /dev/null +++ b/src/main/generated/data/rocks/loot_table/blocks/birch_stick.json @@ -0,0 +1,41 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], + "name": "rocks:birch_stick" + }, + { + "type": "minecraft:item", + "name": "minecraft:stick" + } + ] + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/loot_table/blocks/cherry_stick.json b/src/main/generated/data/rocks/loot_table/blocks/cherry_stick.json new file mode 100644 index 0000000..7499682 --- /dev/null +++ b/src/main/generated/data/rocks/loot_table/blocks/cherry_stick.json @@ -0,0 +1,41 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], + "name": "rocks:cherry_stick" + }, + { + "type": "minecraft:item", + "name": "minecraft:stick" + } + ] + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/loot_table/blocks/crimson_stick.json b/src/main/generated/data/rocks/loot_table/blocks/crimson_stick.json new file mode 100644 index 0000000..bd4fb00 --- /dev/null +++ b/src/main/generated/data/rocks/loot_table/blocks/crimson_stick.json @@ -0,0 +1,41 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], + "name": "rocks:crimson_stick" + }, + { + "type": "minecraft:item", + "name": "minecraft:stick" + } + ] + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/loot_table/blocks/dark_oak_stick.json b/src/main/generated/data/rocks/loot_table/blocks/dark_oak_stick.json new file mode 100644 index 0000000..a56a4f9 --- /dev/null +++ b/src/main/generated/data/rocks/loot_table/blocks/dark_oak_stick.json @@ -0,0 +1,41 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], + "name": "rocks:dark_oak_stick" + }, + { + "type": "minecraft:item", + "name": "minecraft:stick" + } + ] + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/loot_table/blocks/diorite_rock.json b/src/main/generated/data/rocks/loot_table/blocks/diorite_rock.json new file mode 100644 index 0000000..4b12615 --- /dev/null +++ b/src/main/generated/data/rocks/loot_table/blocks/diorite_rock.json @@ -0,0 +1,41 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], + "name": "rocks:diorite_rock" + }, + { + "type": "minecraft:item", + "name": "rocks:diorite_splitter" + } + ] + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/loot_table/blocks/end_stone_rock.json b/src/main/generated/data/rocks/loot_table/blocks/end_stone_rock.json new file mode 100644 index 0000000..e10fa00 --- /dev/null +++ b/src/main/generated/data/rocks/loot_table/blocks/end_stone_rock.json @@ -0,0 +1,41 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], + "name": "rocks:end_stone_rock" + }, + { + "type": "minecraft:item", + "name": "rocks:end_stone_splitter" + } + ] + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/loot_table/blocks/granite_rock.json b/src/main/generated/data/rocks/loot_table/blocks/granite_rock.json new file mode 100644 index 0000000..7c4d43d --- /dev/null +++ b/src/main/generated/data/rocks/loot_table/blocks/granite_rock.json @@ -0,0 +1,41 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], + "name": "rocks:granite_rock" + }, + { + "type": "minecraft:item", + "name": "rocks:granite_splitter" + } + ] + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/loot_table/blocks/gravel_rock.json b/src/main/generated/data/rocks/loot_table/blocks/gravel_rock.json new file mode 100644 index 0000000..8bd3a63 --- /dev/null +++ b/src/main/generated/data/rocks/loot_table/blocks/gravel_rock.json @@ -0,0 +1,41 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], + "name": "rocks:gravel_rock" + }, + { + "type": "minecraft:item", + "name": "minecraft:flint" + } + ] + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/loot_table/blocks/ice_rock.json b/src/main/generated/data/rocks/loot_table/blocks/ice_rock.json new file mode 100644 index 0000000..071d9ba --- /dev/null +++ b/src/main/generated/data/rocks/loot_table/blocks/ice_rock.json @@ -0,0 +1,41 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], + "name": "rocks:ice_rock" + }, + { + "type": "minecraft:item", + "name": "rocks:ice_splitter" + } + ] + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/loot_table/blocks/jungle_stick.json b/src/main/generated/data/rocks/loot_table/blocks/jungle_stick.json new file mode 100644 index 0000000..4717f33 --- /dev/null +++ b/src/main/generated/data/rocks/loot_table/blocks/jungle_stick.json @@ -0,0 +1,41 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], + "name": "rocks:jungle_stick" + }, + { + "type": "minecraft:item", + "name": "minecraft:stick" + } + ] + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/loot_table/blocks/mangrove_stick.json b/src/main/generated/data/rocks/loot_table/blocks/mangrove_stick.json new file mode 100644 index 0000000..c5cb6db --- /dev/null +++ b/src/main/generated/data/rocks/loot_table/blocks/mangrove_stick.json @@ -0,0 +1,41 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], + "name": "rocks:mangrove_stick" + }, + { + "type": "minecraft:item", + "name": "minecraft:stick" + } + ] + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/loot_table/blocks/netherrack_rock.json b/src/main/generated/data/rocks/loot_table/blocks/netherrack_rock.json new file mode 100644 index 0000000..50b5303 --- /dev/null +++ b/src/main/generated/data/rocks/loot_table/blocks/netherrack_rock.json @@ -0,0 +1,41 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], + "name": "rocks:netherrack_rock" + }, + { + "type": "minecraft:item", + "name": "rocks:netherrack_splitter" + } + ] + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/loot_table/blocks/oak_stick.json b/src/main/generated/data/rocks/loot_table/blocks/oak_stick.json new file mode 100644 index 0000000..0abb413 --- /dev/null +++ b/src/main/generated/data/rocks/loot_table/blocks/oak_stick.json @@ -0,0 +1,41 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], + "name": "rocks:oak_stick" + }, + { + "type": "minecraft:item", + "name": "minecraft:stick" + } + ] + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/rocks/loot_table/blocks/pinecone.json b/src/main/generated/data/rocks/loot_table/blocks/pinecone.json old mode 100755 new mode 100644 similarity index 56% rename from src/main/resources/data/rocks/loot_table/blocks/pinecone.json rename to src/main/generated/data/rocks/loot_table/blocks/pinecone.json index 430d4c1..950d046 --- a/src/main/resources/data/rocks/loot_table/blocks/pinecone.json +++ b/src/main/generated/data/rocks/loot_table/blocks/pinecone.json @@ -2,26 +2,31 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1, + "bonus_rolls": 0.0, "entries": [ { "type": "minecraft:alternatives", "children": [ { "type": "minecraft:item", - "name": "rocks:pinecone", "conditions": [ { "condition": "minecraft:match_tool", "predicate": { - "components": { - "minecraft:enchantments": { - "minecraft:silk_touch": 1 - } + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] } } } - ] + ], + "name": "rocks:pinecone" }, { "type": "minecraft:item", @@ -30,11 +35,7 @@ ] } ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] + "rolls": 1.0 } ] -} +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/loot_table/blocks/red_sand_rock.json b/src/main/generated/data/rocks/loot_table/blocks/red_sand_rock.json new file mode 100644 index 0000000..d1adcec --- /dev/null +++ b/src/main/generated/data/rocks/loot_table/blocks/red_sand_rock.json @@ -0,0 +1,41 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], + "name": "rocks:red_sand_rock" + }, + { + "type": "minecraft:item", + "name": "rocks:red_sandstone_splitter" + } + ] + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/rocks/loot_table/blocks/rock.json b/src/main/generated/data/rocks/loot_table/blocks/rock.json old mode 100755 new mode 100644 similarity index 50% rename from src/main/resources/data/rocks/loot_table/blocks/rock.json rename to src/main/generated/data/rocks/loot_table/blocks/rock.json index 4b5cc09..a518a13 --- a/src/main/resources/data/rocks/loot_table/blocks/rock.json +++ b/src/main/generated/data/rocks/loot_table/blocks/rock.json @@ -2,35 +2,31 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1, + "bonus_rolls": 0.0, "entries": [ { "type": "minecraft:alternatives", "children": [ { "type": "minecraft:item", - "name": "rocks:rock", - "functions": [ - { - "function": "minecraft:copy_state", - "block": "rocks:rock", - "properties": [ - "variation" - ] - } - ], "conditions": [ { "condition": "minecraft:match_tool", "predicate": { - "components": { - "minecraft:enchantments": { - "minecraft:silk_touch": 1 - } + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] } } } - ] + ], + "name": "rocks:rock" }, { "type": "minecraft:item", @@ -39,11 +35,7 @@ ] } ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] + "rolls": 1.0 } ] -} +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/loot_table/blocks/sand_rock.json b/src/main/generated/data/rocks/loot_table/blocks/sand_rock.json new file mode 100644 index 0000000..445f27e --- /dev/null +++ b/src/main/generated/data/rocks/loot_table/blocks/sand_rock.json @@ -0,0 +1,41 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], + "name": "rocks:sand_rock" + }, + { + "type": "minecraft:item", + "name": "rocks:sandstone_splitter" + } + ] + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/loot_table/blocks/seashell.json b/src/main/generated/data/rocks/loot_table/blocks/seashell.json new file mode 100644 index 0000000..63c468a --- /dev/null +++ b/src/main/generated/data/rocks/loot_table/blocks/seashell.json @@ -0,0 +1,54 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], + "name": "rocks:seashell" + }, + { + "type": "minecraft:item", + "conditions": [ + { + "chances": [ + 0.02, + 0.022222223, + 0.025, + 0.033333335, + 0.1 + ], + "condition": "minecraft:table_bonus", + "enchantment": "minecraft:fortune" + } + ], + "name": "minecraft:nautilus_shell" + } + ] + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/loot_table/blocks/soul_soil_rock.json b/src/main/generated/data/rocks/loot_table/blocks/soul_soil_rock.json new file mode 100644 index 0000000..6ca1f0b --- /dev/null +++ b/src/main/generated/data/rocks/loot_table/blocks/soul_soil_rock.json @@ -0,0 +1,41 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], + "name": "rocks:soul_soil_rock" + }, + { + "type": "minecraft:item", + "name": "rocks:soul_soil_splitter" + } + ] + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/loot_table/blocks/spruce_stick.json b/src/main/generated/data/rocks/loot_table/blocks/spruce_stick.json new file mode 100644 index 0000000..a84e4df --- /dev/null +++ b/src/main/generated/data/rocks/loot_table/blocks/spruce_stick.json @@ -0,0 +1,41 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], + "name": "rocks:spruce_stick" + }, + { + "type": "minecraft:item", + "name": "minecraft:stick" + } + ] + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/rocks/loot_table/blocks/starfish.json b/src/main/generated/data/rocks/loot_table/blocks/starfish.json old mode 100755 new mode 100644 similarity index 62% rename from src/main/resources/data/rocks/loot_table/blocks/starfish.json rename to src/main/generated/data/rocks/loot_table/blocks/starfish.json index 834fceb..9e058a8 --- a/src/main/resources/data/rocks/loot_table/blocks/starfish.json +++ b/src/main/generated/data/rocks/loot_table/blocks/starfish.json @@ -2,22 +2,28 @@ "type": "minecraft:block", "pools": [ { - "rolls": 1, + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ], "entries": [ { "type": "minecraft:item", - "name": "rocks:starfish", "functions": [ { - "function": "minecraft:copy_state", "block": "rocks:starfish", + "function": "minecraft:copy_state", "properties": [ "variation" ] } - ] + ], + "name": "rocks:starfish" } - ] + ], + "rolls": 1.0 } ] } \ No newline at end of file diff --git a/src/main/generated/data/rocks/loot_table/blocks/warped_stick.json b/src/main/generated/data/rocks/loot_table/blocks/warped_stick.json new file mode 100644 index 0000000..3a812cc --- /dev/null +++ b/src/main/generated/data/rocks/loot_table/blocks/warped_stick.json @@ -0,0 +1,41 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "bonus_rolls": 0.0, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:silk_touch", + "levels": { + "min": 1 + } + } + ] + } + } + } + ], + "name": "rocks:warped_stick" + }, + { + "type": "minecraft:item", + "name": "minecraft:stick" + } + ] + } + ], + "rolls": 1.0 + } + ] +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/recipe/andesite_from_splitter.json b/src/main/generated/data/rocks/recipe/andesite_from_splitter.json new file mode 100644 index 0000000..83dd7df --- /dev/null +++ b/src/main/generated/data/rocks/recipe/andesite_from_splitter.json @@ -0,0 +1,22 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "building", + "ingredients": [ + { + "item": "rocks:andesite_splitter" + }, + { + "item": "rocks:andesite_splitter" + }, + { + "item": "rocks:andesite_splitter" + }, + { + "item": "rocks:andesite_splitter" + } + ], + "result": { + "count": 1, + "id": "minecraft:andesite" + } +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/recipe/diorite_from_splitter.json b/src/main/generated/data/rocks/recipe/diorite_from_splitter.json new file mode 100644 index 0000000..0d929bb --- /dev/null +++ b/src/main/generated/data/rocks/recipe/diorite_from_splitter.json @@ -0,0 +1,22 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "building", + "ingredients": [ + { + "item": "rocks:diorite_splitter" + }, + { + "item": "rocks:diorite_splitter" + }, + { + "item": "rocks:diorite_splitter" + }, + { + "item": "rocks:diorite_splitter" + } + ], + "result": { + "count": 1, + "id": "minecraft:diorite" + } +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/recipe/end_stone_from_splitter.json b/src/main/generated/data/rocks/recipe/end_stone_from_splitter.json new file mode 100644 index 0000000..70e2869 --- /dev/null +++ b/src/main/generated/data/rocks/recipe/end_stone_from_splitter.json @@ -0,0 +1,22 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "building", + "ingredients": [ + { + "item": "rocks:end_stone_splitter" + }, + { + "item": "rocks:end_stone_splitter" + }, + { + "item": "rocks:end_stone_splitter" + }, + { + "item": "rocks:end_stone_splitter" + } + ], + "result": { + "count": 1, + "id": "minecraft:end_stone" + } +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/recipe/granite_from_splitter.json b/src/main/generated/data/rocks/recipe/granite_from_splitter.json new file mode 100644 index 0000000..bb2326b --- /dev/null +++ b/src/main/generated/data/rocks/recipe/granite_from_splitter.json @@ -0,0 +1,22 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "building", + "ingredients": [ + { + "item": "rocks:granite_splitter" + }, + { + "item": "rocks:granite_splitter" + }, + { + "item": "rocks:granite_splitter" + }, + { + "item": "rocks:granite_splitter" + } + ], + "result": { + "count": 1, + "id": "minecraft:granite" + } +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/recipe/ice_from_splitter.json b/src/main/generated/data/rocks/recipe/ice_from_splitter.json new file mode 100644 index 0000000..2ff0af6 --- /dev/null +++ b/src/main/generated/data/rocks/recipe/ice_from_splitter.json @@ -0,0 +1,22 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "building", + "ingredients": [ + { + "item": "rocks:ice_splitter" + }, + { + "item": "rocks:ice_splitter" + }, + { + "item": "rocks:ice_splitter" + }, + { + "item": "rocks:ice_splitter" + } + ], + "result": { + "count": 1, + "id": "minecraft:ice" + } +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/recipe/netherrack_from_splitter.json b/src/main/generated/data/rocks/recipe/netherrack_from_splitter.json new file mode 100644 index 0000000..4e09024 --- /dev/null +++ b/src/main/generated/data/rocks/recipe/netherrack_from_splitter.json @@ -0,0 +1,22 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "building", + "ingredients": [ + { + "item": "rocks:netherrack_splitter" + }, + { + "item": "rocks:netherrack_splitter" + }, + { + "item": "rocks:netherrack_splitter" + }, + { + "item": "rocks:netherrack_splitter" + } + ], + "result": { + "count": 1, + "id": "minecraft:netherrack" + } +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/recipe/red_sandstone_from_splitter.json b/src/main/generated/data/rocks/recipe/red_sandstone_from_splitter.json new file mode 100644 index 0000000..22f689e --- /dev/null +++ b/src/main/generated/data/rocks/recipe/red_sandstone_from_splitter.json @@ -0,0 +1,22 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "building", + "ingredients": [ + { + "item": "rocks:red_sandstone_splitter" + }, + { + "item": "rocks:red_sandstone_splitter" + }, + { + "item": "rocks:red_sandstone_splitter" + }, + { + "item": "rocks:red_sandstone_splitter" + } + ], + "result": { + "count": 1, + "id": "minecraft:red_sandstone" + } +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/recipe/sandstone_from_splitter.json b/src/main/generated/data/rocks/recipe/sandstone_from_splitter.json new file mode 100644 index 0000000..935e73b --- /dev/null +++ b/src/main/generated/data/rocks/recipe/sandstone_from_splitter.json @@ -0,0 +1,22 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "building", + "ingredients": [ + { + "item": "rocks:sandstone_splitter" + }, + { + "item": "rocks:sandstone_splitter" + }, + { + "item": "rocks:sandstone_splitter" + }, + { + "item": "rocks:sandstone_splitter" + } + ], + "result": { + "count": 1, + "id": "minecraft:sandstone" + } +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/recipe/soul_soil_from_splitter.json b/src/main/generated/data/rocks/recipe/soul_soil_from_splitter.json new file mode 100644 index 0000000..3f0bf2d --- /dev/null +++ b/src/main/generated/data/rocks/recipe/soul_soil_from_splitter.json @@ -0,0 +1,22 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "building", + "ingredients": [ + { + "item": "rocks:soul_soil_splitter" + }, + { + "item": "rocks:soul_soil_splitter" + }, + { + "item": "rocks:soul_soil_splitter" + }, + { + "item": "rocks:soul_soil_splitter" + } + ], + "result": { + "count": 1, + "id": "minecraft:soul_soil" + } +} \ No newline at end of file diff --git a/src/main/generated/data/rocks/recipe/stone_from_splitter.json b/src/main/generated/data/rocks/recipe/stone_from_splitter.json new file mode 100644 index 0000000..edd8d8d --- /dev/null +++ b/src/main/generated/data/rocks/recipe/stone_from_splitter.json @@ -0,0 +1,22 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "building", + "ingredients": [ + { + "item": "rocks:cobblestone_splitter" + }, + { + "item": "rocks:cobblestone_splitter" + }, + { + "item": "rocks:cobblestone_splitter" + }, + { + "item": "rocks:cobblestone_splitter" + } + ], + "result": { + "count": 1, + "id": "minecraft:stone" + } +} \ No newline at end of file diff --git a/src/main/java/eu/midnightdust/motschen/rocks/RocksDataGen.java b/src/main/java/eu/midnightdust/motschen/rocks/RocksDataGen.java index 6ff9bb5..f504e4b 100644 --- a/src/main/java/eu/midnightdust/motschen/rocks/RocksDataGen.java +++ b/src/main/java/eu/midnightdust/motschen/rocks/RocksDataGen.java @@ -1,5 +1,8 @@ package eu.midnightdust.motschen.rocks; +import eu.midnightdust.motschen.rocks.datagen.LootTables; +import eu.midnightdust.motschen.rocks.datagen.Recipes; +import eu.midnightdust.motschen.rocks.datagen.Tags; import eu.midnightdust.motschen.rocks.world.configured_feature.MiscFeatures; import eu.midnightdust.motschen.rocks.world.configured_feature.NetherFeatures; import eu.midnightdust.motschen.rocks.world.configured_feature.RockFeatures; @@ -19,6 +22,9 @@ public class RocksDataGen implements DataGeneratorEntrypoint { public void onInitializeDataGenerator(FabricDataGenerator fabricDataGenerator) { FabricDataGenerator.Pack pack = fabricDataGenerator.createPack(); pack.addProvider(WorldGenData::new); + pack.addProvider(LootTables.BlockLootTables::new); + pack.addProvider(Tags.Blocks::new); + pack.addProvider(Recipes::new); System.out.println("out"); } @Override diff --git a/src/main/java/eu/midnightdust/motschen/rocks/datagen/LootTables.java b/src/main/java/eu/midnightdust/motschen/rocks/datagen/LootTables.java new file mode 100644 index 0000000..6b5ac22 --- /dev/null +++ b/src/main/java/eu/midnightdust/motschen/rocks/datagen/LootTables.java @@ -0,0 +1,57 @@ +package eu.midnightdust.motschen.rocks.datagen; + +import eu.midnightdust.motschen.rocks.RocksMain; +import eu.midnightdust.motschen.rocks.util.RockType; +import net.fabricmc.fabric.api.datagen.v1.FabricDataOutput; +import net.fabricmc.fabric.api.datagen.v1.provider.FabricBlockLootTableProvider; +import net.minecraft.block.Block; +import net.minecraft.enchantment.Enchantment; +import net.minecraft.enchantment.Enchantments; +import net.minecraft.item.Item; +import net.minecraft.item.Items; +import net.minecraft.loot.LootPool; +import net.minecraft.loot.LootTable; +import net.minecraft.loot.condition.TableBonusLootCondition; +import net.minecraft.loot.entry.ItemEntry; +import net.minecraft.loot.function.CopyStateLootFunction; +import net.minecraft.loot.provider.number.ConstantLootNumberProvider; +import net.minecraft.registry.RegistryKeys; +import net.minecraft.registry.RegistryWrapper; +import net.minecraft.state.property.Property; + +import java.util.Arrays; +import java.util.concurrent.CompletableFuture; + +public class LootTables { + public static class BlockLootTables extends FabricBlockLootTableProvider { + public BlockLootTables(FabricDataOutput dataOutput, CompletableFuture registryLookup) { + super(dataOutput, registryLookup); + } + + @Override + public void generate() { + RocksMain.rocksByType.forEach((rockType, rock) -> addSilkTouchDrop(rock, rockType != RockType.GRAVEL ? RocksMain.splittersByType.get(rockType) : Items.FLINT)); + RocksMain.sticksByType.forEach((stickType, stick) -> addSilkTouchDrop(stick, Items.STICK)); + addSilkTouchDrop(RocksMain.Pinecone, Items.SPRUCE_SAPLING); + addSilkTouchOrRareDrop(RocksMain.Seashell, Items.NAUTILUS_SHELL, 0.02f, 0.022222223f, 0.025f, 0.033333335f, 0.1f); + addCopyStateDrop(RocksMain.Starfish, RocksMain.STARFISH_VARIATION); + } + + public void addCopyStateDrop(Block block, Property... properties) { + var lootFunction = CopyStateLootFunction.builder(block); + Arrays.stream(properties).forEach(lootFunction::addProperty); + + addDrop(block, LootTable.builder().pool(this.addSurvivesExplosionCondition(block, + LootPool.builder().rolls(ConstantLootNumberProvider.create(1.0F)).with(ItemEntry.builder(block) + .apply(lootFunction))))); + } + public void addSilkTouchDrop(Block block, Item alternative) { + addDrop(block, this.dropsWithSilkTouch(block, ItemEntry.builder(alternative))); + } + public void addSilkTouchOrRareDrop(Block block, Item alternative, float... chances) { + RegistryWrapper.Impl impl = this.registryLookup.getWrapperOrThrow(RegistryKeys.ENCHANTMENT); + addDrop(block, this.dropsWithSilkTouch(block, ItemEntry.builder(alternative).conditionally(TableBonusLootCondition.builder(impl.getOrThrow(Enchantments.FORTUNE), chances)))); + } + } +} + diff --git a/src/main/java/eu/midnightdust/motschen/rocks/datagen/Recipes.java b/src/main/java/eu/midnightdust/motschen/rocks/datagen/Recipes.java new file mode 100644 index 0000000..3b13edc --- /dev/null +++ b/src/main/java/eu/midnightdust/motschen/rocks/datagen/Recipes.java @@ -0,0 +1,33 @@ +package eu.midnightdust.motschen.rocks.datagen; + +import eu.midnightdust.motschen.rocks.RocksMain; +import net.fabricmc.fabric.api.datagen.v1.FabricDataOutput; +import net.fabricmc.fabric.api.datagen.v1.provider.FabricRecipeProvider; +import net.minecraft.data.server.recipe.RecipeExporter; +import net.minecraft.data.server.recipe.ShapelessRecipeJsonBuilder; +import net.minecraft.recipe.book.RecipeCategory; +import net.minecraft.registry.Registries; +import net.minecraft.registry.RegistryWrapper; +import net.minecraft.util.Identifier; + +import java.util.concurrent.CompletableFuture; + +public class Recipes extends FabricRecipeProvider { + public Recipes(FabricDataOutput output, CompletableFuture registriesFuture) { + super(output, registriesFuture); + } + @Override + public void generate(RecipeExporter exporter) { + generateCrafting(exporter); + } + + private void generateCrafting(RecipeExporter exporter) { + RocksMain.splittersByType.forEach(((rockType, splitter) -> { + + ShapelessRecipeJsonBuilder.create(RecipeCategory.BUILDING_BLOCKS, Registries.BLOCK.get(Identifier.ofVanilla(rockType.name().toLowerCase()))) + .input(splitter, 4) + .criterion(FabricRecipeProvider.hasItem(splitter), FabricRecipeProvider.conditionsFromItem(splitter)) + .offerTo(exporter, rockType.name().toLowerCase()+"_from_splitter"); + })); + } +} diff --git a/src/main/java/eu/midnightdust/motschen/rocks/datagen/Tags.java b/src/main/java/eu/midnightdust/motschen/rocks/datagen/Tags.java new file mode 100644 index 0000000..1687faf --- /dev/null +++ b/src/main/java/eu/midnightdust/motschen/rocks/datagen/Tags.java @@ -0,0 +1,31 @@ +package eu.midnightdust.motschen.rocks.datagen; + +import net.fabricmc.fabric.api.datagen.v1.FabricDataOutput; +import net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider; +import net.minecraft.registry.RegistryWrapper; + +import java.util.concurrent.CompletableFuture; + +public class Tags { + public static class Blocks extends FabricTagProvider.BlockTagProvider { +// private static final TagKey PICKAXE_MINEABLE = TagKey.of(RegistryKeys.BLOCK, Identifier.ofVanilla("mineable/pickaxe")); +// private static final TagKey AXE_MINEABLE = TagKey.of(RegistryKeys.BLOCK, Identifier.ofVanilla("mineable/axe")); +// private static final TagKey NEEDS_STONE_TOOL = TagKey.of(RegistryKeys.BLOCK, Identifier.ofVanilla("needs_stone_tool")); + + public Blocks(FabricDataOutput output, CompletableFuture registriesFuture) { + super(output, registriesFuture); + } + + @Override + protected void configure(RegistryWrapper.WrapperLookup arg) { +// List pickaxeBlocks = new ArrayList<>(DecorativeMain.BLOCKS); +// pickaxeBlocks.removeAll(LogsWithAxes.TYPES); +// getOrCreateTagBuilder(PICKAXE_MINEABLE).setReplace(false) +// .add(pickaxeBlocks.toArray(new Block[0])); +// getOrCreateTagBuilder(AXE_MINEABLE).setReplace(false) +// .add(LogsWithAxes.TYPES.toArray(new Block[0])); +// getOrCreateTagBuilder(NEEDS_STONE_TOOL).setReplace(false) +// .add(DecorativeMain.RockyAsphalt); + } + } +} diff --git a/src/main/resources/data/rocks/loot_table/blocks/acacia_stick.json b/src/main/resources/data/rocks/loot_table/blocks/acacia_stick.json deleted file mode 100755 index d61f4a2..0000000 --- a/src/main/resources/data/rocks/loot_table/blocks/acacia_stick.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:alternatives", - "children": [ - { - "type": "minecraft:item", - "name": "rocks:acacia_stick", - "functions": [ - { - "function": "minecraft:copy_state", - "block": "rocks:acacia_stick", - "properties": [ - "variation" - ] - } - ], - "conditions": [ - { - "condition": "minecraft:match_tool", - "predicate": { - "components": { - "minecraft:enchantments": { - "minecraft:silk_touch": 1 - } - } - } - } - ] - }, - { - "type": "minecraft:item", - "name": "minecraft:stick" - } - ] - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} diff --git a/src/main/resources/data/rocks/loot_table/blocks/andesite_rock.json b/src/main/resources/data/rocks/loot_table/blocks/andesite_rock.json deleted file mode 100755 index ff26778..0000000 --- a/src/main/resources/data/rocks/loot_table/blocks/andesite_rock.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:alternatives", - "children": [ - { - "type": "minecraft:item", - "name": "rocks:andesite_rock", - "functions": [ - { - "function": "minecraft:copy_state", - "block": "rocks:andesite_rock", - "properties": [ - "variation" - ] - } - ], - "conditions": [ - { - "condition": "minecraft:match_tool", - "predicate": { - "components": { - "minecraft:enchantments": { - "minecraft:silk_touch": 1 - } - } - } - } - ] - }, - { - "type": "minecraft:item", - "name": "rocks:andesite_splitter" - } - ] - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} diff --git a/src/main/resources/data/rocks/loot_table/blocks/bamboo_stick.json b/src/main/resources/data/rocks/loot_table/blocks/bamboo_stick.json deleted file mode 100755 index 0de08f5..0000000 --- a/src/main/resources/data/rocks/loot_table/blocks/bamboo_stick.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:alternatives", - "children": [ - { - "type": "minecraft:item", - "name": "rocks:bamboo_stick", - "functions": [ - { - "function": "minecraft:copy_state", - "block": "rocks:bamboo_stick", - "properties": [ - "variation" - ] - } - ], - "conditions": [ - { - "condition": "minecraft:match_tool", - "predicate": { - "components": { - "minecraft:enchantments": { - "minecraft:silk_touch": 1 - } - } - } - } - ] - }, - { - "type": "minecraft:item", - "name": "minecraft:bamboo" - } - ] - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} diff --git a/src/main/resources/data/rocks/loot_table/blocks/birch_stick.json b/src/main/resources/data/rocks/loot_table/blocks/birch_stick.json deleted file mode 100755 index 8511d6e..0000000 --- a/src/main/resources/data/rocks/loot_table/blocks/birch_stick.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:alternatives", - "children": [ - { - "type": "minecraft:item", - "name": "rocks:birch_stick", - "functions": [ - { - "function": "minecraft:copy_state", - "block": "rocks:birch_stick", - "properties": [ - "variation" - ] - } - ], - "conditions": [ - { - "condition": "minecraft:match_tool", - "predicate": { - "components": { - "minecraft:enchantments": { - "minecraft:silk_touch": 1 - } - } - } - } - ] - }, - { - "type": "minecraft:item", - "name": "minecraft:stick" - } - ] - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} diff --git a/src/main/resources/data/rocks/loot_table/blocks/cherry_stick.json b/src/main/resources/data/rocks/loot_table/blocks/cherry_stick.json deleted file mode 100755 index f995602..0000000 --- a/src/main/resources/data/rocks/loot_table/blocks/cherry_stick.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:alternatives", - "children": [ - { - "type": "minecraft:item", - "name": "rocks:cherry_stick", - "functions": [ - { - "function": "minecraft:copy_state", - "block": "rocks:cherry_stick", - "properties": [ - "variation" - ] - } - ], - "conditions": [ - { - "condition": "minecraft:match_tool", - "predicate": { - "components": { - "minecraft:enchantments": { - "minecraft:silk_touch": 1 - } - } - } - } - ] - }, - { - "type": "minecraft:item", - "name": "minecraft:stick" - } - ] - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} diff --git a/src/main/resources/data/rocks/loot_table/blocks/crimson_stick.json b/src/main/resources/data/rocks/loot_table/blocks/crimson_stick.json deleted file mode 100755 index 566ca3c..0000000 --- a/src/main/resources/data/rocks/loot_table/blocks/crimson_stick.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:alternatives", - "children": [ - { - "type": "minecraft:item", - "name": "rocks:crimson_stick", - "functions": [ - { - "function": "minecraft:copy_state", - "block": "rocks:crimson_stick", - "properties": [ - "variation" - ] - } - ], - "conditions": [ - { - "condition": "minecraft:match_tool", - "predicate": { - "components": { - "minecraft:enchantments": { - "minecraft:silk_touch": 1 - } - } - } - } - ] - }, - { - "type": "minecraft:item", - "name": "minecraft:stick" - } - ] - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} diff --git a/src/main/resources/data/rocks/loot_table/blocks/dark_oak_stick.json b/src/main/resources/data/rocks/loot_table/blocks/dark_oak_stick.json deleted file mode 100755 index c78c210..0000000 --- a/src/main/resources/data/rocks/loot_table/blocks/dark_oak_stick.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:alternatives", - "children": [ - { - "type": "minecraft:item", - "name": "rocks:dark_oak_stick", - "functions": [ - { - "function": "minecraft:copy_state", - "block": "rocks:dark_oak_stick", - "properties": [ - "variation" - ] - } - ], - "conditions": [ - { - "condition": "minecraft:match_tool", - "predicate": { - "components": { - "minecraft:enchantments": { - "minecraft:silk_touch": 1 - } - } - } - } - ] - }, - { - "type": "minecraft:item", - "name": "minecraft:stick" - } - ] - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} diff --git a/src/main/resources/data/rocks/loot_table/blocks/diorite_rock.json b/src/main/resources/data/rocks/loot_table/blocks/diorite_rock.json deleted file mode 100755 index 3dd0dbe..0000000 --- a/src/main/resources/data/rocks/loot_table/blocks/diorite_rock.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:alternatives", - "children": [ - { - "type": "minecraft:item", - "name": "rocks:diorite_rock", - "functions": [ - { - "function": "minecraft:copy_state", - "block": "rocks:diorite_rock", - "properties": [ - "variation" - ] - } - ], - "conditions": [ - { - "condition": "minecraft:match_tool", - "predicate": { - "components": { - "minecraft:enchantments": { - "minecraft:silk_touch": 1 - } - } - } - } - ] - }, - { - "type": "minecraft:item", - "name": "rocks:diorite_splitter" - } - ] - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} diff --git a/src/main/resources/data/rocks/loot_table/blocks/end_stone_rock.json b/src/main/resources/data/rocks/loot_table/blocks/end_stone_rock.json deleted file mode 100755 index 879155a..0000000 --- a/src/main/resources/data/rocks/loot_table/blocks/end_stone_rock.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:alternatives", - "children": [ - { - "type": "minecraft:item", - "name": "rocks:end_stone_rock", - "functions": [ - { - "function": "minecraft:copy_state", - "block": "rocks:end_stone_rock", - "properties": [ - "variation" - ] - } - ], - "conditions": [ - { - "condition": "minecraft:match_tool", - "predicate": { - "components": { - "minecraft:enchantments": { - "minecraft:silk_touch": 1 - } - } - } - } - ] - }, - { - "type": "minecraft:item", - "name": "rocks:end_stone_splitter" - } - ] - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} diff --git a/src/main/resources/data/rocks/loot_table/blocks/granite_rock.json b/src/main/resources/data/rocks/loot_table/blocks/granite_rock.json deleted file mode 100755 index 21c0418..0000000 --- a/src/main/resources/data/rocks/loot_table/blocks/granite_rock.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:alternatives", - "children": [ - { - "type": "minecraft:item", - "name": "rocks:granite_rock", - "functions": [ - { - "function": "minecraft:copy_state", - "block": "rocks:granite_rock", - "properties": [ - "variation" - ] - } - ], - "conditions": [ - { - "condition": "minecraft:match_tool", - "predicate": { - "components": { - "minecraft:enchantments": { - "minecraft:silk_touch": 1 - } - } - } - } - ] - }, - { - "type": "minecraft:item", - "name": "rocks:granite_splitter" - } - ] - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} diff --git a/src/main/resources/data/rocks/loot_table/blocks/gravel_rock.json b/src/main/resources/data/rocks/loot_table/blocks/gravel_rock.json deleted file mode 100755 index 2713d49..0000000 --- a/src/main/resources/data/rocks/loot_table/blocks/gravel_rock.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:alternatives", - "children": [ - { - "type": "minecraft:item", - "name": "rocks:gravel_rock", - "functions": [ - { - "function": "minecraft:copy_state", - "block": "rocks:gravel_rock", - "properties": [ - "variation" - ] - } - ], - "conditions": [ - { - "condition": "minecraft:match_tool", - "predicate": { - "components": { - "minecraft:enchantments": { - "minecraft:silk_touch": 1 - } - } - } - } - ] - }, - { - "type": "minecraft:item", - "name": "minecraft:flint" - } - ] - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} diff --git a/src/main/resources/data/rocks/loot_table/blocks/jungle_stick.json b/src/main/resources/data/rocks/loot_table/blocks/jungle_stick.json deleted file mode 100755 index c006a09..0000000 --- a/src/main/resources/data/rocks/loot_table/blocks/jungle_stick.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:alternatives", - "children": [ - { - "type": "minecraft:item", - "name": "rocks:jungle_stick", - "functions": [ - { - "function": "minecraft:copy_state", - "block": "rocks:jungle_stick", - "properties": [ - "variation" - ] - } - ], - "conditions": [ - { - "condition": "minecraft:match_tool", - "predicate": { - "components": { - "minecraft:enchantments": { - "minecraft:silk_touch": 1 - } - } - } - } - ] - }, - { - "type": "minecraft:item", - "name": "minecraft:stick" - } - ] - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} diff --git a/src/main/resources/data/rocks/loot_table/blocks/mangrove_stick.json b/src/main/resources/data/rocks/loot_table/blocks/mangrove_stick.json deleted file mode 100755 index 1ca5a50..0000000 --- a/src/main/resources/data/rocks/loot_table/blocks/mangrove_stick.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:alternatives", - "children": [ - { - "type": "minecraft:item", - "name": "rocks:mangrove_stick", - "functions": [ - { - "function": "minecraft:copy_state", - "block": "rocks:mangrove_stick", - "properties": [ - "variation" - ] - } - ], - "conditions": [ - { - "condition": "minecraft:match_tool", - "predicate": { - "components": { - "minecraft:enchantments": { - "minecraft:silk_touch": 1 - } - } - } - } - ] - }, - { - "type": "minecraft:item", - "name": "minecraft:stick" - } - ] - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} diff --git a/src/main/resources/data/rocks/loot_table/blocks/netherrack_rock.json b/src/main/resources/data/rocks/loot_table/blocks/netherrack_rock.json deleted file mode 100755 index 65a3e5f..0000000 --- a/src/main/resources/data/rocks/loot_table/blocks/netherrack_rock.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:alternatives", - "children": [ - { - "type": "minecraft:item", - "name": "rocks:netherrack_rock", - "functions": [ - { - "function": "minecraft:copy_state", - "block": "rocks:netherrack_rock", - "properties": [ - "variation" - ] - } - ], - "conditions": [ - { - "condition": "minecraft:match_tool", - "predicate": { - "components": { - "minecraft:enchantments": { - "minecraft:silk_touch": 1 - } - } - } - } - ] - }, - { - "type": "minecraft:item", - "name": "rocks:netherrack_splitter" - } - ] - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} diff --git a/src/main/resources/data/rocks/loot_table/blocks/oak_stick.json b/src/main/resources/data/rocks/loot_table/blocks/oak_stick.json deleted file mode 100755 index 997070f..0000000 --- a/src/main/resources/data/rocks/loot_table/blocks/oak_stick.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:alternatives", - "children": [ - { - "type": "minecraft:item", - "name": "rocks:oak_stick", - "functions": [ - { - "function": "minecraft:copy_state", - "block": "rocks:oak_stick", - "properties": [ - "variation" - ] - } - ], - "conditions": [ - { - "condition": "minecraft:match_tool", - "predicate": { - "components": { - "minecraft:enchantments": { - "minecraft:silk_touch": 1 - } - } - } - } - ] - }, - { - "type": "minecraft:item", - "name": "minecraft:stick" - } - ] - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} diff --git a/src/main/resources/data/rocks/loot_table/blocks/red_sand_rock.json b/src/main/resources/data/rocks/loot_table/blocks/red_sand_rock.json deleted file mode 100755 index 10622e4..0000000 --- a/src/main/resources/data/rocks/loot_table/blocks/red_sand_rock.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:alternatives", - "children": [ - { - "type": "minecraft:item", - "name": "rocks:red_sand_rock", - "functions": [ - { - "function": "minecraft:copy_state", - "block": "rocks:red_sand_rock", - "properties": [ - "variation" - ] - } - ], - "conditions": [ - { - "condition": "minecraft:match_tool", - "predicate": { - "components": { - "minecraft:enchantments": { - "minecraft:silk_touch": 1 - } - } - } - } - ] - }, - { - "type": "minecraft:item", - "name": "rocks:red_sandstone_splitter" - } - ] - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} diff --git a/src/main/resources/data/rocks/loot_table/blocks/sand_rock.json b/src/main/resources/data/rocks/loot_table/blocks/sand_rock.json deleted file mode 100755 index cba409e..0000000 --- a/src/main/resources/data/rocks/loot_table/blocks/sand_rock.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:alternatives", - "children": [ - { - "type": "minecraft:item", - "name": "rocks:sand_rock", - "functions": [ - { - "function": "minecraft:copy_state", - "block": "rocks:sand_rock", - "properties": [ - "variation" - ] - } - ], - "conditions": [ - { - "condition": "minecraft:match_tool", - "predicate": { - "components": { - "minecraft:enchantments": { - "minecraft:silk_touch": 1 - } - } - } - } - ] - }, - { - "type": "minecraft:item", - "name": "rocks:sandstone_splitter" - } - ] - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} diff --git a/src/main/resources/data/rocks/loot_table/blocks/seashell.json b/src/main/resources/data/rocks/loot_table/blocks/seashell.json deleted file mode 100755 index 9bea4c9..0000000 --- a/src/main/resources/data/rocks/loot_table/blocks/seashell.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:item", - "conditions": [ - { - "condition": "minecraft:table_bonus", - "enchantment": "minecraft:fortune", - "chances": [ - 0.02, - 0.022222223, - 0.025, - 0.033333335, - 0.1 - ] - } - ], - "functions": [ - { - "function": "minecraft:explosion_decay" - } - ], - "name": "minecraft:nautilus_shell" - } - ] - } - ] -} diff --git a/src/main/resources/data/rocks/loot_table/blocks/soul_soil_rock.json b/src/main/resources/data/rocks/loot_table/blocks/soul_soil_rock.json deleted file mode 100755 index 7d4b82a..0000000 --- a/src/main/resources/data/rocks/loot_table/blocks/soul_soil_rock.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:alternatives", - "children": [ - { - "type": "minecraft:item", - "name": "rocks:soul_soil_rock", - "functions": [ - { - "function": "minecraft:copy_state", - "block": "rocks:soul_soil_rock", - "properties": [ - "variation" - ] - } - ], - "conditions": [ - { - "condition": "minecraft:match_tool", - "predicate": { - "components": { - "minecraft:enchantments": { - "minecraft:silk_touch": 1 - } - } - } - } - ] - }, - { - "type": "minecraft:item", - "name": "rocks:soul_soil_splitter" - } - ] - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} diff --git a/src/main/resources/data/rocks/loot_table/blocks/spruce_stick.json b/src/main/resources/data/rocks/loot_table/blocks/spruce_stick.json deleted file mode 100755 index ff09a87..0000000 --- a/src/main/resources/data/rocks/loot_table/blocks/spruce_stick.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:alternatives", - "children": [ - { - "type": "minecraft:item", - "name": "rocks:spruce_stick", - "functions": [ - { - "function": "minecraft:copy_state", - "block": "rocks:spruce_stick", - "properties": [ - "variation" - ] - } - ], - "conditions": [ - { - "condition": "minecraft:match_tool", - "predicate": { - "components": { - "minecraft:enchantments": { - "minecraft:silk_touch": 1 - } - } - } - } - ] - }, - { - "type": "minecraft:item", - "name": "minecraft:stick" - } - ] - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} diff --git a/src/main/resources/data/rocks/loot_table/blocks/warped_stick.json b/src/main/resources/data/rocks/loot_table/blocks/warped_stick.json deleted file mode 100755 index ff09a87..0000000 --- a/src/main/resources/data/rocks/loot_table/blocks/warped_stick.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "type": "minecraft:block", - "pools": [ - { - "rolls": 1, - "entries": [ - { - "type": "minecraft:alternatives", - "children": [ - { - "type": "minecraft:item", - "name": "rocks:spruce_stick", - "functions": [ - { - "function": "minecraft:copy_state", - "block": "rocks:spruce_stick", - "properties": [ - "variation" - ] - } - ], - "conditions": [ - { - "condition": "minecraft:match_tool", - "predicate": { - "components": { - "minecraft:enchantments": { - "minecraft:silk_touch": 1 - } - } - } - } - ] - }, - { - "type": "minecraft:item", - "name": "minecraft:stick" - } - ] - } - ], - "conditions": [ - { - "condition": "minecraft:survives_explosion" - } - ] - } - ] -} diff --git a/src/main/resources/data/rocks/recipe/andesite_from_splitter.json b/src/main/resources/data/rocks/recipe/andesite_from_splitter.json deleted file mode 100755 index 40563f7..0000000 --- a/src/main/resources/data/rocks/recipe/andesite_from_splitter.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "type": "minecraft:crafting_shapeless", - "ingredients": [ - { - "item": "rocks:andesite_splitter" - }, - { - "item": "rocks:andesite_splitter" - }, - { - "item": "rocks:andesite_splitter" - }, - { - "item": "rocks:andesite_splitter" - } - ], - "result": { - "id": "minecraft:andesite", - "count": 1 - } -} \ No newline at end of file diff --git a/src/main/resources/data/rocks/recipe/cobblestone_from_splitter.json b/src/main/resources/data/rocks/recipe/cobblestone_from_splitter.json deleted file mode 100755 index 58b7df2..0000000 --- a/src/main/resources/data/rocks/recipe/cobblestone_from_splitter.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "type": "minecraft:crafting_shapeless", - "ingredients": [ - { - "item": "rocks:cobblestone_splitter" - }, - { - "item": "rocks:cobblestone_splitter" - }, - { - "item": "rocks:cobblestone_splitter" - }, - { - "item": "rocks:cobblestone_splitter" - } - ], - "result": { - "id": "minecraft:cobblestone", - "count": 1 - } -} \ No newline at end of file diff --git a/src/main/resources/data/rocks/recipe/diorite_from_splitter.json b/src/main/resources/data/rocks/recipe/diorite_from_splitter.json deleted file mode 100755 index a38f25f..0000000 --- a/src/main/resources/data/rocks/recipe/diorite_from_splitter.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "type": "minecraft:crafting_shapeless", - "ingredients": [ - { - "item": "rocks:diorite_splitter" - }, - { - "item": "rocks:diorite_splitter" - }, - { - "item": "rocks:diorite_splitter" - }, - { - "item": "rocks:diorite_splitter" - } - ], - "result": { - "id": "minecraft:diorite", - "count": 1 - } -} \ No newline at end of file diff --git a/src/main/resources/data/rocks/recipe/end_stone_from_splitter.json b/src/main/resources/data/rocks/recipe/end_stone_from_splitter.json deleted file mode 100755 index 02b0b0a..0000000 --- a/src/main/resources/data/rocks/recipe/end_stone_from_splitter.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "type": "minecraft:crafting_shapeless", - "ingredients": [ - { - "item": "rocks:end_stone_splitter" - }, - { - "item": "rocks:end_stone_splitter" - }, - { - "item": "rocks:end_stone_splitter" - }, - { - "item": "rocks:end_stone_splitter" - } - ], - "result": { - "id": "minecraft:end_stone", - "count": 1 - } -} \ No newline at end of file diff --git a/src/main/resources/data/rocks/recipe/granite_from_splitter.json b/src/main/resources/data/rocks/recipe/granite_from_splitter.json deleted file mode 100755 index a659400..0000000 --- a/src/main/resources/data/rocks/recipe/granite_from_splitter.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "type": "minecraft:crafting_shapeless", - "ingredients": [ - { - "item": "rocks:granite_splitter" - }, - { - "item": "rocks:granite_splitter" - }, - { - "item": "rocks:granite_splitter" - }, - { - "item": "rocks:granite_splitter" - } - ], - "result": { - "id": "minecraft:granite", - "count": 1 - } -} \ No newline at end of file diff --git a/src/main/resources/data/rocks/recipe/netherrack_from_splitter.json b/src/main/resources/data/rocks/recipe/netherrack_from_splitter.json deleted file mode 100755 index 40600b8..0000000 --- a/src/main/resources/data/rocks/recipe/netherrack_from_splitter.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "type": "minecraft:crafting_shapeless", - "ingredients": [ - { - "item": "rocks:netherrack_splitter" - }, - { - "item": "rocks:netherrack_splitter" - }, - { - "item": "rocks:netherrack_splitter" - }, - { - "item": "rocks:netherrack_splitter" - } - ], - "result": { - "id": "minecraft:netherrack", - "count": 1 - } -} \ No newline at end of file diff --git a/src/main/resources/data/rocks/recipe/red_sandstone_from_splitter.json b/src/main/resources/data/rocks/recipe/red_sandstone_from_splitter.json deleted file mode 100755 index 8a8ea1d..0000000 --- a/src/main/resources/data/rocks/recipe/red_sandstone_from_splitter.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "type": "minecraft:crafting_shapeless", - "ingredients": [ - { - "item": "rocks:red_sandstone_splitter" - }, - { - "item": "rocks:red_sandstone_splitter" - }, - { - "item": "rocks:red_sandstone_splitter" - }, - { - "item": "rocks:red_sandstone_splitter" - } - ], - "result": { - "id": "minecraft:red_sandstone", - "count": 1 - } -} \ No newline at end of file diff --git a/src/main/resources/data/rocks/recipe/sandstone_from_splitter.json b/src/main/resources/data/rocks/recipe/sandstone_from_splitter.json deleted file mode 100755 index 68c4b43..0000000 --- a/src/main/resources/data/rocks/recipe/sandstone_from_splitter.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "type": "minecraft:crafting_shapeless", - "ingredients": [ - { - "item": "rocks:sandstone_splitter" - }, - { - "item": "rocks:sandstone_splitter" - }, - { - "item": "rocks:sandstone_splitter" - }, - { - "item": "rocks:sandstone_splitter" - } - ], - "result": { - "id": "minecraft:sandstone", - "count": 1 - } -} \ No newline at end of file diff --git a/src/main/resources/data/rocks/recipe/soul_soil_from_splitter.json b/src/main/resources/data/rocks/recipe/soul_soil_from_splitter.json deleted file mode 100755 index 5746ede..0000000 --- a/src/main/resources/data/rocks/recipe/soul_soil_from_splitter.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "type": "minecraft:crafting_shapeless", - "ingredients": [ - { - "item": "rocks:soul_soil_splitter" - }, - { - "item": "rocks:soul_soil_splitter" - }, - { - "item": "rocks:soul_soil_splitter" - }, - { - "item": "rocks:soul_soil_splitter" - } - ], - "result": { - "id": "minecraft:soul_soil", - "count": 1 - } -} \ No newline at end of file