Started by
MisterSmogy
on
Topic category: Minecraft mod ideas exchange
Hi, I'm trying to make a tiny mod that turns doDayNightCycle to false, and links the time of day to the player's x coords.
Basically I would like to have a fixed sunset on my spawn, and have the sun very slowly rise when walking towards the sun, and the sun go down when walking away from it.
I managed to figure out the procedure for "set time to > x position of > event/target entity" But I cant figure out how to make it work properly.
Does anyone have any ideas?
Thanks in advance.
PS: I am brand new to modding, and I am still looking at all the tutorials I can.
I think I did it, if you are interested, I created a procedure that looks like this.
https://postimg.cc/5XBpW9pw
I added that if the player has a clock in the inventory, time starts going again, to reset villager trades.
If you wand to modify the placement of the sun in the sky, just edit the "51000" in the "set time" section to whatever you want.