Package net.minecraft.server.command
Class DefaultGameModeCommand
java.lang.Object
net.minecraft.server.command.DefaultGameModeCommand
- Mappings:
Namespace Name named net/minecraft/server/command/DefaultGameModeCommand
intermediary net/minecraft/class_3035
official amo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
execute
(ServerCommandSource source, GameMode defaultGameMode) static void
register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
Constructor Details
-
DefaultGameModeCommand
public DefaultGameModeCommand()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector named register
Lnet/minecraft/server/command/DefaultGameModeCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
intermediary method_13166
Lnet/minecraft/class_3035;method_13166(Lcom/mojang/brigadier/CommandDispatcher;)V
official a
Lamo;a(Lcom/mojang/brigadier/CommandDispatcher;)V
-
execute
- Mappings:
Namespace Name Mixin selector named execute
Lnet/minecraft/server/command/DefaultGameModeCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/world/GameMode;)I
intermediary method_13167
Lnet/minecraft/class_3035;method_13167(Lnet/minecraft/class_2168;Lnet/minecraft/class_1934;)I
official a
Lamo;a(Let;Ldct;)I
-