From 6c3706b1396358cbb28f4fc8dd8614fcc34aef41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Pilgaard=20Gr=C3=B8ndahl?= Date: Tue, 15 Oct 2024 19:41:18 +0200 Subject: [PATCH] #167 --- config/betterdeserttemples-neoforge-1_21.toml | 12 ++++ config/betterdeserttemples/README.txt | 7 +++ .../neoforge-1_21/README.txt | 30 +++++++++ .../neoforge-1_21/armorstands.json | 58 +++++++++++++++++ .../neoforge-1_21/itemframes.json | 31 ++++++++++ config/betterendisland-neoforge-1_21.toml | 7 +++ config/betterfortresses-neoforge-1_21.toml | 8 +++ config/betterfortresses/README.txt | 8 +++ .../betterfortresses/neoforge-1_21/README.txt | 26 ++++++++ .../neoforge-1_21/itemframes.json | 48 ++++++++++++++ config/betterjungletemples-neoforge-1_21.toml | 2 + .../betteroceanmonuments-neoforge-1_21.toml | 8 +++ config/betterstrongholds-neoforge-1_21.toml | 8 +++ config/betterstrongholds/README.txt | 8 +++ .../neoforge-1_21/README.txt | 62 +++++++++++++++++++ .../neoforge-1_21/armorstands.json | 60 ++++++++++++++++++ .../neoforge-1_21/itemframes.json | 34 ++++++++++ .../betterstrongholds/neoforge-1_21/ores.json | 14 +++++ .../neoforge-1_21/rareblocks.json | 11 ++++ config/betterwitchhuts-neoforge-1_21.toml | 8 +++ 20 files changed, 450 insertions(+) create mode 100644 config/betterdeserttemples-neoforge-1_21.toml create mode 100644 config/betterdeserttemples/README.txt create mode 100644 config/betterdeserttemples/neoforge-1_21/README.txt create mode 100644 config/betterdeserttemples/neoforge-1_21/armorstands.json create mode 100644 config/betterdeserttemples/neoforge-1_21/itemframes.json create mode 100644 config/betterendisland-neoforge-1_21.toml create mode 100644 config/betterfortresses-neoforge-1_21.toml create mode 100644 config/betterfortresses/README.txt create mode 100644 config/betterfortresses/neoforge-1_21/README.txt create mode 100644 config/betterfortresses/neoforge-1_21/itemframes.json create mode 100644 config/betterjungletemples-neoforge-1_21.toml create mode 100644 config/betteroceanmonuments-neoforge-1_21.toml create mode 100644 config/betterstrongholds-neoforge-1_21.toml create mode 100644 config/betterstrongholds/README.txt create mode 100644 config/betterstrongholds/neoforge-1_21/README.txt create mode 100644 config/betterstrongholds/neoforge-1_21/armorstands.json create mode 100644 config/betterstrongholds/neoforge-1_21/itemframes.json create mode 100644 config/betterstrongholds/neoforge-1_21/ores.json create mode 100644 config/betterstrongholds/neoforge-1_21/rareblocks.json create mode 100644 config/betterwitchhuts-neoforge-1_21.toml diff --git a/config/betterdeserttemples-neoforge-1_21.toml b/config/betterdeserttemples-neoforge-1_21.toml new file mode 100644 index 00000000..25223680 --- /dev/null +++ b/config/betterdeserttemples-neoforge-1_21.toml @@ -0,0 +1,12 @@ + ########################################################################################################### + ## General settings. + ########################################################################################################### + ["YUNG's Better Desert Temples".General] + # Whether or not vanilla desert pyramids should be disabled. + # Default: true + # + "Disable Vanilla Pyramids" = true + # Whether or not mining fatigue is applied to players in the desert temple if it has not yet been cleared. + # Default: true + # + "Apply Mining Fatigue" = true diff --git a/config/betterdeserttemples/README.txt b/config/betterdeserttemples/README.txt new file mode 100644 index 00000000..87f96b74 --- /dev/null +++ b/config/betterdeserttemples/README.txt @@ -0,0 +1,7 @@ +This directory is for a few additional options for YUNG's Better Desert Temples. +Options provided may vary by version. +This directory contains subdirectories for supported versions. The first time you run Better Desert Temples, a version subdirectory will be created if that version supports advanced options. +For example, the first time you use Better Desert Temples for 1.21 on NeoForge, the 'neoforge-1_21' subdirectory will be created in this folder. +If no subdirectory for your version is created, then that version probably does not support the additional options. +NOTE -- MOST OPTIONS CAN BE FOUND IN A CONFIG FILE OUTSIDE THIS FOLDER! +For example, on NeoForge 1.21 the file is 'betterdeserttemples-neoforge-1_21.toml'. \ No newline at end of file diff --git a/config/betterdeserttemples/neoforge-1_21/README.txt b/config/betterdeserttemples/neoforge-1_21/README.txt new file mode 100644 index 00000000..09b809b1 --- /dev/null +++ b/config/betterdeserttemples/neoforge-1_21/README.txt @@ -0,0 +1,30 @@ +###################################### +# armorstands.json # +###################################### + This file contains ItemRandomizers describing the probability distribution of armor on armor stands. +Armor stands spawn in armory rooms and wardrobe rooms. +For information on ItemRandomizers, see the bottom of this README. +###################################### +# itemframes.json # +###################################### + This file contains ItemRandomizers describing the probability distribution of items in item frames. +Item frames only spawn in food storage rooms and armoury rooms. +For information on ItemRandomizers, see the bottom of this README. +###################################### +# ItemRandomizers # +###################################### +Describes a set of items and the probability of each item being chosen. + - entries: An object where each entry's key is a item, and each value is that item's probability of being chosen. + The total sum of all probabilities SHOULD NOT exceed 1.0! + - defaultItem: The item used for any leftover probability ranges. + For example, if the total sum of all the probabilities of the entries is 0.6, then + there is a 0.4 chance of the defaultItem being selected. +Here's an example ItemRandomizer: +"entries": { + "minecraft:stone_axe": 0.25, + "minecraft:shield": 0.2, + "minecraft:air": 0.1 +}, +"defaultItem": "minecraft:iron_axe" +For each item, this randomizer has a 25% chance of returning a stone axe, 20% chance of choosing a shield, +10% chance of choosing air (nothing), and a 100 - (25 + 20 + 10) = 45% chance of choosing an iron axe (since it's the default item). diff --git a/config/betterdeserttemples/neoforge-1_21/armorstands.json b/config/betterdeserttemples/neoforge-1_21/armorstands.json new file mode 100644 index 00000000..2c10f858 --- /dev/null +++ b/config/betterdeserttemples/neoforge-1_21/armorstands.json @@ -0,0 +1,58 @@ +{ + "armoryHelmets": { + "entries": { + "minecraft:golden_helmet": 0.2, + "minecraft:chainmail_helmet": 0.3 + }, + "defaultItem": "minecraft:air" + }, + "wardrobeHelmets": { + "entries": { + "minecraft:chainmail_helmet": 0.2, + "minecraft:leather_helmet": 0.4 + }, + "defaultItem": "minecraft:air" + }, + "armoryChestplates": { + "entries": { + "minecraft:chainmail_chestplate": 0.3, + "minecraft:golden_chestplate": 0.2 + }, + "defaultItem": "minecraft:air" + }, + "wardrobeChestplates": { + "entries": { + "minecraft:chainmail_chestplate": 0.2, + "minecraft:leather_chestplate": 0.4 + }, + "defaultItem": "minecraft:air" + }, + "armoryLeggings": { + "entries": { + "minecraft:golden_leggings": 0.2, + "minecraft:chainmail_leggings": 0.3 + }, + "defaultItem": "minecraft:air" + }, + "wardrobeLeggings": { + "entries": { + "minecraft:leather_leggings": 0.4, + "minecraft:chainmail_leggings": 0.2 + }, + "defaultItem": "minecraft:air" + }, + "armoryBoots": { + "entries": { + "minecraft:chainmail_boots": 0.3, + "minecraft:golden_boots": 0.2 + }, + "defaultItem": "minecraft:air" + }, + "wardrobeBoots": { + "entries": { + "minecraft:chainmail_boots": 0.2, + "minecraft:leather_boots": 0.4 + }, + "defaultItem": "minecraft:air" + } +} \ No newline at end of file diff --git a/config/betterdeserttemples/neoforge-1_21/itemframes.json b/config/betterdeserttemples/neoforge-1_21/itemframes.json new file mode 100644 index 00000000..852b6450 --- /dev/null +++ b/config/betterdeserttemples/neoforge-1_21/itemframes.json @@ -0,0 +1,31 @@ +{ + "armouryItems": { + "entries": { + "minecraft:shield": 0.1, + "minecraft:bow": 0.1, + "minecraft:arrow": 0.05, + "minecraft:golden_axe": 0.1, + "minecraft:stone_sword": 0.05, + "minecraft:golden_sword": 0.1, + "minecraft:stone_axe": 0.05, + "minecraft:name_tag": 0.05 + }, + "defaultItem": "minecraft:air" + }, + "storageItems": { + "entries": { + "minecraft:slime_ball": 0.05, + "minecraft:melon_seeds": 0.025, + "minecraft:potato": 0.2, + "minecraft:bread": 0.2, + "minecraft:cookie": 0.1, + "minecraft:beetroot_seeds": 0.025, + "minecraft:pumpkin_seeds": 0.025, + "minecraft:cake": 0.1, + "minecraft:wheat_seeds": 0.025, + "minecraft:rabbit_foot": 0.01, + "minecraft:honey_bottle": 0.1 + }, + "defaultItem": "minecraft:air" + } +} \ No newline at end of file diff --git a/config/betterendisland-neoforge-1_21.toml b/config/betterendisland-neoforge-1_21.toml new file mode 100644 index 00000000..d185d450 --- /dev/null +++ b/config/betterendisland-neoforge-1_21.toml @@ -0,0 +1,7 @@ +["YUNG's Better End Island"] + # Whether the Ender Dragon drops an egg when every time it's defeated. + # Default: false + "Resummoned Dragon Drops Egg" = false + # Whether the vanilla obsidian platform should spawn in the End instead of the revamped platform. + # Default: false + "Spawn Vanilla Obsidian Platform" = false diff --git a/config/betterfortresses-neoforge-1_21.toml b/config/betterfortresses-neoforge-1_21.toml new file mode 100644 index 00000000..08f4ae18 --- /dev/null +++ b/config/betterfortresses-neoforge-1_21.toml @@ -0,0 +1,8 @@ + ########################################################################################################### + ## General settings. + ########################################################################################################### + ["YUNG's Better Nether Fortresses".General] + # Whether or not vanilla Nether Fortresses should be disabled. + # Default: true + # + "Disable Vanilla Nether Fortresses" = true diff --git a/config/betterfortresses/README.txt b/config/betterfortresses/README.txt new file mode 100644 index 00000000..989272e8 --- /dev/null +++ b/config/betterfortresses/README.txt @@ -0,0 +1,8 @@ +This directory is for a few additional options for YUNG's Better Nether Fortresses. +Options provided may vary by version. +This directory contains subdirectories for supported versions. The first time you run Better Nether Fortresses, a version subdirectory will be created if that version supports advanced options. +For example, the first time you use Better Nether Fortresses for MC 1.21 on Forge, the 'forge-1_21' subdirectory will be created in this folder. +If no subdirectory for your version is created, then that version probably does not support the additional options. +NOTE -- Most of this mod's config settings can be found in a config file outside this folder! +For example, on Forge 1.21 the file is 'betterfortresses-forge-1_21.toml'. +Also note that many of the structure's settings such as spawn rate & spawn conditions can only be modified via data pack. \ No newline at end of file diff --git a/config/betterfortresses/neoforge-1_21/README.txt b/config/betterfortresses/neoforge-1_21/README.txt new file mode 100644 index 00000000..ffdedac8 --- /dev/null +++ b/config/betterfortresses/neoforge-1_21/README.txt @@ -0,0 +1,26 @@ +###################################### +# itemframes.json # +###################################### + This file contains ItemRandomizers describing the probability distribution of items in item frames. +Item frames only spawn in certain rooms and hallway pieces. +For information on ItemRandomizers, see the bottom of this README. +###################################### +# ItemRandomizers # +###################################### +Describes a set of items and the probability of each item being chosen. + - entries: An object where each entry's key is an item, and each value is that item's probability of being chosen. + The total sum of all probabilities SHOULD NOT exceed 1.0! + - defaultItem: The item used for any leftover probability ranges. + For example, if the total sum of all the probabilities of the entries is 0.6, then + there is a 0.4 chance of the defaultItem being selected. +Here's an example ItemRandomizer: +{ + "entries": { + "minecraft:cobblestone": 0.25, + "minecraft:air": 0.2, + "minecraft:stone_sword": 0.1 + }, + "defaultItem": "minecraft:iron_axe" +} +This randomizer has a 25% chance of returning cobblestone, 20% chance of choosing air, +10% chance of choosing a stone sword, and a 100 - (25 + 20 + 10) = 45% chance of choosing iron axe (since it's the default item). diff --git a/config/betterfortresses/neoforge-1_21/itemframes.json b/config/betterfortresses/neoforge-1_21/itemframes.json new file mode 100644 index 00000000..2903ffae --- /dev/null +++ b/config/betterfortresses/neoforge-1_21/itemframes.json @@ -0,0 +1,48 @@ +{ + "weaponItems": { + "entries": { + "minecraft:shield": 0.025, + "minecraft:iron_sword": 0.025, + "minecraft:iron_axe": 0.025, + "minecraft:netherite_sword": 0.005, + "minecraft:golden_axe": 0.05, + "minecraft:stone_sword": 0.025, + "minecraft:golden_sword": 0.05, + "minecraft:stone_axe": 0.025 + }, + "defaultItem": "minecraft:air" + }, + "lootItems": { + "entries": { + "minecraft:gold_ingot": 0.1, + "minecraft:nether_wart": 0.1, + "minecraft:gold_nugget": 0.2 + }, + "defaultItem": "minecraft:air" + }, + "studyItems": { + "entries": { + "minecraft:enchanted_book": 0.1, + "minecraft:paper": 0.1, + "minecraft:book": 0.4, + "minecraft:writable_book": 0.1 + }, + "defaultItem": "minecraft:air" + }, + "messHallItems": { + "entries": { + "minecraft:porkchop": 0.3, + "minecraft:gold_ingot": 0.2, + "minecraft:cooked_porkchop": 0.3 + }, + "defaultItem": "minecraft:air" + }, + "alchemyItems": { + "entries": { + "minecraft:quartz": 0.3, + "minecraft:magma_cream": 0.3, + "minecraft:fire_charge": 0.2 + }, + "defaultItem": "minecraft:air" + } +} \ No newline at end of file diff --git a/config/betterjungletemples-neoforge-1_21.toml b/config/betterjungletemples-neoforge-1_21.toml new file mode 100644 index 00000000..54308918 --- /dev/null +++ b/config/betterjungletemples-neoforge-1_21.toml @@ -0,0 +1,2 @@ + ["YUNG's Better Jungle Temples".General] + "Disable Vanilla Jungle Temples" = true diff --git a/config/betteroceanmonuments-neoforge-1_21.toml b/config/betteroceanmonuments-neoforge-1_21.toml new file mode 100644 index 00000000..c0707b87 --- /dev/null +++ b/config/betteroceanmonuments-neoforge-1_21.toml @@ -0,0 +1,8 @@ + ########################################################################################################### + ## General settings. + ########################################################################################################### + ["YUNG's Better Ocean Monuments".General] + # Whether or not vanilla ocean monuments should be disabled. + # Default: true + # + "Disable Vanilla Ocean Monuments" = true diff --git a/config/betterstrongholds-neoforge-1_21.toml b/config/betterstrongholds-neoforge-1_21.toml new file mode 100644 index 00000000..9abfbe29 --- /dev/null +++ b/config/betterstrongholds-neoforge-1_21.toml @@ -0,0 +1,8 @@ + ########################################################################################################### + ## General settings. + ########################################################################################################### + ["YUNG's Better Strongholds".General] + # Allows strongholds to be slightly destroyed by small noodle caves. + # Note that they will remain unaffected by large caverns. + # Default: false + "Enable Structure Ruin" = false diff --git a/config/betterstrongholds/README.txt b/config/betterstrongholds/README.txt new file mode 100644 index 00000000..52b844a5 --- /dev/null +++ b/config/betterstrongholds/README.txt @@ -0,0 +1,8 @@ +This directory is for a few additional options for YUNG's Better Strongholds. +Options provided may vary by version. +This directory contains subdirectories for supported versions. The first time you run Better Strongholds, a version subdirectory will be created if that version supports advanced options. +For example, the first time you use Better Strongholds for MC 1.21 on NeoForge, the 'neoforge-1_21' subdirectory will be created in this folder. +If no subdirectory for your version is created, then that version probably does not support the additional options. + +NOTE -- MOST OPTIONS CAN BE FOUND IN A CONFIG FILE OUTSIDE THIS FOLDER! +For example, on NeoForge 1.21 the file is 'betterstrongholds-neoforge-1_21.toml'. \ No newline at end of file diff --git a/config/betterstrongholds/neoforge-1_21/README.txt b/config/betterstrongholds/neoforge-1_21/README.txt new file mode 100644 index 00000000..a5be7fee --- /dev/null +++ b/config/betterstrongholds/neoforge-1_21/README.txt @@ -0,0 +1,62 @@ +###################################### +# ores.json # +###################################### + + This file contains a BlockSetSelector (see below) describing the probability of a given ore being chosen. +These probabilities are used in treasure rooms in the stronghold, in which +piles of ore have a chance of spawning. +For information on BlockSetSelectors, see the bottom of this README. + +###################################### +# rareblocks.json # +###################################### + + This file contains a BlockSetSelector describing the probability of a given block being chosen. +These probabilities are used in grand libraries, in which +two rare blocks will spawn. +For information on BlockSetSelectors, see the bottom of this README. + +###################################### +# armorstands.json # +###################################### + + This file contains ItemSetSelectors describing the probability distribution of armor on armor stands. +Common armor stands spawn in Armoury rooms, while Rare ones are only available in the rare Commander rooms. +For information on ItemSetSelectors, see the bottom of this README. + +###################################### +# itemframes.json # +###################################### + + This file contains ItemSetSelectors describing the probability distribution of items in item frames. +Item frames only spawn in storage rooms and armoury rooms. +For information on ItemSetSelectors, see the bottom of this README. + +###################################### +# BlockSetSelectors # +###################################### + +Describes a set of blockstates and the probability of each blockstate being chosen. + - entries: An object where each entry's key is a blockstate, and each value is that blockstate's probability of being chosen. + The total sum of all probabilities SHOULD NOT exceed 1.0! + - defaultBlock: The blockstate used for any leftover probability ranges. + For example, if the total sum of all the probabilities of the entries is 0.6, then + there is a 0.4 chance of the defaultBlock being selected. + +Here's an example block selector: +"entries": { + "minecraft:cobblestone": 0.25, + "minecraft:air": 0.2, + "minecraft:stone_bricks": 0.1 +}, +"defaultBlock": "minecraft:oak_planks" + +For each block, this selector has a 25% chance of returning cobblestone, 20% chance of choosing air, +10% chance of choosing stone bricks, and a 100 - (25 + 20 + 10) = 45% chance of choosing oak planks (since it's the default block). + +###################################### +# ItemSetSelectors # +###################################### + +Describes a set of items and the probability of each item being chosen. +Works the same as BlockSetSelectors, but with items instead of blockstates. diff --git a/config/betterstrongholds/neoforge-1_21/armorstands.json b/config/betterstrongholds/neoforge-1_21/armorstands.json new file mode 100644 index 00000000..e61dcfc4 --- /dev/null +++ b/config/betterstrongholds/neoforge-1_21/armorstands.json @@ -0,0 +1,60 @@ +{ + "commonHelmets": { + "entries": { + "minecraft:iron_helmet": 0.3, + "minecraft:chainmail_helmet": 0.3, + "minecraft:carved_pumpkin": 0.01, + "minecraft:leather_helmet": 0.1 + }, + "defaultItem": "minecraft:air" + }, + "rareHelmets": { + "entries": { + "minecraft:carved_pumpkin": 0.2, + "minecraft:diamond_helmet": 0.3 + }, + "defaultItem": "minecraft:air" + }, + "commonChestplates": { + "entries": { + "minecraft:iron_chestplate": 0.3, + "minecraft:chainmail_chestplate": 0.3, + "minecraft:leather_chestplate": 0.1 + }, + "defaultItem": "minecraft:air" + }, + "rareChestplates": { + "entries": { + "minecraft:diamond_chestplate": 0.3 + }, + "defaultItem": "minecraft:air" + }, + "commonLeggings": { + "entries": { + "minecraft:leather_leggings": 0.1, + "minecraft:chainmail_leggings": 0.3, + "minecraft:iron_leggings": 0.3 + }, + "defaultItem": "minecraft:air" + }, + "rareLeggings": { + "entries": { + "minecraft:diamond_leggings": 0.3 + }, + "defaultItem": "minecraft:air" + }, + "commonBoots": { + "entries": { + "minecraft:chainmail_boots": 0.3, + "minecraft:leather_boots": 0.1, + "minecraft:iron_boots": 0.3 + }, + "defaultItem": "minecraft:air" + }, + "rareBoots": { + "entries": { + "minecraft:diamond_boots": 0.3 + }, + "defaultItem": "minecraft:air" + } +} \ No newline at end of file diff --git a/config/betterstrongholds/neoforge-1_21/itemframes.json b/config/betterstrongholds/neoforge-1_21/itemframes.json new file mode 100644 index 00000000..7d328dff --- /dev/null +++ b/config/betterstrongholds/neoforge-1_21/itemframes.json @@ -0,0 +1,34 @@ +{ + "armouryItems": { + "entries": { + "minecraft:shield": 0.1, + "minecraft:iron_sword": 0.1, + "minecraft:iron_axe": 0.1, + "minecraft:bow": 0.1, + "minecraft:arrow": 0.05, + "minecraft:golden_axe": 0.05, + "minecraft:stone_sword": 0.05, + "minecraft:golden_sword": 0.05, + "minecraft:stone_axe": 0.05, + "minecraft:name_tag": 0.05 + }, + "defaultItem": "minecraft:air" + }, + "storageItems": { + "entries": { + "minecraft:slime_ball": 0.05, + "minecraft:melon_seeds": 0.025, + "minecraft:lead": 0.05, + "minecraft:flint": 0.05, + "minecraft:beetroot_seeds": 0.025, + "minecraft:map": 0.25, + "minecraft:pumpkin_seeds": 0.025, + "minecraft:paper": 0.25, + "minecraft:cake": 0.05, + "minecraft:wheat_seeds": 0.025, + "minecraft:compass": 0.05, + "minecraft:rabbit_foot": 0.01 + }, + "defaultItem": "minecraft:air" + } +} \ No newline at end of file diff --git a/config/betterstrongholds/neoforge-1_21/ores.json b/config/betterstrongholds/neoforge-1_21/ores.json new file mode 100644 index 00000000..fe3c75cb --- /dev/null +++ b/config/betterstrongholds/neoforge-1_21/ores.json @@ -0,0 +1,14 @@ +{ + "oreChances": { + "entries": { + "minecraft:coal_ore": 0.2, + "minecraft:iron_ore": 0.2, + "minecraft:redstone_ore[lit=false]": 0.15, + "minecraft:diamond_ore": 0.05, + "minecraft:gold_ore": 0.2, + "minecraft:lapis_ore": 0.15, + "minecraft:emerald_ore": 0.05 + }, + "defaultBlock": "minecraft:coal_ore" + } +} \ No newline at end of file diff --git a/config/betterstrongholds/neoforge-1_21/rareblocks.json b/config/betterstrongholds/neoforge-1_21/rareblocks.json new file mode 100644 index 00000000..89356c37 --- /dev/null +++ b/config/betterstrongholds/neoforge-1_21/rareblocks.json @@ -0,0 +1,11 @@ +{ + "blockChances": { + "entries": { + "minecraft:diamond_block": 0.1, + "minecraft:iron_block": 0.3, + "minecraft:quartz_block": 0.3, + "minecraft:gold_block": 0.3 + }, + "defaultBlock": "minecraft:iron_block" + } +} \ No newline at end of file diff --git a/config/betterwitchhuts-neoforge-1_21.toml b/config/betterwitchhuts-neoforge-1_21.toml new file mode 100644 index 00000000..0b78f6cd --- /dev/null +++ b/config/betterwitchhuts-neoforge-1_21.toml @@ -0,0 +1,8 @@ + ########################################################################################################### + ## General settings. + ########################################################################################################### + ["YUNG's Better Witch Huts".General] + # Whether or not vanilla witch huts should be disabled. + # Default: true + # + "Disable Vanilla Witch Huts" = true