Run Procedure on Mobs I Tame?

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:
Run Procedure on Mobs I Tame?

I am making a mod that replaces Wolves with Dogs, and I am making it so when you tame a Wolf, it turns into/gets replaced by a Dog.

 

I would do this by detecting when you tame a Wolf, then spawn a Dog owned by the Player at the location of the Wolf, then despawn the Wolf.

 

I know how to do the replacing bit, but how you I run a procedure from a mob that you tame?

 

Any help would be greatly appreciated!