Started by
GauceBoss
on
Topic category: Help with modding (Java Edition)
Hey there, just got Mcreator just 3 hours ago and have been trying to make a simple mod. I've been designing this copper armor that when you wear the helmet, there is a chance of striking lightning on your player when wearing it.
However I am having trouble making random times of lightning appearing on top of you. Usually nothing happens for a few seconds but then revs up and suddenly a ton of lightning strike you over and over.
I simply was lightning that appears at random times and does not spawn constantly over and over on you.
Edited by GauceBoss on Tue, 01/17/2023 - 00:23
Here's my recommendation:
...This sort of controlled randomization is helpful for a lot of stuff. Your procedure is probably working just fine in its current state; it's just that genuine randomness can often result in long periods of nothing and sudden bursts of way too many things all at once.