Added mod files

This commit is contained in:
Jacob Vinding
2025-12-26 21:38:55 +01:00
parent 64c4d60c47
commit c4ad0f3e2e
5039 changed files with 894558 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
######################################
# wishing_wells.json #
######################################
This file contains a BlockSetSelector (see below) describing the probability of a given block being chosen.
These probabilities are used for Wishing Wells, which have
loot deposits at the bottom of them.
######################################
# 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).

View File

@@ -0,0 +1,10 @@
{
"lootBlockChances": {
"entries": {
"minecraft:gold_ore": 0.5,
"minecraft:gold_block": 0.01,
"minecraft:emerald_ore": 0.05
},
"defaultBlock": "minecraft:sandstone"
}
}