Files
minecraft-bedrock-json-schemas/behaviour/entities/1.8.0/components/minecraft.nameable.json
2020-11-01 17:22:42 +01:00

57 lines
1.8 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.nameable",
"type": "object",
"title": "Nameable 1.8.0",
"additionalProperties": false,
"description": "Allows this entity to be named (e.g. using a name tag).",
"required": [],
"properties": {
"name_actions": {
"type": "object",
"description": "Describes the special names for this entity and the events to call when the entity acquires those names",
"properties": {
"on_named": {
"type": "string",
"description": "Event to be called when this entity acquires the name specified in 'name_filter'"
},
"name_filter": {
"type": "string",
"description": "List of special names that will cause the events defined in 'on_named' to fire"
}
},
"title": "TODO title",
"additionalProperties": false
},
"default_trigger": {
"type": "string",
"description": "Trigger to run when the entity gets named",
"title": "TODO title"
},
"alwaysShow": {
"type": "boolean",
"default": false,
"description": "If true, the name will always be shown",
"title": "TODO title"
},
"allowNameTagRenaming": {
"type": "boolean",
"default": true,
"description": "If true, this entity can be renamed with name tags",
"title": "TODO title"
},
"allow_name_tag_renaming": {
"type": "boolean",
"default": true,
"description": "If true, this entity can be renamed with name tags",
"title": "Allow name tag renaming"
},
"always_show": {
"type": "boolean",
"default": false,
"description": "If true, the name will always be shown",
"title": "Always show"
}
}
}