Files
minecraft-bedrock-json-schemas/source/behavior/entities/entities.json

48 lines
1.4 KiB
JSON
Raw Normal View History

2021-06-06 10:07:19 +00:00
{
2021-11-20 11:26:35 +01:00
"$schema": "http://json-schema.org/draft-07/schema",
2021-06-06 10:07:19 +00:00
"$id": "blockception.minecraft.behavior.entities",
2024-04-29 20:24:55 +07:00
"defaultSnippets": [
{
"label": "New entity",
"body": {
"format_version": "${1:1.20.80}",
2024-04-29 20:24:55 +07:00
"minecraft:entity": {
"description": {
"identifier": "$2:${3:${TM_FILENAME/[\\.].*//}}",
2025-04-07 10:00:26 +02:00
"is_spawnable": "${4:true}",
"is_summonable": "${5:true}",
"is_experimental": "${6:false}"
2024-04-29 20:24:55 +07:00
},
"components": "^{$7}"
}
}
}
],
2021-06-06 10:07:19 +00:00
"examples": [
{
"format_version": "1.20.80",
2021-06-06 10:07:19 +00:00
"minecraft:entity": {
"description": { "identifier": "namespace:entity", "is_spawnable": true, "is_summonable": true },
"component_groups": {},
"components": {},
"events": {}
}
}
],
2021-10-08 12:57:16 +02:00
"type": "object",
2021-10-08 12:59:03 +02:00
"title": "Entity Behavior",
2022-07-22 19:41:04 +02:00
"description": "The minecraft entity behavior specification.",
2021-10-08 12:57:16 +02:00
"required": ["format_version", "minecraft:entity"],
"additionalProperties": false,
"properties": {
"use_beta_features": {
"title": "Use Beta Features",
"description": "Allows an entity to use experimental features.",
"type": "boolean",
"default": false
},
2021-10-08 12:57:16 +02:00
"format_version": { "$ref": "../../general/format_version.json" },
2021-10-08 12:59:03 +02:00
"minecraft:entity": { "$ref": "./format/minecraft.entity.json" }
2021-10-08 12:57:16 +02:00
}
2021-06-06 10:07:19 +00:00
}