概览
minecraft:ground_offset 是一个实体组件:写在自定义生物的 components 对象中,或其中某个组件组里。 让实体相对于脚下的地面上移或下移。
字段
| 字段 | 类型 | 默认值 | 说明 |
|---|---|---|---|
value | Decimal | "0.0" | 高出地面的高度,以方块计。 |
示例
写在 BP/entities/<name>.json 的 components 对象中(值为默认值或占位值):
BP/entities/<name>.json
{
"minecraft:ground_offset": {
"value": "0.0"
}
}