Sync the Minecraft game time to Transport Simulation Core.
Note: The example endpoint sets the time for all dimensions at once, which is probably the desired behaviour.
http://localhost:8888/mtr/api/operation/set-time?dimensions=all
gameMillis
: Milliseconds elapsed since midnight of the game time (e.g. 300000
for morning in Minecraft)millisPerDay
: Total number of milliseconds of the game time (e.g. a Minecraft day is 20 minutes which is 1200000
milliseconds)isTimeMoving
: Equivalent to the doDaylightCycle
gamerule in Minecraft{ "gameMillis": 300000, "millisPerDay": 1200000, "isTimeMoving": false }