Files
minecraft-bedrock-json-schemas/source/resource/entity/entity.json

49 lines
1.5 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.resource.entity",
2024-04-29 20:24:55 +07:00
"defaultSnippets": [
{
"label": "New entity",
"body": {
"format_version": "${1:1.10.0}",
"minecraft:client_entity": {
"description": {
"identifier": "$2:${3:${TM_FILENAME/[\\.].*//}}",
"materials": {
"default": "entity_alphatest"
},
"textures": {
"default": "textures/entity/${3:${TM_FILENAME/[\\.].*//}}"
},
"geometry": {
"default": "geometry.${3:${TM_FILENAME/[\\.].*//}}"
},
"render_controllers": ["controller.render.default"]
}
}
}
}
],
2021-06-06 10:07:19 +00:00
"examples": [
{
"format_version": "1.10.0",
2021-06-06 10:07:19 +00:00
"minecraft:client_entity": {
"description": {
"identifier": "minecraft:entity",
"materials": { "default": "entity_custom" },
"textures": { "default": "textures/entity/custom/entity" },
"geometry": { "default": "geometry.entity" },
"animations": {},
"particle_effects": {},
"scripts": {},
"render_controllers": ["controller.render.entity"],
"spawn_egg": { "base_color": "#288483", "overlay_color": "#2B7135" }
}
}
}
],
2021-11-16 13:19:45 +01:00
"if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } },
"then": { "$ref": "./1.8.0/entity.json" },
"else": { "$ref": "./1.10.0/entity.json" }
2021-06-06 10:07:19 +00:00
}