that a mob's attack has a potion effect.

Started by DarkWolf on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
that a mob's attack has a potion effect.

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.

Joined Jun 2020
Points:

User statistics:

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