commit b87e5f9b57744d08de9db8025c92d2e6f68e8a46 Author: Len <40720638+destro174@users.noreply.github.com> Date: Mon Jul 29 17:58:27 2024 +0200 Galaxy Datapack diff --git a/.gitignore b/.gitignore new file mode 100755 index 0000000..0880c8b --- /dev/null +++ b/.gitignore @@ -0,0 +1,46 @@ +# GalaxyDatapack +.idea + +.gradle/ +build/ + +# Eclipse stuff +.classpath +.project +.settings/ + +# VSCode stuff +.vscode/ + +# netbeans +nbproject/ +nbactions.xml + +# we use maven! +build.xml + +# maven +target/ +dependency-reduced-pom.xml + +# vim +.*.sw[a-p] + +# various other potential build files +bin/ +dist/ +manifest.mf + +# Mac filesystem dust +.DS_Store/ +.DS_Store + +# intellij +*.iml +*.ipr +*.iws +.idea/ +out/ + +# Linux temp files +*~ \ No newline at end of file diff --git a/data/galaxy/loot_tables/gameplay/enderdragon_event.json b/data/galaxy/loot_tables/gameplay/enderdragon_event.json new file mode 100755 index 0000000..e71027e --- /dev/null +++ b/data/galaxy/loot_tables/gameplay/enderdragon_event.json @@ -0,0 +1,38 @@ +{ + "type": "minecraft:gift", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "quality": 1, + "name": "minecraft:elytra", + "weight": 30 + }, + { + "type": "minecraft:item", + "quality": 1, + "name": "minecraft:dragon_head", + "weight": 30 + }, + { + "type": "minecraft:item", + "functions": [ + { + "add": false, + "count": { + "type": "minecraft:uniform", + "max": 8.0, + "min": 2.0 + }, + "function": "minecraft:set_count" + } + ], + "name": "minecraft:dragon_breath", + "weight": 40 + } + ] + } + ] +} \ No newline at end of file diff --git a/data/galaxy/recipes/red_sand.json b/data/galaxy/recipes/red_sand.json new file mode 100644 index 0000000..5cb9a7c --- /dev/null +++ b/data/galaxy/recipes/red_sand.json @@ -0,0 +1,37 @@ +{ + "type": "minecraft:crafting_shapeless", + "category": "building", + "ingredients": [ + { + "item": "minecraft:sand" + }, + { + "item": "minecraft:sand" + }, + { + "item": "minecraft:sand" + }, + { + "item": "minecraft:sand" + }, + { + "item": "minecraft:red_dye" + }, + { + "item": "minecraft:sand" + }, + { + "item": "minecraft:sand" + }, + { + "item": "minecraft:sand" + }, + { + "item": "minecraft:sand" + } + ], + "result": { + "item": "minecraft:red_sand", + "count": 8 + } +} diff --git a/data/galaxy/recipes/stonecutting_gravel.json b/data/galaxy/recipes/stonecutting_gravel.json new file mode 100644 index 0000000..a48bbd6 --- /dev/null +++ b/data/galaxy/recipes/stonecutting_gravel.json @@ -0,0 +1,8 @@ +{ + "type": "minecraft:stonecutting", + "ingredient": { + "item": "minecraft:cobblestone" + }, + "result": "minecraft:gravel", + "count": 1 +} \ No newline at end of file diff --git a/data/galaxy/recipes/stonecutting_sand.json b/data/galaxy/recipes/stonecutting_sand.json new file mode 100644 index 0000000..09441d6 --- /dev/null +++ b/data/galaxy/recipes/stonecutting_sand.json @@ -0,0 +1,8 @@ +{ + "type": "minecraft:stonecutting", + "ingredient": { + "item": "minecraft:gravel" + }, + "result": "minecraft:sand", + "count": 1 +} \ No newline at end of file diff --git a/data/minecraft/loot_tables/entities/ender_dragon.json b/data/minecraft/loot_tables/entities/ender_dragon.json new file mode 100755 index 0000000..ec3e023 --- /dev/null +++ b/data/minecraft/loot_tables/entities/ender_dragon.json @@ -0,0 +1,30 @@ +{ + "type": "minecraft:entity", + "pools": [ + { + "bonus_rolls": 0.0, + "conditions": [ + { + "condition": "minecraft:killed_by_player" + }, + { + "condition": "minecraft:random_chance_with_enchanted_bonus", + "enchanted_chance": { + "type": "minecraft:linear", + "base": 0.035, + "per_level_above_first": 0.001 + }, + "enchantment": "minecraft:looting", + "unenchanted_chance": 0.0025 + } + ], + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:0.0025" + } + ], + "rolls": 1.0 + } + ] +} diff --git a/data/minecraft/worldgen/structure/bastion_remnant.json b/data/minecraft/worldgen/structure/bastion_remnant.json new file mode 100755 index 0000000..90727b1 --- /dev/null +++ b/data/minecraft/worldgen/structure/bastion_remnant.json @@ -0,0 +1,30 @@ +{ + "type": "minecraft:jigsaw", + "biomes": "#minecraft:has_structure/bastion_remnant", + "max_distance_from_center": 80, + "size": 6, + "spawn_overrides": { + "monster": { + "bounding_box": "piece", + "spawns": [ + { + "type": "minecraft:piglin_brute", + "maxCount": 1, + "minCount": 1, + "weight": 4 + }, + { + "type": "minecraft:piglin", + "maxCount": 4, + "minCount": 1, + "weight": 10 + } + ] + } + }, "start_height": { + "absolute": 33 + }, + "start_pool": "minecraft:bastion/starts", + "step": "surface_structures", + "use_expansion_hack": false +} \ No newline at end of file diff --git a/data/minecraft/worldgen/structure/end_city.json b/data/minecraft/worldgen/structure/end_city.json new file mode 100755 index 0000000..7027b41 --- /dev/null +++ b/data/minecraft/worldgen/structure/end_city.json @@ -0,0 +1,17 @@ +{ + "type": "minecraft:end_city", + "biomes": "#minecraft:has_structure/end_city", + "spawn_overrides": { + "monster": { + "bounding_box": "full", + "spawns": [ + { + "type": "minecraft:shulker", + "maxCount": 1, + "minCount": 1, + "weight": 4 + } + ] + } + }, "step": "surface_structures" +} \ No newline at end of file diff --git a/data/minecraft/worldgen/structure/mansion.json b/data/minecraft/worldgen/structure/mansion.json new file mode 100755 index 0000000..9c5547b --- /dev/null +++ b/data/minecraft/worldgen/structure/mansion.json @@ -0,0 +1,23 @@ +{ + "type": "minecraft:woodland_mansion", + "biomes": "#minecraft:has_structure/woodland_mansion", + "spawn_overrides": { + "monster": { + "bounding_box": "full", + "spawns": [ + { + "type": "minecraft:evoker", + "maxCount": 5, + "minCount": 1, + "weight": 5 + }, + { + "type": "minecraft:vindicator", + "maxCount": 4, + "minCount": 1, + "weight": 10 + } + ] + } + }, "step": "surface_structures" +} diff --git a/pack.mcmeta b/pack.mcmeta new file mode 100755 index 0000000..67cad19 --- /dev/null +++ b/pack.mcmeta @@ -0,0 +1,6 @@ +{ + "pack": { + "pack_format": 48, + "description": "Data pack for resources provided by Galaxy" + } +}