How to change texture/model of a mob?

Started by Drake__archer on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 week ago
Joined Sep 2021
Points:
931

User statistics:

  • Modifications: 0
  • Forum topics: 77
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 118
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 Drake__archer on Wed, 08/30/2023 - 19:13
Active 1 year ago
Joined Mar 2023
Points:
222

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 33
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.

Active 1 month ago
Joined Jan 2024
Points:
140

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 34
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

Active 1 month ago
Joined Jan 2024
Points:
140

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 34
step 2. make sure your…
Sun, 09/22/2024 - 02:57

step 2. make sure your entity is animated and make a procedure that looks like this. https://imgur.com/a/S80pty5

Active 1 month ago
Joined Jan 2024
Points:
140

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 34
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