Started by
VioletPyre
on
Topic category: Help with Minecraft modding (Java Edition)
Hi! I have made a gamerule for an event, but i want it to have, say, 10% to activate every morning. For some reason i can't find anything that would make this happen.
I don't want it to Spam it like 23 times either. I just need it to run the procedure once
If someone could enlighten me, i'll be really happy c:
While waiting for a response, i'll still try some things here and there, if i find a solution before anyone else shows up, i'll post it here in case someone has the same issue.
Thanks for any help ~ <3
The simplest way is to generate a random number between 0 and 10 and check if it is less than 10.
Sorry i explained myself badly i think..
i know how to do randoms and stuff.
but i don’t know how to call that procedure only once the very second it turns day.
If i have to, i might need to install some systems in-game.. but i’m trying to blend that kind of stuff inside the mod itself.
still, very appreciated <3
cheers