Skip to content

[Suggestion] Use c and minecraft tags for better mod compat #9

@TelepathicGrunt

Description

@TelepathicGrunt

I saw in 1.21.1 NeoForge that your mod hardcodes biomes for the structure to spawn in.

I wanted to point out that if you make a custom tag file and have it pull in other tags and biomes, your structures will spawn in more modded biomes without needing explicit compat for each biome. For example, using #c:is_plains as a require-false tag entry in your tag, your structure will spawn in all Overworld modded plains biomes in that tag. (Excluding snowy plains biome)

So your tag file contents could look like this:

{
  "values": [
    "minecraft:plains",
    "minecraft:sunflower_plains",
    {
      "id": "#c:is_plains",
      "required": false
    }
  ]
}

I think that would greatly help people to find your structure in large modpacks or biome-adding datapacks! Let me know if you need help with an example.

minecraft namespace biome tags:
https://github.com/misode/mcmeta/tree/b7e7f5282f9cc2ca1bd01e9a4911beab4725cb4b/data/minecraft/tags/worldgen/biome

c namespace biome tags:
https://github.com/neoforged/NeoForge/tree/1.21.1/src/generated/resources/data/c/tags/worldgen/biome

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions