Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
NielsPilgaard committed Oct 15, 2024
1 parent 34df699 commit 6c3706b
Show file tree
Hide file tree
Showing 20 changed files with 450 additions and 0 deletions.
12 changes: 12 additions & 0 deletions config/betterdeserttemples-neoforge-1_21.toml
Original file line number Diff line number Diff line change
@@ -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
7 changes: 7 additions & 0 deletions config/betterdeserttemples/README.txt
Original file line number Diff line number Diff line change
@@ -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'.
30 changes: 30 additions & 0 deletions config/betterdeserttemples/neoforge-1_21/README.txt
Original file line number Diff line number Diff line change
@@ -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).
58 changes: 58 additions & 0 deletions config/betterdeserttemples/neoforge-1_21/armorstands.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
31 changes: 31 additions & 0 deletions config/betterdeserttemples/neoforge-1_21/itemframes.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
7 changes: 7 additions & 0 deletions config/betterendisland-neoforge-1_21.toml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions config/betterfortresses-neoforge-1_21.toml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions config/betterfortresses/README.txt
Original file line number Diff line number Diff line change
@@ -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.
26 changes: 26 additions & 0 deletions config/betterfortresses/neoforge-1_21/README.txt
Original file line number Diff line number Diff line change
@@ -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).
48 changes: 48 additions & 0 deletions config/betterfortresses/neoforge-1_21/itemframes.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
2 changes: 2 additions & 0 deletions config/betterjungletemples-neoforge-1_21.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
["YUNG's Better Jungle Temples".General]
"Disable Vanilla Jungle Temples" = true
8 changes: 8 additions & 0 deletions config/betteroceanmonuments-neoforge-1_21.toml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions config/betterstrongholds-neoforge-1_21.toml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions config/betterstrongholds/README.txt
Original file line number Diff line number Diff line change
@@ -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'.
62 changes: 62 additions & 0 deletions config/betterstrongholds/neoforge-1_21/README.txt
Original file line number Diff line number Diff line change
@@ -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.
Loading

0 comments on commit 6c3706b

Please sign in to comment.