Class TimeSpeedCommand
java.lang.Object
net.neoforged.neoforge.server.command.TimeSpeedCommand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static net.minecraft.network.chat.Component
levelName
(net.minecraft.commands.CommandSourceStack source) private static float
minutes
(float speed) private static int
query
(net.minecraft.commands.CommandSourceStack source) (package private) static com.mojang.brigadier.builder.ArgumentBuilder
<net.minecraft.commands.CommandSourceStack, ?> register()
private static int
setDaylength
(net.minecraft.commands.CommandSourceStack source, int minutes) private static int
setDefault
(net.minecraft.commands.CommandSourceStack source) private static int
setSpeed
(net.minecraft.commands.CommandSourceStack source, float speed)
-
Constructor Details
-
TimeSpeedCommand
TimeSpeedCommand()
-
-
Method Details
-
register
static com.mojang.brigadier.builder.ArgumentBuilder<net.minecraft.commands.CommandSourceStack,?> register() -
query
private static int query(net.minecraft.commands.CommandSourceStack source) -
levelName
private static net.minecraft.network.chat.Component levelName(net.minecraft.commands.CommandSourceStack source) -
minutes
private static float minutes(float speed) -
setSpeed
private static int setSpeed(net.minecraft.commands.CommandSourceStack source, float speed) -
setDaylength
private static int setDaylength(net.minecraft.commands.CommandSourceStack source, int minutes) -
setDefault
private static int setDefault(net.minecraft.commands.CommandSourceStack source)
-