public class TimeCommand extends Object
Constructor and Description |
---|
TimeCommand() |
Modifier and Type | Method and Description |
---|---|
static int |
executeAdd(ServerCommandSource source,
int time) |
private static int |
executeQuery(ServerCommandSource source,
int time) |
static int |
executeSet(ServerCommandSource source,
int time) |
private static int |
getDayTime(ServerWorld world) |
static void |
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) |
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static int getDayTime(ServerWorld world)
private static int executeQuery(ServerCommandSource source, int time)
public static int executeSet(ServerCommandSource source, int time)
public static int executeAdd(ServerCommandSource source, int time)