How do I set a procedure to trigger a change in the texture of the player?

Started by Tokoro_143 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I set a procedure to trigger a change in the texture of the player?

So, for context, I am making a Minecraft mod, my first mod, where when you take damage, the injury is visible on your skin. Basically, it changes the texture of your player's skin to simulate injuries.

Like how the iron golem cracks when damaged. 

How to do this? I already made the texture. How do I set and procedure it?