Mystical Flower spawning rules not respected.
neinome opened this issue ยท 2 comments
Mod Loader
Forge
Minecraft Version
1.20.1
Botania version
1.20.1-446
Modloader version
47.3.7
Modpack info
No response
The latest.log file
Issue description
During world generation, mystical flowers spawn in the Minecraft overworld, despite the only allowed biomes being in the Twilight Forest. This was set up using KubeJS datapacks. This works flawlessly with single player and all other KubeJS datapack modifications also work properly.
Steps to reproduce
- Set up dedicated server with Twilight Forest and KubeJS modifying data/botania/tags/worldgen/biome/mystical_flower_blocklist.json and data/botania/tags/worldgen/biome/mystical_flower_spawnlist.json such that the only place that flowers should spawn is the Twilight Forest
- Generate world
- Mystical Flowers will be in the overworld
Other information
No response
OK, further experimentation shows that the client is also affected, though this seed: -7117881137917149671 seems to house the rare occurrence of this, having a patch of Black Mystical Flowers near world spawn, that seems to be extremely random about how/if it spawns. About 350 blocks south the Black patch is a patch of Red Mystical Flowers that is rather uniform in composition.
Oddly, these two patches seem to be the only instances of the Mystical Flowers even on this seed. Other seeds I've tried made me think that there were no issues, but here we are....
Here are my edits to the spawning files:
botania/tags/worldgen/biome/mystical_flower_blocklist.json:
{
"replace": true,
"values": [
{
"id": "#forge:is_overworld",
"required": true
}
]
}
botania/tags/worldgen/biome/mystical_flower_spawnlist.json:
{
"replace": true,
"values": [
"twilightforest:clearing",
"twilightforest:dark_forest",
"twilightforest:dark_forest_center",
"twilightforest:dense_forest",
"twilightforest:enchanted_forest",
"twilightforest:fire_swamp",
"twilightforest:firefly_forest",
"twilightforest:forest",
"twilightforest:highlands",
"twilightforest:lake",
"twilightforest:oak_savannah",
"twilightforest:snowy_forest",
"twilightforest:spooky_forest",
"twilightforest:stream",
"twilightforest:swamp"
]
}