1. Wiki
  2. /世界生成
  3. /minecraft:tags

minecraft:tags

不想手写?在 GodCraft 里打开一个开关,就能帮你设置好 minecraft:tags。Get GodCraft

概览

minecraft:tags 是一个生物群系组件:写在自定义生物群系的 components 对象中。 给生物群系添加标签。生成规则、地物和脚本用这些标签来查找生物群系,有些标签(比如 "cold" 或 "ocean")还会直接改变游戏行为。

字段

字段类型默认值说明
tagsstring[]无标签名称列表,例如 "forest"、"overworld" 或 "monster"。

示例

写在 BP/biomes/<name>.biome.json 的 components 对象中(值为默认值或占位值):

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

世界生成: 生物群系组件(行为包)

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