How Do You Make it so Entitys give potion effects?

Started by CreeperMiner on

Topic category: Advanced modding

Joined Dec 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How Do You Make it so Entitys give potion effects?

I made a giant scorpion with even a custom model, but the issue is, I want it to poison the player, But Theres no option for that so can anybody please tell me how?

Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can do this via events.
Fri, 05/05/2017 - 14:35

You can do this via events. Make it so that when mob attacks>>>give potion effectpoison. Unfortunately, it does not seem to work.

Joined Dec 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes, that would be the way.
Fri, 05/05/2017 - 15:28

Yes, that would be the way. Events section>When Mob attacks Player>Add potion effect>Instant Poison

Joined Dec 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yep, its just for some reason
Fri, 05/05/2017 - 18:16

Yep, its just for some reason "When Mob attacks" works on death instead.