Started by
FreddyFoxGam3r
on
Topic category: Help with Minecraft modding (Java Edition)
I am trying to make it so that there is a 10% chance every night that an undead invasion will happen. I have already made the event work but it can only happen once and if you sleep in a bed the event is still happening.
well for the sleep in bed you can maybe add a new "fake" bed and when they sleep in it turn varible off ending the attack then for the code just do a check maybe every time a player trades with a villager and it is night time?
Ok, thank you! :)
glad i could help
:)
FreddyFoxGam3r, can you tell me how you did random event thing, please
yeah me too please