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 yintermediary 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 TypeMethodDescriptionvoidexecute(CommandSource source, String[] args) getUsageTranslationKey(CommandSource source) protected voidmethod_3461(LevelInfo.GameMode gameMode) Methods inherited from class net.minecraft.server.command.GameModeCommand
getAutoCompleteHints, getPermissionLevel, isUsernameAtIndex, method_3540, method_3541Methods inherited from class net.minecraft.command.AbstractCommand
compareTo, concat, concat, concat, getAliases, getAsPlayer, getBlock, getBlockPos, getCoordinate, getCoordinate, getEntities, getEntity, getEntity, getItem, getPlayer, isAccessible, method_10706, method_10707, method_10708, method_10712, method_10714, method_2883, method_2894, method_4635, method_5468, 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 cLk;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 cLk;c(Lm;)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;
-
execute
- Specified by:
executein interfaceCommand- Overrides:
executein classGameModeCommand- Throws:
CommandException- Mappings:
Namespace Name Mixin selector official aLk;a(Lm;[Ljava/lang/String;)Vintermediary method_3279Lnet/minecraft/class_1007;method_3279(Lnet/minecraft/class_1061;[Ljava/lang/String;)Vnamed executeLnet/minecraft/command/Command;execute(Lnet/minecraft/command/CommandSource;[Ljava/lang/String;)V
-
method_3461
- Mappings:
Namespace Name Mixin selector official aLy;a(Ladp$a;)Vintermediary method_3461Lnet/minecraft/class_1088;method_3461(Lnet/minecraft/class_1156$class_1157;)Vnamed method_3461Lnet/minecraft/server/command/DefaultGameModeCommand;method_3461(Lnet/minecraft/world/level/LevelInfo$GameMode;)V
-