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

Iron golem is dependent on the server; implement shulker invisibility parity

This commit is contained in:
Camotoy
2021-03-03 19:46:04 -05:00
parent b9efd0986c
commit 2beaa1b2f7
3 changed files with 41 additions and 3 deletions

View File

@@ -4,7 +4,7 @@
"description": "Geyser Vanilla Assets", "description": "Geyser Vanilla Assets",
"name": "Geyser Vanilla Assets", "name": "Geyser Vanilla Assets",
"uuid": "5d8f8e98-7a2a-11eb-9439-0242ac130002", "uuid": "5d8f8e98-7a2a-11eb-9439-0242ac130002",
"version": [1, 0, 60], "version": [1, 0, 69],
"min_engine_version": [ 1, 16, 0 ] "min_engine_version": [ 1, 16, 0 ]
}, },
"modules": [ "modules": [
@@ -12,7 +12,7 @@
"description": "Geyser Vanilla Assets", "description": "Geyser Vanilla Assets",
"type": "resources", "type": "resources",
"uuid": "72e9b0ca-7a2a-11eb-9439-0242ac130002", "uuid": "72e9b0ca-7a2a-11eb-9439-0242ac130002",
"version": [1, 0, 60] "version": [1, 0, 69]
} }
] ]
} }

View File

@@ -16,7 +16,7 @@
"materials": [ { "*": "Material.default" } ], "materials": [ { "*": "Material.default" } ],
"textures": [ "textures": [
"Texture.bottom_layer", "Texture.bottom_layer",
"Array.top[q.health > 99 ? 3 : math.floor(q.health / 25)]" "Array.top[(q.health > 99 || !q.is_bribed) ? 3 : math.floor(q.health / 25)]"
] ]
} }
} }

View File

@@ -0,0 +1,38 @@
{
"format_version": "1.8.0",
"render_controllers": {
"controller.render.shulker": {
"arrays": {
"textures": {
"Array.variants": [
"Texture.black",
"Texture.red",
"Texture.green",
"Texture.brown",
"Texture.blue",
"Texture.purple",
"Texture.cyan",
"Texture.silver",
"Texture.gray",
"Texture.pink",
"Texture.lime",
"Texture.yellow",
"Texture.light_blue",
"Texture.magenta",
"Texture.orange",
"Texture.white",
"Texture.undyed"
]
}
},
"geometry": "Geometry.default",
"part_visibility": [
{ "*": true },
{ "lid": "!(q.is_invisible && q.is_bribed)" },
{ "base": "!(q.is_invisible && q.is_bribed)" }
],
"materials": [ { "*": "Material.default" } ],
"textures": [ "Array.variants[query.variant]" ]
}
}
}