Add entity flags object

This commit is contained in:
Misode
2019-10-05 17:29:44 +02:00
parent 77d2f2024a
commit e9d5a2d65d
2 changed files with 40 additions and 0 deletions

View File

@@ -780,6 +780,40 @@
"value": "distance",
"collapse": true
},
{
"id": "flags",
"type": "object",
"translate": "$entity.flags",
"color": "dark",
"collapse": true,
"fields": [
{
"id": "is_on_fire",
"type": "boolean",
"translate": "$entity.isOnFire"
},
{
"id": "is_sneaking",
"type": "boolean",
"translate": "$entity.isSneaking"
},
{
"id": "is_sprinting",
"type": "boolean",
"translate": "$entity.isSprinting"
},
{
"id": "is_swimming",
"type": "boolean",
"translate": "$entity.isSwimming"
},
{
"id": "is_baby",
"type": "boolean",
"translate": "$entity.isBaby"
}
]
},
{
"id": "effects",
"type": "map",