Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/components/npc.json

107 lines
2.8 KiB
JSON
Raw Normal View History

2021-10-08 12:59:03 +02:00
{
2021-10-08 13:04:13 +02:00
"$id": "blockception.minecraft.behavior.entities.minecraft.npc",
2021-10-08 12:59:03 +02:00
"type": "object",
2021-10-08 13:04:13 +02:00
"title": "Npc",
2021-10-08 12:59:03 +02:00
"description": "A component that applies a mob effect to entities that get within range.",
"additionalProperties": false,
"definitions": {
"rangeXYZ": {
"type": "array",
"items": [
2021-10-11 18:10:42 +02:00
{
"type": "number",
"title": "X"
},
{
"type": "number",
"title": "Y"
},
{
"type": "number",
"title": "Z"
}
2021-10-08 12:59:03 +02:00
]
}
},
"properties": {
"npc_data": {
"type": "object",
"title": "Npc Data",
2022-07-22 19:41:04 +02:00
"description": "The data belonging to this npc.",
2021-10-08 12:59:03 +02:00
"$comment": "UNDOCUMENTED",
"additionalProperties": false,
"properties": {
"portrait_offsets": {
"type": "object",
"title": "Portrait Offsets",
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED.",
2021-10-08 12:59:03 +02:00
"$comment": "UNDOCUMENTED",
"additionalProperties": false,
"properties": {
"translate": {
"$ref": "#/definitions/rangeXYZ",
"title": "Translate",
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED.",
2021-10-08 12:59:03 +02:00
"$comment": "UNDOCUMENTED"
},
"scale": {
"$ref": "#/definitions/rangeXYZ",
"title": "Scale",
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED.",
2021-10-08 12:59:03 +02:00
"$comment": "UNDOCUMENTED"
}
}
},
"picker_offsets": {
"type": "object",
"title": "Picker Offsets",
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED.",
2021-10-08 12:59:03 +02:00
"$comment": "UNDOCUMENTED",
"additionalProperties": false,
"properties": {
"translate": {
"$ref": "#/definitions/rangeXYZ",
"title": "Translate",
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED.",
2021-10-08 12:59:03 +02:00
"$comment": "UNDOCUMENTED"
},
"scale": {
"$ref": "#/definitions/rangeXYZ",
"title": "Scale",
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED.",
2021-10-08 12:59:03 +02:00
"$comment": "UNDOCUMENTED"
}
}
},
"skin_list": {
"type": "array",
"title": "Skin List",
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED.",
2021-10-08 12:59:03 +02:00
"$comment": "UNDOCUMENTED",
"items": {
"type": "object",
"title": "Skin",
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED.",
2021-10-08 12:59:03 +02:00
"$comment": "UNDOCUMENTED",
"additionalProperties": false,
"properties": {
2021-10-11 18:10:42 +02:00
"variant": {
"title": "Variant",
2022-07-22 19:41:04 +02:00
"description": "UNDOCUMENTED.",
2021-10-11 18:10:42 +02:00
"$comment": "UNDOCUMENTED",
"type": "integer",
"minimum": 0
}
2021-10-08 12:59:03 +02:00
}
}
}
}
}
2021-10-11 18:10:42 +02:00
},
"examples": [
{
"npc_data": {}
}
]
2021-10-08 12:59:03 +02:00
}