[Technical & Internal] Fox type spawn compatibility with custom biomes
Currently the fox types spawn mechanics uses an immutable list of hardcoded biomes to know which fox type to use, but it has a big caveat: modded biomes, especially with the datapack biomes introduced in 1.16.2.
The current issue is there's no way to be able to easily tweak this so if we want foxes to spawn in a custom snowy biome they will always be red foxes.
With some recent internal changes in 1.17 snapshots and how tag system works for datapacks, having biome tags is more easy than ever.
The idea is pretty simple: ditch the immutable list for biome tags instead, the advantage is that if a datapack/mod add a new snowy biome, they can change the biome tag of the snow fox to append the new biome.
This would be a great improvement for the modding and datapack community, especially with the 1.16.2 changes.
Please sign in to leave a comment.