that a mob's attack has a potion effect.

Started by DarkWolf on

Topic category: Help with modding (Java Edition)

Last seen on 00:46, 5. Dec 2023
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.

Last seen on 00:46, 5. Dec 2023
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?