How Do You Make it so Entitys give potion effects?

Started by CreeperMiner on Fri, 05/05/2017 - 14:01

Topic category: Advanced modding

Last seen on 14:59, 28. Sep 2019
Joined Dec 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How Do You Make it so Entitys give potion effects?
Fri, 05/05/2017 - 14:01

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?

Last seen on 23:44, 18. Aug 2019
Joined Apr 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

Last seen on 08:29, 18. Sep 2019
Joined Dec 2013
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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

Last seen on 14:59, 28. Sep 2019
Joined Dec 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.