Package net.minecraft.server.commands
Class TimeCommand
java.lang.Object
net.minecraft.server.commands.TimeCommand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
addTime
(CommandSourceStack pSource, int pAmount) private static int
getDayTime
(ServerLevel pLevel) Returns the day time (time wrapped within a day)private static int
queryTime
(CommandSourceStack pSource, int pTime) static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_139072_) static int
setTime
(CommandSourceStack pSource, int pTime)
-
Constructor Details
-
TimeCommand
public TimeCommand()
-
-
Method Details
-
register
-
getDayTime
Returns the day time (time wrapped within a day) -
queryTime
-
setTime
-
addTime
-