Repurposed Structures (Neoforge/Forge)

Repurposed Structures (Neoforge/Forge)

66M Downloads

Villages are incompatible with resource packs to add custom skins for biomes

AvatarNeo12 opened this issue ยท 2 comments

commented

Villages from Repurposed Structures, for biomes that don't have default skins (Dark Forest, Mushroom, etc.) use a default Villager biome type. However, this creates problems when using resource packs that add custom skins for said biomes.

For example, the Extra Villagers resource pack adds skins for most biomes, but because the Repurposed Structures villagers spawn with pre-determined biome skins, they don't use the custom models/textures.

When spawning a new villager with a spawn egg, or breeding a villager, they use the custom skins from the resource pack.

So basically, the game thinks they're Swamp/Jungle/whatever villagers, and doesn't give them custom skins.

I do have all the mods necessary to load the resource pack. It works fine on new villagers, but not on ones from RS villages.

Image
Pictured - A villager trying to blend in with the natives to the Mushroom Island

I do have other mods installed (as you can probably tell) but none that would interfere with resource packs.

commented

Use a datapack to replace the villager nbt file with a version that targets the new skin types you rather they use.

https://github.com/TelepathicGrunt/RepurposedStructures/tree/1.20-Arch/common/src/main/resources/data/repurposed_structures/structures/villages/badlands/villagers

This is not really something I can do on my end as resourcepacks can be entirely client side while my mod is entirely serverside so my mod has no way of knowing what skin types exist or is being used by clients. This is more of a configuration thing that players/packmakers should be doing on their own to bend repurposed structures to what their pack needs

Fortunately, you can use the config datapack and slim it down to just the mcmeta file and villager nbt file, and then edit the villager nbt files to use the skin types the resourcepack provides.

commented

Image

This worked, thank you!