
Mystical Flower spawning rules not respected.
neinome opened this issue ยท 5 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"
]
}
I've now tried specifying the exact biomes I want to block/have mystical flowers spawn in.... and still the results are the same:
botania/tags/worldgen/biome/mystical_flower_blocklist.json:
{
"replace": true,
"values": [
"aether:skyroot_forest",
"aether:skyroot_grove",
"aether:skyroot_meadow",
"aether:skyroot_woodland",
"aether_redux:cloudcaps",
"aether_redux:frosted_forests",
"aether_redux:gilded_grasslands",
"aether_redux:gilded_groves",
"aether_redux:glacial_tundra",
"aether_redux:skyfields",
"aether_redux:skyroot_shrublands",
"aether_redux:the_blight",
"ars_elemental:blazing_forest",
"ars_elemental:cascading_forest",
"ars_elemental:flashing_forest",
"ars_elemental:flourishing_forest",
"ars_nouveau:archwood_forest",
"biomesoplenty:auroral_garden",
"biomesoplenty:bayou",
"biomesoplenty:bog",
"biomesoplenty:clover_patch",
"biomesoplenty:cold_desert",
"biomesoplenty:coniferous_forest",
"biomesoplenty:crag",
"biomesoplenty:crystalline_chasm",
"biomesoplenty:dead_forest",
"biomesoplenty:dryland",
"biomesoplenty:dune_beach",
"biomesoplenty:erupting_inferno",
"biomesoplenty:field",
"biomesoplenty:fir_clearing",
"biomesoplenty:floodplain",
"biomesoplenty:forested_field",
"biomesoplenty:fungal_jungle",
"biomesoplenty:glowing_grotto",
"biomesoplenty:grassland",
"biomesoplenty:highland",
"biomesoplenty:jade_cliffs",
"biomesoplenty:lavender_field",
"biomesoplenty:lavender_forest",
"biomesoplenty:lush_desert",
"biomesoplenty:lush_savanna",
"biomesoplenty:maple_woods",
"biomesoplenty:marsh",
"biomesoplenty:mediterranean_forest",
"biomesoplenty:moor",
"biomesoplenty:muskeg",
"biomesoplenty:mystic_grove",
"biomesoplenty:old_growth_dead_forest",
"biomesoplenty:old_growth_woodland",
"biomesoplenty:ominous_woods",
"biomesoplenty:orchard",
"biomesoplenty:origin_valley",
"biomesoplenty:pasture",
"biomesoplenty:prairie",
"biomesoplenty:pumpkin_patch",
"biomesoplenty:rainforest",
"biomesoplenty:redwood_forest",
"biomesoplenty:rocky_rainforest",
"biomesoplenty:rocky_shrubland",
"biomesoplenty:scrubland",
"biomesoplenty:seasonal_forest",
"biomesoplenty:seasonal_orchard",
"biomesoplenty:shrubland",
"biomesoplenty:snowblossom_grove",
"biomesoplenty:snowy_coniferous_forest",
"biomesoplenty:snowy_fir_clearing",
"biomesoplenty:snowy_maple_woods",
"biomesoplenty:spider_nest",
"biomesoplenty:tropics",
"biomesoplenty:tundra",
"biomesoplenty:undergrowth",
"biomesoplenty:visceral_heap",
"biomesoplenty:volcanic_plains",
"biomesoplenty:volcano",
"biomesoplenty:wasteland",
"biomesoplenty:wasteland_steppe",
"biomesoplenty:wetland",
"biomesoplenty:withered_abyss",
"biomesoplenty:woodland",
"deep_aether:aerglow_forest",
"deep_aether:aerlavender_fields",
"deep_aether:blue_aerglow_forest",
"deep_aether:golden_grove",
"deep_aether:golden_heights",
"deep_aether:mystic_aerglow_forest",
"deep_aether:yagroot_swamp",
"integrateddynamics:meneglin",
"minecraft:badlands",
"minecraft:bamboo_jungle",
"minecraft:basalt_deltas",
"minecraft:beach",
"minecraft:birch_forest",
"minecraft:cherry_grove",
"minecraft:cold_ocean",
"minecraft:crimson_forest",
"minecraft:dark_forest",
"minecraft:deep_cold_ocean",
"minecraft:deep_dark",
"minecraft:deep_frozen_ocean",
"minecraft:deep_lukewarm_ocean",
"minecraft:deep_ocean",
"minecraft:desert",
"minecraft:dripstone_caves",
"minecraft:end_barrens",
"minecraft:end_highlands",
"minecraft:end_midlands",
"minecraft:eroded_badlands",
"minecraft:flower_forest",
"minecraft:forest",
"minecraft:frozen_ocean",
"minecraft:frozen_peaks",
"minecraft:frozen_river",
"minecraft:grove",
"minecraft:ice_spikes",
"minecraft:jagged_peaks",
"minecraft:jungle",
"minecraft:lukewarm_ocean",
"minecraft:lush_caves",
"minecraft:mangrove_swamp",
"minecraft:meadow",
"minecraft:mushroom_fields",
"minecraft:nether_wastes",
"minecraft:ocean",
"minecraft:old_growth_birch_forest",
"minecraft:old_growth_pine_taiga",
"minecraft:old_growth_spruce_taiga",
"minecraft:plains",
"minecraft:river",
"minecraft:savanna",
"minecraft:savanna_plateau",
"minecraft:small_end_islands",
"minecraft:snowy_beach",
"minecraft:snowy_plains",
"minecraft:snowy_slopes",
"minecraft:snowy_taiga",
"minecraft:soul_sand_valley",
"minecraft:sparse_jungle",
"minecraft:stony_peaks",
"minecraft:stony_shore",
"minecraft:sunflower_plains",
"minecraft:swamp",
"minecraft:taiga",
"minecraft:the_end",
"minecraft:the_void",
"minecraft:warm_ocean",
"minecraft:warped_forest",
"minecraft:windswept_forest",
"minecraft:windswept_gravelly_hills",
"minecraft:windswept_hills",
"minecraft:windswept_savanna",
"minecraft:wooded_badlands",
"mythicbotany:alfheim_hills",
"mythicbotany:alfheim_lakes",
"mythicbotany:alfheim_plains",
"mythicbotany:dreamwood_forest",
"mythicbotany:golden_fields"
]
}
botania/tags/worldgen/biome/mystical_flower_spawnlist.json:
{
"replace": true,
"values": [
"twilightforest:clearing",
"twilightforest:dark_forest",
"twilightforest:dark_forest_center",
"twilightforest:dense_forest",
"twilightforest:dense_mushroom_forest",
"twilightforest:enchanted_forest",
"twilightforest:final_plateau",
"twilightforest:fire_swamp",
"twilightforest:firefly_forest",
"twilightforest:forest",
"twilightforest:glacier",
"twilightforest:highlands",
"twilightforest:lake",
"twilightforest:mushroom_forest",
"twilightforest:oak_savannah",
"twilightforest:snowy_forest",
"twilightforest:spooky_forest",
"twilightforest:stream",
"twilightforest:swamp",
"twilightforest:thornlands",
"twilightforest:underground"
]
}
In general, you should not need to use the block list if you specify individual biomes in the spawn list already. The block list exists so you can use more general biome categories in the spawn list and exclude certain biomes or overlapping biome categories from those.
But I wonder: Where did you put that spawn list? Is that in a mod or in a separate data pack? If it's the former, you will need to ensure your mod load order causes your version of the tag definition overrides the one added by Botania. Otherwise, Botania will add its definitions to your list of biomes.
I'm using KubeJS to override the original Botania spawn definitions for the flowers and mushrooms. From what the game is showing me, the Overworld shouldn't be spawning any flowers... I've tried both with and without stuff in the block list. If Botania is adding its own tags to the worldgen definitions, it's doing so in a way that is not recognized in MC's tags.
Getting a dump of biome tags gave me:
dumps are provided by crafttweaker
tag:worldgen/biome:botania:mystical_flower_spawnlist
- 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
tag:worldgen/biome:botania:mystical_flower_blocklist
- ars_nouveau:archwood_forest
- biomesoplenty:auroral_garden
- minecraft:badlands
- minecraft:bamboo_jungle
- biomesoplenty:bayou
- minecraft:beach
- minecraft:birch_forest
- ars_elemental:blazing_forest
- biomesoplenty:bog
- ars_elemental:cascading_forest
- minecraft:cherry_grove
- biomesoplenty:clover_patch
- biomesoplenty:cold_desert
- minecraft:cold_ocean
- biomesoplenty:coniferous_forest
- biomesoplenty:crag
- minecraft:dark_forest
- biomesoplenty:dead_forest
- minecraft:deep_cold_ocean
- minecraft:deep_dark
- minecraft:deep_frozen_ocean
- minecraft:deep_lukewarm_ocean
- minecraft:deep_ocean
- minecraft:desert
- minecraft:dripstone_caves
- biomesoplenty:dryland
- biomesoplenty:dune_beach
- minecraft:eroded_badlands
- biomesoplenty:field
- biomesoplenty:fir_clearing
- ars_elemental:flashing_forest
- biomesoplenty:floodplain
- ars_elemental:flourishing_forest
- minecraft:flower_forest
- minecraft:forest
- biomesoplenty:forested_field
- minecraft:frozen_ocean
- minecraft:frozen_peaks
- minecraft:frozen_river
- biomesoplenty:fungal_jungle
- biomesoplenty:glowing_grotto
- biomesoplenty:grassland
- minecraft:grove
- biomesoplenty:highland
- minecraft:ice_spikes
- biomesoplenty:jade_cliffs
- minecraft:jagged_peaks
- minecraft:jungle
- biomesoplenty:lavender_field
- biomesoplenty:lavender_forest
- minecraft:lukewarm_ocean
- minecraft:lush_caves
- biomesoplenty:lush_desert
- biomesoplenty:lush_savanna
- minecraft:mangrove_swamp
- biomesoplenty:maple_woods
- biomesoplenty:marsh
- minecraft:meadow
- biomesoplenty:mediterranean_forest
- integrateddynamics:meneglin
- biomesoplenty:moor
- minecraft:mushroom_fields
- biomesoplenty:muskeg
- biomesoplenty:mystic_grove
- minecraft:ocean
- minecraft:old_growth_birch_forest
- biomesoplenty:old_growth_dead_forest
- minecraft:old_growth_pine_taiga
- minecraft:old_growth_spruce_taiga
- biomesoplenty:old_growth_woodland
- biomesoplenty:ominous_woods
- biomesoplenty:orchard
- biomesoplenty:origin_valley
- biomesoplenty:pasture
- minecraft:plains
- biomesoplenty:prairie
- biomesoplenty:pumpkin_patch
- biomesoplenty:rainforest
- biomesoplenty:redwood_forest
- minecraft:river
- biomesoplenty:rocky_rainforest
- biomesoplenty:rocky_shrubland
- minecraft:savanna
- minecraft:savanna_plateau
- biomesoplenty:scrubland
- biomesoplenty:seasonal_forest
- biomesoplenty:seasonal_orchard
- biomesoplenty:shrubland
- biomesoplenty:snowblossom_grove
- minecraft:snowy_beach
- biomesoplenty:snowy_coniferous_forest
- biomesoplenty:snowy_fir_clearing
- biomesoplenty:snowy_maple_woods
- minecraft:snowy_plains
- minecraft:snowy_slopes
- minecraft:snowy_taiga
- minecraft:sparse_jungle
- biomesoplenty:spider_nest
- minecraft:stony_peaks
- minecraft:stony_shore
- minecraft:sunflower_plains
- minecraft:swamp
- minecraft:taiga
- biomesoplenty:tropics
- biomesoplenty:tundra
- biomesoplenty:volcanic_plains
- biomesoplenty:volcano
- minecraft:warm_ocean
- biomesoplenty:wasteland
- biomesoplenty:wasteland_steppe
- biomesoplenty:wetland
- minecraft:windswept_forest
- minecraft:windswept_gravelly_hills
- minecraft:windswept_hills
- minecraft:windswept_savanna
- minecraft:wooded_badlands
- biomesoplenty:woodland