It seems that using biome dictionary tags are case-insensitive when building a list of biomes where a bee might spawn to display in JEI or the beepedia, but case-sensitive when determining where bees can actually spawn.
For example, if using a tag like this for a custom bee:
"biomeWhitelist": "tag:forest",
then bees will spawn as expected in both vanilla Minecraft biomes, as well as biomes added by additional mods which use the dictionary forest tag.
However, a tag formatted like this:
"biomeWhitelist": "TAG:FOREST",
Then, while the list of biomes is correct in JEI, bees will only spawn in vanilla biomes, and they will never spawn in custom biomes which use the dictionary tag. Biomes O' Plenty was used to verify this behavior - I am uncertain if it is a specific bad interaction with this mod or a general case problem.
How to Reproduce?
Create a custom be that uses biome dictionary tags for biomeWhitelist
Set the dictionary tags to TAG:FOREST (all caps)
Set the spawnWeight value to an arbitrarily high value (ex, 1000)
Add custom biomes to the forest.json biome dictionary from another mod (e.g, biomes o' plenty)
Load minecraft and observe valid bee biomes in JEI
Search custom biome(s) for custom bee
Find none
Change biomeWhitelist value to tag:forest
Create new world
Search custom biomes for custom bee
Find bee
Expected Behavior
Case sensitivity rules should be consistent between valid biomes displayed in JEI/beepedia and actual spawn rules.
Version
0.10.7
Mod Loader Version
Forge 1.16.5 - 36.2.34
Logs or additional context
This behavior was found by observation only, and without attaching a debugger or looking at code. I can do a deep analysis on the 1.16.5 branch to confirm if you would find it helpful.
Acknowledgement
[X] I agree that I read the terms at the top of the page.
Bug Description
It seems that using biome dictionary tags are case-insensitive when building a list of biomes where a bee might spawn to display in JEI or the beepedia, but case-sensitive when determining where bees can actually spawn.
For example, if using a tag like this for a custom bee:
"biomeWhitelist": "tag:forest",
then bees will spawn as expected in both vanilla Minecraft biomes, as well as biomes added by additional mods which use the dictionary
forest
tag.However, a tag formatted like this:
"biomeWhitelist": "TAG:FOREST",
Then, while the list of biomes is correct in JEI, bees will only spawn in vanilla biomes, and they will never spawn in custom biomes which use the dictionary tag. Biomes O' Plenty was used to verify this behavior - I am uncertain if it is a specific bad interaction with this mod or a general case problem.
How to Reproduce?
Create a custom be that uses biome dictionary tags for
biomeWhitelist
Set the dictionary tags to
TAG:FOREST
(all caps)Set the
spawnWeight
value to an arbitrarily high value (ex, 1000)Add custom biomes to the
forest.json
biome dictionary from another mod (e.g, biomes o' plenty)Load minecraft and observe valid bee biomes in JEI
Search custom biome(s) for custom bee
Find none
Change
biomeWhitelist
value totag:forest
Create new world
Search custom biomes for custom bee
Find bee
Expected Behavior
Case sensitivity rules should be consistent between valid biomes displayed in JEI/beepedia and actual spawn rules.
Version
0.10.7
Mod Loader Version
Forge 1.16.5 - 36.2.34
Logs or additional context
This behavior was found by observation only, and without attaching a debugger or looking at code. I can do a deep analysis on the 1.16.5 branch to confirm if you would find it helpful.
Acknowledgement