mirror of
https://github.com/GeyserMC/GeyserOptionalPack.git
synced 2025-12-23 16:59:21 +00:00
Zombie villager textures (#18)
This PR:
Implements zombie villager biomes and professions
Utilizes the minecraft:zombie_villager_v2 entity
Main Geyser will need to be updated to send profession data for zombie villagers. Users without optional pack will still be able to take advantage of biome specific zombie villager textures with such an update.
Co-authored-by: Camotoy <20743703+Camotoy@users.noreply.github.com>
This commit is contained in:
45
render_controllers/zombie_villager_v2.render_controllers.json
Executable file
45
render_controllers/zombie_villager_v2.render_controllers.json
Executable file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"format_version": "1.8.0",
|
||||
"render_controllers": {
|
||||
"controller.render.zombie_villager_v2_masked": {
|
||||
"arrays": {
|
||||
"textures": {
|
||||
"Array.biomes": [
|
||||
"Texture.plains",
|
||||
"Texture.desert",
|
||||
"Texture.jungle",
|
||||
"Texture.savanna",
|
||||
"Texture.snow",
|
||||
"Texture.swamp",
|
||||
"Texture.taiga"
|
||||
],
|
||||
"Array.professions": [
|
||||
"Texture.unskilled",
|
||||
"Texture.farmer",
|
||||
"Texture.fisherman",
|
||||
"Texture.shepherd",
|
||||
"Texture.fletcher",
|
||||
"Texture.librarian",
|
||||
"Texture.cartographer",
|
||||
"Texture.cleric",
|
||||
"Texture.armorer",
|
||||
"Texture.weapon_smith",
|
||||
"Texture.tool_smith",
|
||||
"Texture.butcher",
|
||||
"Texture.leatherworker",
|
||||
"Texture.stonemason",
|
||||
"Texture.nitwit"
|
||||
]
|
||||
}
|
||||
},
|
||||
"geometry": "Geometry.default",
|
||||
"materials": [
|
||||
{ "*": "query.is_baby ? Material.default : Material.masked" }
|
||||
],
|
||||
"textures": [
|
||||
"Array.biomes[q.mark_variant]",
|
||||
"Array.professions[v.profession_index]"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user