1
0
mirror of https://github.com/GeyserMC/GeyserOptionalPack.git synced 2025-12-19 23:09:14 +00:00

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
This commit is contained in:
Kas-tle
2021-04-26 09:13:40 -07:00
committed by GitHub
parent 18261485c4
commit 952227550e
6 changed files with 197 additions and 2 deletions

View File

@@ -0,0 +1,27 @@
{
"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]"
]
}
}
}