Package net.minecraft.server.command
Class GameModeCommand
java.lang.Object
net.minecraft.server.command.GameModeCommand
- Mappings:
- Namespace - Name - named - net/minecraft/server/command/GameModeCommand- intermediary - net/minecraft/class_3064- official - ane
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static intexecute(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Collection<ServerPlayerEntity> targets, GameMode gameMode) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) private static voidsendFeedback(ServerCommandSource source, ServerPlayerEntity player, GameMode gameMode) 
- 
Field Details- 
REQUIRED_PERMISSION_LEVELpublic static final int REQUIRED_PERMISSION_LEVEL- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - REQUIRED_PERMISSION_LEVEL- Lnet/minecraft/server/command/GameModeCommand;REQUIRED_PERMISSION_LEVEL:I- intermediary - field_33393- Lnet/minecraft/class_3064;field_33393:I- official - a- Lane;a:I
 
 
- 
- 
Constructor Details- 
GameModeCommandpublic GameModeCommand()
 
- 
- 
Method Details- 
register- Mappings:
- Namespace - Name - Mixin selector - named - register- Lnet/minecraft/server/command/GameModeCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V- intermediary - method_13388- Lnet/minecraft/class_3064;method_13388(Lcom/mojang/brigadier/CommandDispatcher;)V- official - a- Lane;a(Lcom/mojang/brigadier/CommandDispatcher;)V
 
- 
sendFeedbackprivate static void sendFeedback(ServerCommandSource source, ServerPlayerEntity player, GameMode gameMode) - Mappings:
- Namespace - Name - Mixin selector - named - sendFeedback- Lnet/minecraft/server/command/GameModeCommand;sendFeedback(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/world/GameMode;)V- intermediary - method_13390- Lnet/minecraft/class_3064;method_13390(Lnet/minecraft/class_2168;Lnet/minecraft/class_3222;Lnet/minecraft/class_1934;)V- official - a- Lane;a(Lex;Lare;Ldgg;)V
 
- 
executeprivate static int execute(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Collection<ServerPlayerEntity> targets, GameMode gameMode) - Mappings:
- Namespace - Name - Mixin selector - named - execute- Lnet/minecraft/server/command/GameModeCommand;execute(Lcom/mojang/brigadier/context/CommandContext;Ljava/util/Collection;Lnet/minecraft/world/GameMode;)I- intermediary - method_13387- Lnet/minecraft/class_3064;method_13387(Lcom/mojang/brigadier/context/CommandContext;Ljava/util/Collection;Lnet/minecraft/class_1934;)I- official - a- Lane;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/util/Collection;Ldgg;)I
 
 
-