Package net.minecraft.server.command
Class DefaultGameModeCommand
java.lang.Object
net.minecraft.server.command.DefaultGameModeCommand
- Mappings:
Namespace Name named net/minecraft/server/command/DefaultGameModeCommandintermediary net/minecraft/class_3035official amo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static intexecute(ServerCommandSource source, GameMode defaultGameMode) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
Constructor Details
-
DefaultGameModeCommand
public DefaultGameModeCommand()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector named registerLnet/minecraft/server/command/DefaultGameModeCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)Vintermediary method_13166Lnet/minecraft/class_3035;method_13166(Lcom/mojang/brigadier/CommandDispatcher;)Vofficial aLamo;a(Lcom/mojang/brigadier/CommandDispatcher;)V
-
execute
- Mappings:
Namespace Name Mixin selector named executeLnet/minecraft/server/command/DefaultGameModeCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/world/GameMode;)Iintermediary method_13167Lnet/minecraft/class_3035;method_13167(Lnet/minecraft/class_2168;Lnet/minecraft/class_1934;)Iofficial aLamo;a(Let;Ldct;)I
-