How do i create a neutral mob that attacks when struck by lightning

Started by Tonyxcode on

Topic category: Help with MCreator software

Last seen on 10:37, 19. Apr 2022
Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do i create a neutral mob that attacks when struck by lightning

Hi. so, im wanting to create a mob that attacks you when it is struck by lightning. please can somebody help me?

Last seen on 12:31, 22. Jan 2024
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
when the entity is struck by…
Thu, 05/12/2022 - 15:26

when the entity is struck by lightning, set the entity's NBT variable to true, and use a condition to make it only attack when the NBT variable is true