Package net.minecraft.server.commands
Class TickCommand
java.lang.Object
net.minecraft.server.commands.TickCommand
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static String
nanosToMilisString
(long pNanos) static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_309001_) private static int
setFreeze
(CommandSourceStack pSource, boolean pFrozen) private static int
setTickingRate
(CommandSourceStack pSource, float pTickRate) private static int
sprint
(CommandSourceStack pSource, int pSprintTime) private static int
step
(CommandSourceStack pSource, int pTicks) private static int
stopSprinting
(CommandSourceStack pSource) private static int
stopStepping
(CommandSourceStack pSource) private static int
tickQuery
(CommandSourceStack pSource)
-
Field Details
-
MAX_TICKRATE
private static final float MAX_TICKRATE- See Also:
-
DEFAULT_TICKRATE
-
-
Constructor Details
-
TickCommand
public TickCommand()
-
-
Method Details
-
register
-
nanosToMilisString
-
setTickingRate
-
tickQuery
-
sprint
-
setFreeze
-
step
-
stopStepping
-
stopSprinting
-