1
0
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:
Kas-tle
2021-05-28 16:55:36 -07:00
committed by GitHub
parent 59796f7c95
commit e87fb96cb8
4 changed files with 155 additions and 2 deletions

View 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]"
]
}
}
}