Files
minecraft-bedrock-json-schemas/source/resource/entity/entity.json
2024-04-29 15:24:55 +02:00

49 lines
1.6 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.resource.entity",
"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"]
}
}
}
}
],
"examples": [
{
"format_version": "1.20.41",
"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" }
}
}
}
],
"if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } },
"then": { "$ref": "./1.8.0/entity.json" },
"else": { "$ref": "./1.10.0/entity.json" }
}