1
0
mirror of https://github.com/GeyserMC/GeyserOptionalPack.git synced 2025-12-19 14:59:14 +00:00
Files
GeyserOptionalPack/render_controllers/evoker.render_controllers.json
Kas-tle 952227550e Feature/illusioner (#10)
* Initial support for illusioner texture swap

- Copy over illusioner texture from default pack
- Add illusioner texture to evoker entity definition
- Use evoker render controller to conditionally display illusioner texture on q.is_bribed
- Add helmet element to evoker geometry

* Remove animation for duplicates from entity definition

- On examination, it would be too complicated to create the duplicates effect as originally planned, as it would require a follow entity, or changing the visibility of the evoker during attack
- We may revisit this later

* Add documentation for the illusioner

* Fix evoker's weird hat

* Remove JSON compression in favor of one-lining on the CI
2021-04-26 12:13:40 -04:00

28 lines
719 B
JSON
Executable File

{
"format_version": "1.8.0",
"render_controllers": {
"controller.render.evoker": {
"arrays": {
"textures": {
"Array.skins": [
"Texture.default",
"Texture.illusioner"
]
}
},
"geometry": "Geometry.default",
"materials": [ { "*": "Material.default" } ],
"part_visibility": [
{ "*": true },
{ "arms": "!(q.is_casting || q.is_celebrating)" },
{ "leftarm": "q.is_casting || q.is_celebrating" },
{ "rightarm": "q.is_casting || q.is_celebrating" },
{ "helmet": "q.is_bribed" }
],
"textures": [
"Array.skins[q.is_bribed]"
]
}
}
}