Is your feature request related to a problem?
It is currently impossible to update a specific world clock using it's key (ex: "minecraft:overworld")
Describe the solution you'd like.
An api to update world clocks, maybe
In Player:
void setPlayerTime(Key clock, long time, boolean tickTime)
long getPlayerTime(Key clock)
in World:
void setTime(Key clock, long time)
long getTime(Key clock)
void setFullTime(Key clock, long time)
long getFullTime(Key clock)
Describe alternatives you've considered.
1/ Sending ClientboundSetTimePacket using the protocolib plugin, however the clockUpdates field of this packet does not yet have an api for it.
2/ Sending ClientboundSetTimePacket using NMS. haven't tried yet, but i should work.
Other
No response
Is your feature request related to a problem?
It is currently impossible to update a specific world clock using it's key (ex: "minecraft:overworld")
Describe the solution you'd like.
An api to update world clocks, maybe
In Player:
void setPlayerTime(Key clock, long time, boolean tickTime)
long getPlayerTime(Key clock)
in World:
void setTime(Key clock, long time)
long getTime(Key clock)
void setFullTime(Key clock, long time)
long getFullTime(Key clock)
Describe alternatives you've considered.
1/ Sending ClientboundSetTimePacket using the protocolib plugin, however the clockUpdates field of this packet does not yet have an api for it.
2/ Sending ClientboundSetTimePacket using NMS. haven't tried yet, but i should work.
Other
No response