MCPcopy Create free account
hub / github.com/Teneted/Tenet / setPlayerTime

Method setPlayerTime

src/main/java/org/bukkit/entity/Player.java:507–507  ·  view source on GitHub ↗

Sets the current time on the player's client. When relative is true the player's time will be kept synchronized to its world time with the specified offset. When using non relative time the player's time will stay fixed at the specified time parameter. It's up to the caller to continue updating

(long time, boolean relative)

Source from the content-addressed store, hash-verified

505 * time.
506 */
507 public void setPlayerTime(long time, boolean relative);
508
509 /**
510 * Returns the player's current timestamp.

Callers

nothing calls this directly

Implementers 1

CraftPlayersrc/main/java/org/bukkit/craftbukkit/v

Calls

no outgoing calls

Tested by

no test coverage detected