How do i make one model have two texturse

Started by MrFoxy313 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do i make one model have two texturse

di'm trying to make a entity that has different textures kind of like the new cows, pigs, and chickens but at a percent chance to change not based of biome temp kind of like how a pokemon has a chance to be shiny kind of like that

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can do this through…
Thu, 04/10/2025 - 20:22

You can do this through making multiple entities with different textures. The alternate entities can be spawned depending on biome at x y z or based on a random integer.

For example on entity spawned trigger you can run a logic of does 3 (or any number) = random integer between 1 and 10 if so despawn target entity and spawn alternate entity. This would give your "shiny" variant a 10% chance of spawning.

Otherwise there's a way to use texture layers and entity states to change the texture but I think you will need the geckolib plugin for that. The method would be the same but with one entity using multiple texture and you would assign a random number to the state variable which would determine the variant spawned (texture used by the entity).

Now that I'm looking at it mcreator 2025.1 does have model layers within the entity as default so the "geckolib method" I said above may be possible without needing the plugin after all.