Package net.minecraft.server.command
Class DefaultGameModeCommand
java.lang.Object
net.minecraft.server.command.DefaultGameModeCommand
- Mappings:
Namespace Name official yd
intermediary net/minecraft/class_3035
named net/minecraft/server/command/DefaultGameModeCommand
-
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
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)- Mappings:
Namespace Name Mixin selector official a
Lyd;a(Lcom/mojang/brigadier/CommandDispatcher;)V
intermediary method_13166
Lnet/minecraft/class_3035;method_13166(Lcom/mojang/brigadier/CommandDispatcher;)V
named register
Lnet/minecraft/server/command/DefaultGameModeCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
-
execute
- Mappings:
Namespace Name Mixin selector official a
Lyd;a(Ldl;Lbwm;)I
intermediary method_13167
Lnet/minecraft/class_3035;method_13167(Lnet/minecraft/class_2168;Lnet/minecraft/class_1934;)I
named execute
Lnet/minecraft/server/command/DefaultGameModeCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/world/GameMode;)I
-