1
0
mirror of https://github.com/GeyserMC/GeyserOptionalPack.git synced 2025-12-20 23:39:20 +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

99
models/entity/evoker.geo.json Executable file
View File

@@ -0,0 +1,99 @@
{
"format_version": "1.8.0",
"geometry.evoker.v1.8": {
"texturewidth": 64,
"textureheight": 64,
"visible_bounds_width": 2,
"visible_bounds_height": 3,
"visible_bounds_offset": [0, 1.5, 0],
"bones": [
{
"name": "body",
"pivot": [0, 24, 0],
"cubes": [
{"origin": [-4, 12, -3], "size": [8, 12, 6], "uv": [16, 20]},
{"origin": [-4, 6, -3], "size": [8, 18, 6], "uv": [0, 38], "inflate": 0.5}
]
},
{
"name": "head",
"parent": "body",
"pivot": [0, 24, 0],
"cubes": [
{"origin": [-4, 24, -4], "size": [8, 10, 8], "uv": [0, 0]}
]
},
{
"name": "nose",
"parent": "head",
"pivot": [0, 26, 0],
"cubes": [
{"origin": [-1, 23, -6], "size": [2, 4, 2], "uv": [24, 0]}
]
},
{
"name": "helmet",
"parent": "head",
"pivot": [0, 24, 0],
"cubes": [
{"origin": [-4, 24, -4], "size": [8, 10, 8], "uv": [32, 0], "inflate": 0.5}
]
},
{
"name": "arms",
"parent": "body",
"pivot": [0, 22, 0],
"cubes": [
{"origin": [-8, 16, -2], "size": [4, 8, 4], "uv": [44, 22]},
{"origin": [4, 16, -2], "size": [4, 8, 4], "uv": [44, 22]},
{"origin": [-4, 16, -2], "size": [8, 4, 4], "uv": [40, 38]}
]
},
{
"name": "leg0",
"parent": "body",
"pivot": [-2, 12, 0],
"cubes": [
{"origin": [-4, 0, -2], "size": [4, 12, 4], "uv": [0, 22]}
]
},
{
"name": "leg1",
"parent": "body",
"pivot": [2, 12, 0],
"mirror": true,
"cubes": [
{"origin": [0, 0, -2], "size": [4, 12, 4], "uv": [0, 22]}
]
},
{
"name": "rightArm",
"parent": "body",
"pivot": [-5, 22, 0],
"cubes": [
{"origin": [-8, 12, -2], "size": [4, 12, 4], "uv": [40, 46]}
],
"locators": {
"right_hand": [-6, 12, 0]
}
},
{
"name": "rightItem",
"parent": "rightArm",
"pivot": [-5.5, 16, 0.5]
},
{
"name": "leftArm",
"parent": "body",
"pivot": [5, 22, 0],
"mirror": true,
"cubes": [
{"origin": [4, 12, -2], "size": [4, 12, 4], "uv": [40, 46]}
],
"locators": {
"left_hand": [6, 12, 0]
}
}
]
}
}