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

minecraft:grass_appearance

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

概览

minecraft:grass_appearance 是一个客户端生物群系组件:写在客户端生物群系文件的 components 对象中。 设置这个生物群系中草的颜色。

字段

字段类型默认值说明
colorColor255RGB | Grass Color Map无一个固定颜色,或根据生物群系混合颜色的颜色图。
grass_is_shadedbooleanfalse为 true 时,草看起来更暗,就像在屋顶下面,比如黑森林中那样。

示例

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

RP/biomes/<name>.client_biome.json
{
  "minecraft:grass_appearance": {
    "color": {},
    "grass_is_shaded": false
  }
}

世界生成: 客户端生物群系组件(资源包)

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