Package net.minecraft.server.command
Class TimeCommand
java.lang.Object
net.minecraft.server.command.TimeCommand
public class TimeCommand extends Object
-
Constructor Summary
Constructors Constructor Description TimeCommand()
-
Method Summary
Modifier and Type Method 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)
-
Constructor Details
-
TimeCommand
public TimeCommand()
-
-
Method Details
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) -
getDayTime
-
executeQuery
-
executeSet
-
executeAdd
-