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 intgetDuration(CommandSourceStack source, int time, IntProvider timeProvider) static voidregister(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) private static intsetClear(CommandSourceStack source, int time) private static intsetRain(CommandSourceStack source, int time) private static intsetThunder(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
-