Bonemeal Tweaker
Not bad to the bone!
A simple mod that modifies the way plants are spawned when bonemeal is applied on blocks.
Configuration is handled by JSON-based config files per block in the config/bonemealtweaker directory. Example for the vanilla grass block (vanilla_grass.json):
{
"block": "minecraft:grass",
"replaceBlock": "minecraft:air",
"iterations": 128,
"applyMode": "BONEMEAL",
"genDensity": 0,
"biomes": [
"minecraft:plains",
"minecraft:forest"
],
"dimensions": [
0
],
"spawnBlocks": [
{
"block": "minecraft:tallgrass[type=tall_grass]",
"weight": 60
},
{
"block": "flowerEntry",
"weight": 20
}
]
}
block: The IGrowable block to apply custom bonemeal logic onreplaceBlock: The block to be replaced with foliage (aboveblock), can be omitted to replace airiterations: The density of blocks/plants to spawnapplyMode: The logic to apply, can beBONEMEAL(on bonemealing, default),SURFACE(natural surface world generation) orBOTH(bonemealing + world generation)genDensity: The amount of generation cycles for surface world generation, required whenapplyModeisSURFACEorBOTHbiomes: An optional list of whitelisted biomes, can be left empty to allow anydimensions: An optional list of whitelisted dimensions, can be left empty to allow anyspawnBlocks: An array of blocks/plants by resource location to spawn on the specifiedblock, flowerEntry picks a random flowerweight: The relative chance to spawn across allspawnBlocksentries
This mod was commissioned for Minecraft 1.12.2.
Details
Licensed MIT
Published 4 months ago
Updated 2 months ago

