Package net.minecraft.server.command
Class WeatherCommand
java.lang.Object
net.minecraft.server.command.WeatherCommand
- Mappings:
Namespace Name official agtintermediary net/minecraft/class_3155named net/minecraft/server/command/WeatherCommand
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static intexecuteClear(ServerCommandSource source, int duration) private static intexecuteRain(ServerCommandSource source, int duration) private static intexecuteThunder(ServerCommandSource source, int duration) private static intprocessDuration(ServerCommandSource source, int duration, IntProvider provider) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
Field Details
-
DEFAULT_DURATION
private static final int DEFAULT_DURATION- See Also:
- Mappings:
Namespace Name Mixin selector official aLagt;a:Iintermediary field_33398Lnet/minecraft/class_3155;field_33398:Inamed DEFAULT_DURATIONLnet/minecraft/server/command/WeatherCommand;DEFAULT_DURATION:I
-
-
Constructor Details
-
WeatherCommand
public WeatherCommand()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector official aLagt;a(Lcom/mojang/brigadier/CommandDispatcher;)Vintermediary method_13827Lnet/minecraft/class_3155;method_13827(Lcom/mojang/brigadier/CommandDispatcher;)Vnamed registerLnet/minecraft/server/command/WeatherCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
-
processDuration
- Mappings:
Namespace Name Mixin selector official aLagt;a(Lds;ILbdb;)Iintermediary method_48087Lnet/minecraft/class_3155;method_48087(Lnet/minecraft/class_2168;ILnet/minecraft/class_6017;)Inamed processDurationLnet/minecraft/server/command/WeatherCommand;processDuration(Lnet/minecraft/server/command/ServerCommandSource;ILnet/minecraft/util/math/intprovider/IntProvider;)I
-
executeClear
- Mappings:
Namespace Name Mixin selector official aLagt;a(Lds;I)Iintermediary method_13824Lnet/minecraft/class_3155;method_13824(Lnet/minecraft/class_2168;I)Inamed executeClearLnet/minecraft/server/command/WeatherCommand;executeClear(Lnet/minecraft/server/command/ServerCommandSource;I)I
-
executeRain
- Mappings:
Namespace Name Mixin selector official bLagt;b(Lds;I)Iintermediary method_13828Lnet/minecraft/class_3155;method_13828(Lnet/minecraft/class_2168;I)Inamed executeRainLnet/minecraft/server/command/WeatherCommand;executeRain(Lnet/minecraft/server/command/ServerCommandSource;I)I
-
executeThunder
- Mappings:
Namespace Name Mixin selector official cLagt;c(Lds;I)Iintermediary method_13833Lnet/minecraft/class_3155;method_13833(Lnet/minecraft/class_2168;I)Inamed executeThunderLnet/minecraft/server/command/WeatherCommand;executeThunder(Lnet/minecraft/server/command/ServerCommandSource;I)I
-