MattCzyr / NaturesCompass

A Minecraft mod that allows you to locate biomes anywhere in the world.
https://www.curseforge.com/minecraft/mc-mods/natures-compass
Other
62 stars 47 forks source link

[Feature request] A biome tag to hide biomes from the compass #156

Open TelepathicGrunt opened 1 year ago

TelepathicGrunt commented 1 year ago

Some mods/modpacks have biomes that are super rare or special that they may want to hide from the compass to prevent cheesing/breaking balance. The best way to handle this would be to add a Biome Tag that modpack makers or mods can add their special biomes to in order to hide from the compass. If a player wishes to undo that, they can override the tag with a replace:true empty tag to show all biomes again.

The biome tag can be something along the lines of naturescompass:hidden_from_compass and be placed under data/naturescompass/tags/worldgen/biome/hidden_from_compass.json

This would be for 1.18.2 and newer Mc version as biome tags were introduced in 1.18.2.

MattCzyr commented 1 year ago

The current way to hide biomes from the compass is through the biome blacklist in the config file. I think it may be confusing to have two systems that basically accomplish the same thing, however I can see how biome tags might be useful, as biomes could then be hidden at the mod level, by the mod developer, and not just at the modpack level. I'll think about this.

TelepathicGrunt commented 1 year ago

Hmm. Wondering if maybe adding a BiomeBlacklistDataSource config option that has three states of: “ConfigOnly”, “TagOnly”, “Both” and is defaulted to “Both”. (And the comment explains what values are allowed and what it does) That way it is a little more clear to users what the source of the blacklist is and can change it to just the config or tag if they wish. Thus not needing a datapack to disable the tags if they want to handle it through just the config regardless of other mod’s tags. Just throwing ideas out there.