Getting Started - EwyBoy/OreTweaker GitHub Wiki
Configuration:
Check out these chapters for information on specific topics
Ore Tweaker 2
Ore Tweaker 3
Finding the json files
Path: ../config/oretweaker/data/
Understanding the json files
Ore Tweaker 2
Values:
Value |
Explanation |
ore |
The registry name of the block to generate. Can be found by pressing F3 + H and hover over in inventory |
filler |
What block to replace with the "ore", usually stone or nether rack |
minY |
Minimum Y-Level ore can spawn above |
maxY |
Maximum Y-Level ore can spawn below |
maxVeinSize |
Maximum size of ore vein |
spawnRate |
How many attempts at generating the ore per chunk |
biomeBlacklist |
List of forbidden biome names where the ore cannot generate [Choose either blacklist or whitelist or none of them] |
biomeWhitelist |
List of allowed biome names where the ore can generate [Prioritized above blacklist] |
Example of how the coal_ore.json
file can look like.
{
"oreConfig": [
{
"ore": "minecraft:coal_ore",
"filler": "minecraft:stone",
"minY": 32,
"maxY": 96,
"maxVeinSize": 22,
"spawnRate": 16.0,
"biomeBlacklist": [],
"biomeWhitelist": []
}
]
}
Understanding the json files
Ore Tweaker 3
Values:
Value |
Explanation |
ore |
The registry name of the block to generate. Can be found by pressing F3 + H and hover over in inventory |
fillers |
What block or TAG to fill the ore will try to replace |
distribution |
Refers to how ores are generated and distributed throughout the game world |
minY |
Minimum Y-Level ore can spawn above |
maxY |
Maximum Y-Level ore can spawn below |
maxVeinSize |
Maximum size of ore vein |
spawnRate |
How many attempts at generating the ore per chunk |
biomeFilters |
Object containing both the biomeBlacklist & biomeWhitelist |
replace |
Decides if Ore Tweaker is going to replace the original ore or add another in addition |
Example of how the coal_ore.json
file can look like.
{
"oreConfig": [
{
"ore": "minecraft:coal_ore",
"fillers": [
"STONE_ORE_REPLACEABLES"
],
"distribution": "UNIFORM",
"minY": 136,
"maxY": 256,
"maxVeinSize": 17,
"spawnRate": 30.0,
"discardChanceOnAirExposure": 0.0,
"biomeFilters": {
"biomeBlacklist": [],
"biomeWhitelist": [
"OVERWORLD"
]
},
"replace": true
},
{
"ore": "minecraft:coal_ore",
"fillers": [
"STONE_ORE_REPLACEABLES"
],
"distribution": "TRIANGLE",
"minY": 0,
"maxY": 192,
"maxVeinSize": 17,
"spawnRate": 20.0,
"discardChanceOnAirExposure": 0.5,
"biomeFilters": {
"biomeBlacklist": [],
"biomeWhitelist": [
"OVERWORLD"
]
},
"replace": true
}
]
}