that a mob's attack has a potion effect.

Started by DarkWolf on Tue, 12/22/2020 - 00:55

Topic category: Help with modding (Java Edition)

Last seen on 20:35, 2. Feb 2022
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
that a mob's attack has a potion effect.
Tue, 12/22/2020 - 00:55

Hello everyone, I want to make a mob that when damaging the player he receives an effect. specifically the freezing one that I will see how to create it.
I hope you can explain how I have to do it.

Use additional condition on…
Tue, 12/22/2020 - 08:37

Use additional condition on attack AI block, return true to make it work as default ai attack and before return true block, do custom action which would be dealing potion effects in your case.

Last seen on 20:35, 2. Feb 2022
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
if i'm honest i don't…
Tue, 12/22/2020 - 16:01

if i'm honest i don't understand anything ... is there a video or something that can guide me?