1. Wiki
  2. /World Generation
  3. /minecraft:tags

minecraft:tags

Don't want to write this by hand? GodCraft sets minecraft:tags for you with a switch.Get GodCraft

Overview

minecraft:tags is a biome component: it goes in the components object of a custom biome. Adds tags to the biome. Spawn rules, features and scripts use these tags to find biomes, and some tags (like "cold" or "ocean") also change game behavior directly.

Fields

FieldTypeDefaultDescription
tagsstring[]noneThe list of tag names, for example "forest", "overworld" or "monster".

Example

Inside the components object of BP/biomes/<name>.biome.json (values are the defaults or placeholders):

BP/biomes/<name>.biome.json
{
  "minecraft:tags": {
    "tags": []
  }
}

World Generation: Biome components (BP)

We use cookies to improve your experience and analyse site traffic. Learn more