Package net.minecraft.server.commands
Class WeatherCommand
java.lang.Object
net.minecraft.server.commands.WeatherCommand
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static int
getDuration
(CommandSourceStack source, int time, IntProvider timeProvider) static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) private static int
setClear
(CommandSourceStack source, int time) private static int
setRain
(CommandSourceStack source, int time) private static int
setThunder
(CommandSourceStack source, int time)
-
Field Details
-
DEFAULT_TIME
private static final int DEFAULT_TIME- See Also:
-
-
Constructor Details
-
WeatherCommand
public WeatherCommand()
-
-
Method Details
-
register
-
getDuration
-
setClear
-
setRain
-
setThunder
-