Issues with transforming mobs

Started by riptideEcho on

Topic category: Help with MCreator software

Joined Feb 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Issues with transforming mobs
Sat, 02/14/2026 - 01:28 (edited)

https://imgur.com/a/Kqj0ryL
I'm trying to transform a vanilla mob into a modded mob using an item. I copied this code from another thread on the same issue, however, I am repeatedly getting this same error. Does anyone know how to fix this?

Edited by riptideEcho on Sat, 02/14/2026 - 01:28
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The error is because you are…
Sat, 02/14/2026 - 08:51

The error is because you are using "Entity Iterator" outside of a looping block, like for each mob within # block cube, you should change it to source entity instead. The target entity is the mob being effected, while the source entity is causing the trigger to go off. This case the player being source since they right click the target entity ie the bee.

Joined Feb 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I got it to function, thank…
Sat, 02/14/2026 - 15:55

I got it to function, thank you!!