How to change texture/model of a mob?

Started by MamaLuigi on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to change texture/model of a mob?
Wed, 08/30/2023 - 19:13 (edited)

I am making a mod that adds a mob where it has horns as an adult, but not as a baby, and the adult version of the mob can have 4 different textures, like a horse.

How would i do this without spawning a mob with the new model/texture and killing the old one?

Edited by MamaLuigi on Wed, 08/30/2023 - 19:13
Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I’m not completely sure but…
Wed, 08/30/2023 - 21:56

I’m not completely sure but I do believe custom code is needed.

Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is actually not hard to…
Sun, 09/22/2024 - 02:56

This is actually not hard to do! First I recommend you use Nerdy's Geckolib Plugin as it requires no advance coding to change the mob texture only procedure/procedures.

step 1. make the model with two textures. One with texture on the horns and the other with no texture on the horns. https://imgur.com/a/HjNIXzW

Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
step 4. give it a try it…
Sun, 09/22/2024 - 03:04

step 4. give it a try it should now work.

If you get stuck and need more help on understanding how to use Nerdy's Geckolib on both Mcreator and Blockbench here's a tutorial: (9) How to make Animated Mobs in MCreator! | Geckolib 2023 [No help in comments] - YouTube