Package net.minecraft.server.command
Class DefaultGameModeCommand
java.lang.Object
net.minecraft.command.AbstractCommand
net.minecraft.server.command.GameModeCommand
net.minecraft.server.command.DefaultGameModeCommand
- All Implemented Interfaces:
Comparable<Command>,Command
- Mappings:
Namespace Name official zintermediary net/minecraft/class_1088named net/minecraft/server/command/DefaultGameModeCommand
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.command.AbstractCommand
AbstractCommand.Coordinate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetUsageTranslationKey(CommandSource source) protected voidmethod_13244(GameMode gameMode, MinecraftServer minecraftServer) voidmethod_3279(MinecraftServer minecraftServer, CommandSource commandSource, String[] string) Methods inherited from class net.minecraft.server.command.GameModeCommand
getPermissionLevel, isUsernameAtIndex, method_10738, method_3540Methods inherited from class net.minecraft.command.AbstractCommand
compareTo, concat, concat, concat, getAliases, getAsPlayer, getBlock, getBlockPos, getCoordinate, getCoordinate, getEntityNbt, getItem, method_10706, method_10707, method_10708, method_10711, method_10712, method_12701, method_12702, method_12704, method_12705, method_12706, method_13901, method_13904, method_2883, method_2894, method_3278, method_4635, method_4639, method_8406, parseBoolean, parseClampedDouble, parseClampedDouble, parseClampedInt, parseClampedInt, parseClampedLong, parseDouble, parseDouble, parseDouble, parseInt, parseLong, run, run, setCommandProvider
-
Constructor Details
-
DefaultGameModeCommand
public DefaultGameModeCommand()
-
-
Method Details
-
getCommandName
- Specified by:
getCommandNamein interfaceCommand- Overrides:
getCommandNamein classGameModeCommand- Mappings:
Namespace Name Mixin selector official cLl;c()Ljava/lang/String;intermediary method_3277Lnet/minecraft/class_1007;method_3277()Ljava/lang/String;named getCommandNameLnet/minecraft/command/Command;getCommandName()Ljava/lang/String;
-
getUsageTranslationKey
- Specified by:
getUsageTranslationKeyin interfaceCommand- Overrides:
getUsageTranslationKeyin classGameModeCommand- Mappings:
Namespace Name Mixin selector official bLl;b(Ln;)Ljava/lang/String;intermediary method_3275Lnet/minecraft/class_1007;method_3275(Lnet/minecraft/class_1061;)Ljava/lang/String;named getUsageTranslationKeyLnet/minecraft/command/Command;getUsageTranslationKey(Lnet/minecraft/command/CommandSource;)Ljava/lang/String;
-
method_3279
public void method_3279(MinecraftServer minecraftServer, CommandSource commandSource, String[] string) throws CommandException - Specified by:
method_3279in interfaceCommand- Overrides:
method_3279in classGameModeCommand- Throws:
CommandException- Mappings:
Namespace Name Mixin selector official aLl;a(Lnet/minecraft/server/MinecraftServer;Ln;[Ljava/lang/String;)Vintermediary method_3279Lnet/minecraft/class_1007;method_3279(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_1061;[Ljava/lang/String;)Vnamed method_3279Lnet/minecraft/command/Command;method_3279(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/command/CommandSource;[Ljava/lang/String;)V
-
method_13244
- Mappings:
Namespace Name Mixin selector official aLz;a(Lajq;Lnet/minecraft/server/MinecraftServer;)Vintermediary method_13244Lnet/minecraft/class_1088;method_13244(Lnet/minecraft/class_1157;Lnet/minecraft/server/MinecraftServer;)Vnamed method_13244Lnet/minecraft/server/command/DefaultGameModeCommand;method_13244(Lnet/minecraft/world/GameMode;Lnet/minecraft/server/MinecraftServer;)V
-