diff --git a/src/generated/resources/.cache/171e510db94907b4e0ae3ec8c2888a9721eddd1e b/src/generated/resources/.cache/171e510db94907b4e0ae3ec8c2888a9721eddd1e index 2cf5e41..9bdf4d9 100644 --- a/src/generated/resources/.cache/171e510db94907b4e0ae3ec8c2888a9721eddd1e +++ b/src/generated/resources/.cache/171e510db94907b4e0ae3ec8c2888a9721eddd1e @@ -1,4 +1,8 @@ -// 1.21 2024-08-03T01:13:59.9045726 Global Loot Modifiers : seidr -b96a1c0bdb959e665bcc5b47474394305d4ea5f3 data/neoforge/loot_modifiers/global_loot_modifiers.json -1fdd6144e2cba6d5491dac4dbebdf706877e6643 data/seidr/loot_modifiers/mineshaft_loot_modifiers.json -49f03a6c5409a669c4827452551f2e0db73e597a data/seidr/loot_modifiers/nether_loot_modifiers.json +// 1.21 2024-08-03T01:51:15.7445003 Global Loot Modifiers : seidr +12f94d0d927116c0ec8da14931a3f5b664966165 data/neoforge/loot_modifiers/global_loot_modifiers.json +092e34967416adbe75f92dd6ab81651991be46b5 data/seidr/loot_modifiers/ancient_city_loot_modifiers.json +1d2c83c836f044226834e460f4ad52e8730e3d7c data/seidr/loot_modifiers/buried_treasure_loot_modifiers.json +63bcafd9c3f2bff911c4fdfc383fd67cb58f5aa0 data/seidr/loot_modifiers/end_city_loot_modifiers.json +f87fd0569bb71ece0e7e0745315386ccd26a61c9 data/seidr/loot_modifiers/mineshaft_loot_modifiers.json +902c4d7f512d03fccf2a1ed23bbbdfcdbca7ee76 data/seidr/loot_modifiers/nether_loot_modifiers.json +b1e635b64b745290f3265f8934e46ec43608db37 data/seidr/loot_modifiers/sea_loot_modifiers.json diff --git a/src/generated/resources/data/neoforge/loot_modifiers/global_loot_modifiers.json b/src/generated/resources/data/neoforge/loot_modifiers/global_loot_modifiers.json index 327dcc8..53afa71 100644 --- a/src/generated/resources/data/neoforge/loot_modifiers/global_loot_modifiers.json +++ b/src/generated/resources/data/neoforge/loot_modifiers/global_loot_modifiers.json @@ -1,7 +1,11 @@ { "entries": [ "seidr:mineshaft_loot_modifiers", - "seidr:nether_loot_modifiers" + "seidr:end_city_loot_modifiers", + "seidr:nether_loot_modifiers", + "seidr:ancient_city_loot_modifiers", + "seidr:sea_loot_modifiers", + "seidr:buried_treasure_loot_modifiers" ], "replace": false } \ No newline at end of file diff --git a/src/generated/resources/data/seidr/loot_modifiers/ancient_city_loot_modifiers.json b/src/generated/resources/data/seidr/loot_modifiers/ancient_city_loot_modifiers.json new file mode 100644 index 0000000..3bbd106 --- /dev/null +++ b/src/generated/resources/data/seidr/loot_modifiers/ancient_city_loot_modifiers.json @@ -0,0 +1,27 @@ +{ + "type": "seidr:ancient_city_loot", + "chanceToSpawn": 0.9, + "conditions": [ + { + "condition": "neoforge:loot_table_id", + "loot_table_id": "minecraft:chests/ancient_city" + } + ], + "items": [ + { + "data": { + "count": 1, + "id": "seidr:sound_blast_tablet" + }, + "weight": 30 + }, + { + "data": { + "count": 1, + "id": "seidr:complete_resistance_tablet" + }, + "weight": 70 + } + ], + "totalWeight": 100 +} \ No newline at end of file diff --git a/src/generated/resources/data/seidr/loot_modifiers/buried_treasure_loot_modifiers.json b/src/generated/resources/data/seidr/loot_modifiers/buried_treasure_loot_modifiers.json new file mode 100644 index 0000000..c474a35 --- /dev/null +++ b/src/generated/resources/data/seidr/loot_modifiers/buried_treasure_loot_modifiers.json @@ -0,0 +1,20 @@ +{ + "type": "seidr:ancient_city_loot", + "chanceToSpawn": 0.9, + "conditions": [ + { + "condition": "neoforge:loot_table_id", + "loot_table_id": "minecraft:chests/buried_treasure" + } + ], + "items": [ + { + "data": { + "count": 1, + "id": "seidr:complete_walking_tablet" + }, + "weight": 100 + } + ], + "totalWeight": 100 +} \ No newline at end of file diff --git a/src/generated/resources/data/seidr/loot_modifiers/end_city_loot_modifiers.json b/src/generated/resources/data/seidr/loot_modifiers/end_city_loot_modifiers.json new file mode 100644 index 0000000..a1cfce5 --- /dev/null +++ b/src/generated/resources/data/seidr/loot_modifiers/end_city_loot_modifiers.json @@ -0,0 +1,27 @@ +{ + "type": "seidr:ancient_city_loot", + "chanceToSpawn": 0.9, + "conditions": [ + { + "condition": "neoforge:loot_table_id", + "loot_table_id": "minecraft:chests/end_city_treasure" + } + ], + "items": [ + { + "data": { + "count": 1, + "id": "seidr:incomplete_resistance_tablet" + }, + "weight": 70 + }, + { + "data": { + "count": 1, + "id": "seidr:complete_undead_tablet" + }, + "weight": 30 + } + ], + "totalWeight": 100 +} \ No newline at end of file diff --git a/src/generated/resources/data/seidr/loot_modifiers/mineshaft_loot_modifiers.json b/src/generated/resources/data/seidr/loot_modifiers/mineshaft_loot_modifiers.json index 67a1a7d..c2aad56 100644 --- a/src/generated/resources/data/seidr/loot_modifiers/mineshaft_loot_modifiers.json +++ b/src/generated/resources/data/seidr/loot_modifiers/mineshaft_loot_modifiers.json @@ -1,6 +1,6 @@ { - "type": "seidr:mineshaft_loot", - "chanceToSpawn": 0.8, + "type": "seidr:ancient_city_loot", + "chanceToSpawn": 0.9, "conditions": [ { "condition": "minecraft:any_of", diff --git a/src/generated/resources/data/seidr/loot_modifiers/nether_loot_modifiers.json b/src/generated/resources/data/seidr/loot_modifiers/nether_loot_modifiers.json index c1906a8..31a98de 100644 --- a/src/generated/resources/data/seidr/loot_modifiers/nether_loot_modifiers.json +++ b/src/generated/resources/data/seidr/loot_modifiers/nether_loot_modifiers.json @@ -1,13 +1,13 @@ { - "type": "seidr:mineshaft_loot", - "chanceToSpawn": 0.8, + "type": "seidr:ancient_city_loot", + "chanceToSpawn": 0.9, "conditions": [ { "condition": "minecraft:any_of", "terms": [ { "condition": "neoforge:loot_table_id", - "loot_table_id": "minecraft:chests/ruined_portal" + "loot_table_id": "minecraft:chests/bastion_other" }, { "condition": "neoforge:loot_table_id", diff --git a/src/generated/resources/data/seidr/loot_modifiers/sea_loot_modifiers.json b/src/generated/resources/data/seidr/loot_modifiers/sea_loot_modifiers.json new file mode 100644 index 0000000..1a0628d --- /dev/null +++ b/src/generated/resources/data/seidr/loot_modifiers/sea_loot_modifiers.json @@ -0,0 +1,36 @@ +{ + "type": "seidr:ancient_city_loot", + "chanceToSpawn": 0.9, + "conditions": [ + { + "condition": "minecraft:any_of", + "terms": [ + { + "condition": "neoforge:loot_table_id", + "loot_table_id": "minecraft:chests/shipwreck_supply" + }, + { + "condition": "neoforge:loot_table_id", + "loot_table_id": "minecraft:chests/underwater_ruin_big" + } + ] + } + ], + "items": [ + { + "data": { + "count": 1, + "id": "seidr:damaged_walking_tablet" + }, + "weight": 70 + }, + { + "data": { + "count": 1, + "id": "seidr:effect_remove_tablet" + }, + "weight": 30 + } + ], + "totalWeight": 100 +} \ No newline at end of file diff --git a/src/main/java/com/github/darksonic300/seidr/datagen/loot/modifiers/SeidrGlobalLootModifiers.java b/src/main/java/com/github/darksonic300/seidr/datagen/loot/modifiers/SeidrGlobalLootModifiers.java index 402ccb7..f728383 100644 --- a/src/main/java/com/github/darksonic300/seidr/datagen/loot/modifiers/SeidrGlobalLootModifiers.java +++ b/src/main/java/com/github/darksonic300/seidr/datagen/loot/modifiers/SeidrGlobalLootModifiers.java @@ -16,4 +16,8 @@ public class SeidrGlobalLootModifiers { public static final Supplier> NETHER_LOOT_CODEC = LOOT_MODIFIERS.register("nether_loot", () -> SeidrAddLootModifier.CODEC); public static final Supplier> MINESHAFT_LOOT_CODEC = LOOT_MODIFIERS.register("mineshaft_loot", () -> SeidrAddLootModifier.CODEC); + public static final Supplier> SEA_LOOT_CODEC = LOOT_MODIFIERS.register("sea_loot", () -> SeidrAddLootModifier.CODEC); + public static final Supplier> BURIED_TREASURE_LOOT_CODEC = LOOT_MODIFIERS.register("buried_treasure_loot", () -> SeidrAddLootModifier.CODEC); + public static final Supplier> END_CITY_LOOT_CODEC = LOOT_MODIFIERS.register("end_city_loot", () -> SeidrAddLootModifier.CODEC); + public static final Supplier> ANCIENT_CITY_LOOT_CODEC = LOOT_MODIFIERS.register("ancient_city_loot", () -> SeidrAddLootModifier.CODEC); } diff --git a/src/main/java/com/github/darksonic300/seidr/datagen/loot/modifiers/SeidrLootDataProvider.java b/src/main/java/com/github/darksonic300/seidr/datagen/loot/modifiers/SeidrLootDataProvider.java index 7cbddf5..0581804 100644 --- a/src/main/java/com/github/darksonic300/seidr/datagen/loot/modifiers/SeidrLootDataProvider.java +++ b/src/main/java/com/github/darksonic300/seidr/datagen/loot/modifiers/SeidrLootDataProvider.java @@ -22,7 +22,7 @@ public SeidrLootDataProvider(PackOutput output, CompletableFuture