Time Argument
Must be a long suffixed with a unit if wanted (1s, 1d or 1t), which returns a Long
in ticks. Example:
Java
new StellarCommand("set-time")
.addTimeArgument("time")
.addExecution<Player>(Player.class, context -> {
long time = (long) getArgument("time");
context.getSender.getWorld().setTime(time);
});