Method for setting time?

KMatias

New member
Oct 31, 2023
1
0
1
In org.bukkit.World should I use setTime() or setFullTime() to get the same functionality that minecraft's time command provides?
 

Machine Maker

Paper Developer
Staff member
Dec 17, 2021
132
6
19
18
California
The time command sets or mutates the fulltime which is the "day" time or the time used to calculate the sky progress/moon, etc. It is also the time that is frozen if the daylight cycle gamerule is set to false.

EDIT: actually it looks like setTime also calls setFullTime behind the scenes with some calculation done since its a relative number. So I think either one can be used, but used in different ways.