How to make entity have a 70% chance of being struck by lightning

Started by BlazingGreenFire on

Topic category: Help with modding (Java Edition)

Last seen on 12:24, 19. Mar 2022
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make entity have a 70% chance of being struck by lightning

Hello so I am remaking the copper golem in Minecraft, and I wanna figure out how to make it so if the copper golem is out in the open if it is thundering, it has a 70% chance of getting struck by lightning. Any help?

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Entity Management and Entity…
Thu, 10/21/2021 - 18:02

Entity Management and Entity Data

you need to put Timer on the Bar of the block