public class TimeCommand
extends java.lang.Object
Constructor and Description |
---|
TimeCommand() |
Modifier and Type | Method and Description |
---|---|
static int |
addTime(CommandSource source,
int amount) |
private static int |
getDayTime(ServerWorld worldIn) |
static void |
register(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher) |
private static int |
sendQueryResults(CommandSource source,
int time) |
static int |
setTime(CommandSource source,
int time) |
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher)
private static int getDayTime(ServerWorld worldIn)
private static int sendQueryResults(CommandSource source, int time)
public static int setTime(CommandSource source, int time)
public static int addTime(CommandSource source, int amount)