Skip to content

[Feature] Support for custom mob models #928

Open

Description

@DedMaxim

If a resource pack that changes mob models is installed (Mobs Refreshed for example), mob heads break because they use custom texture on vanilla model

Image Image

There are 3 possible solutions I can suggest:

  1. Add support for custom models provided by CEM feature from EMF/OptiFine. I'm not sure how difficult it would be though.
  2. Ship custom head models and custom textures for those models inside the mod. This way resource packs won't affect models from the mod.
  3. Force models from the mod to use textures from Minecraft, if it's possible to do while a resource pack is overriding that texture

Activity

  1. DaFuqs commented on Jul 27, 2026

    @DaFuqs
    Owner
    1. would be the only real solution here.

    Are the textures from Minecraft still there, though? I assume they add a custom model, but then override the vanilla texture?

  2. DedMaxim commented on Jul 28, 2026

    @DedMaxim
    Author

    Yes, they do override it. That's why I'm not sure it's possible to do. Technically, the file itself is still there, in the jar file, but in a running game it's overwritten by a resource pack. I just don't know if it's possible to make Minecraft still load original textures and then point to them
    Image

    This approach is used pretty much by all resource packs though. I guess it's done so that original textures don't waste RAM. With FreshAnimations, for example, heads don't have eyes because FreshAnimations has eyes placed separately
    Image

  3. SaphireLattice commented on Jul 28, 2026

    @SaphireLattice

    Had this happen with a villager replacing mod. Ended up with resource pack's textures trying to map onto a vanilla model, and villagers had proper replaced one. Was done with this mod https://modrinth.com/mod/entity-model-features

    @DedMaxim I don't see how minecraft jar is at all relevant here...? As for the proposed solution, trying to sidestep the resource/registry system sounds like a bad idea ^^" The vanilla texture just wouldn't be available as long as the resource pack is loaded.

    Anyway pretty sure the mod does some custom model shenanigans, and like a normal texture pack also replaces the texture resource.

  4. DedMaxim commented on Jul 28, 2026

    @DedMaxim
    Author

    I understand that it's probably a bad idea but that's still a theoretical solution to this problem! I'm just trying to make suggestions how it possibly can be fixed. Maybe there's an easy answer that I just don't see

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions