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 pSource, int pTime, IntProvider pTimeProvider) static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_139167_) private static int
setClear
(CommandSourceStack pSource, int pTime) private static int
setRain
(CommandSourceStack pSource, int pTime) private static int
setThunder
(CommandSourceStack pSource, int pTime)
-
Field Details
-
DEFAULT_TIME
private static final int DEFAULT_TIME- See Also:
-
-
Constructor Details
-
WeatherCommand
public WeatherCommand()
-
-
Method Details
-
register
-
getDuration
-
setClear
-
setRain
-
setThunder
-