Started by
wofoo
on
Topic category: Help with Minecraft modding (Java Edition)
I want to make a mod where at the start of each minecraft day, there is an overlay or at least something that shows which exact day of the week it is for roleplay purposes. I tried to look at tutorials but can't find any that I understand and exactly for that and especially for the newer versions of mcreator.
you can use the get world time to test if the world time is at the time you want it to, then in an if statement you can put it on the top, set it equal to whenever, then if its that time, you can use the print command to say what day it is.
for the different days use a variable that is day_counter, so in the if statement
if world time is = to ___ AND day_counter = 0
print "Monday"
day_counter = day_counter + 1
then make tuesday = 2, etc
but when you get to sunday you, replace the day_counter = day_counter + 1 with day_counter = 0
Or, Alternatively, if you want the current date and time to be displayed, mcreator has options for that too, however that would use real dates rather than customisable ones