Files
Xterionix 822ed538f9 Some more misc fixes (#295)
* - Add mob effects enum

* - Add biome and biome tags to enum

* - Fix feature rules only showing with 1.13.0 format version

* - Replace 1.20.41 -> 1.20.80
- Make certain format versions restricted to 1.10.0

* - Remove example stick (having this here was annoying)

* - Fix

* - Remove empty sounds example

* - Misc fixes for entity components
2024-06-28 21:06:53 +02:00

49 lines
1.5 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.10.0",
"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" }
}