Package net.minecraft.server.command
Class GameModeCommand
java.lang.Object
net.minecraft.command.AbstractCommand
net.minecraft.server.command.GameModeCommand
- All Implemented Interfaces:
Comparable,Command
- Direct Known Subclasses:
DefaultGameModeCommand
- Mappings:
Namespace Name official bpintermediary net/minecraft/class_1135named net/minecraft/server/command/GameModeCommand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(CommandSource source, String[] args) getAutoCompleteHints(CommandSource source, String[] args, BlockPos pos) intgetUsageTranslationKey(CommandSource source) booleanisUsernameAtIndex(String[] args, int index) protected GameModemethod_3540(CommandSource commandSource, String string) protected String[]Methods inherited from class net.minecraft.command.AbstractCommand
compareTo, concat, concat, concat, getAliases, getAsPlayer, getBlock, getBlockPos, getEntities, getEntity, getEntity, getItem, getPlayer, isAccessible, method_10699, method_10700, method_10706, method_10707, method_10708, 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, setCommandProviderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareTo
-
Constructor Details
-
GameModeCommand
public GameModeCommand()
-
-
Method Details
-
getCommandName
- Mappings:
Namespace Name Mixin selector official cLac;c()Ljava/lang/String;intermediary method_3277Lnet/minecraft/class_1007;method_3277()Ljava/lang/String;named getCommandNameLnet/minecraft/command/Command;getCommandName()Ljava/lang/String;
-
getPermissionLevel
public int getPermissionLevel()- Overrides:
getPermissionLevelin classAbstractCommand- Mappings:
Namespace Name Mixin selector official aLz;a()Iintermediary method_4634Lnet/minecraft/class_955;method_4634()Inamed getPermissionLevelLnet/minecraft/command/AbstractCommand;getPermissionLevel()I
-
getUsageTranslationKey
- Mappings:
Namespace Name Mixin selector official cLac;c(Lae;)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
- Mappings:
Namespace Name Mixin selector official aLac;a(Lae;[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_3540
- Mappings:
Namespace Name Mixin selector official hLbp;h(Lae;Ljava/lang/String;)Larc;intermediary method_3540Lnet/minecraft/class_1135;method_3540(Lnet/minecraft/class_1061;Ljava/lang/String;)Lnet/minecraft/class_1157;named method_3540Lnet/minecraft/server/command/GameModeCommand;method_3540(Lnet/minecraft/command/CommandSource;Ljava/lang/String;)Lnet/minecraft/world/GameMode;
-
getAutoCompleteHints
- Specified by:
getAutoCompleteHintsin interfaceCommand- Overrides:
getAutoCompleteHintsin classAbstractCommand- Mappings:
Namespace Name Mixin selector official aLac;a(Lae;[Ljava/lang/String;Ldt;)Ljava/util/List;intermediary method_10738Lnet/minecraft/class_1007;method_10738(Lnet/minecraft/class_1061;[Ljava/lang/String;Lnet/minecraft/class_2552;)Ljava/util/List;named getAutoCompleteHintsLnet/minecraft/command/Command;getAutoCompleteHints(Lnet/minecraft/command/CommandSource;[Ljava/lang/String;Lnet/minecraft/util/math/BlockPos;)Ljava/util/List;
-
method_3541
- Mappings:
Namespace Name Mixin selector official dLbp;d()[Ljava/lang/String;intermediary method_3541Lnet/minecraft/class_1135;method_3541()[Ljava/lang/String;named method_3541Lnet/minecraft/server/command/GameModeCommand;method_3541()[Ljava/lang/String;
-
isUsernameAtIndex
- Specified by:
isUsernameAtIndexin interfaceCommand- Overrides:
isUsernameAtIndexin classAbstractCommand- Mappings:
Namespace Name Mixin selector official bLac;b([Ljava/lang/String;I)Zintermediary method_4674Lnet/minecraft/class_1007;method_4674([Ljava/lang/String;I)Znamed isUsernameAtIndexLnet/minecraft/command/Command;isUsernameAtIndex([Ljava/lang/String;I)Z
-