mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-24 07:37:10 +00:00
Add entity flags object
This commit is contained in:
@@ -243,6 +243,12 @@
|
|||||||
"nbt": "NBT",
|
"nbt": "NBT",
|
||||||
"location": "Location",
|
"location": "Location",
|
||||||
"distance": "Distance",
|
"distance": "Distance",
|
||||||
|
"flags": "Flags",
|
||||||
|
"isOnFire": "On Fire",
|
||||||
|
"isSneaking": "Sneaking",
|
||||||
|
"isSprinting": "Sprinting",
|
||||||
|
"isSwimming": "Swimming",
|
||||||
|
"isBaby": "Baby",
|
||||||
"status_effect": "Effects",
|
"status_effect": "Effects",
|
||||||
"status_effect_add": "Add Effect",
|
"status_effect_add": "Add Effect",
|
||||||
"status_effect_remove": "Remove Effect"
|
"status_effect_remove": "Remove Effect"
|
||||||
|
|||||||
@@ -780,6 +780,40 @@
|
|||||||
"value": "distance",
|
"value": "distance",
|
||||||
"collapse": true
|
"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",
|
"id": "effects",
|
||||||
"type": "map",
|
"type": "map",
|
||||||
|
|||||||
Reference in New Issue
Block a user