Package net.minecraft.server.command
Class GameModeCommand
java.lang.Object
net.minecraft.server.command.GameModeCommand
- Mappings:
Namespace Name named net/minecraft/server/command/GameModeCommandintermediary net/minecraft/class_3064official apj
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static intexecute(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Collection<ServerPlayerEntity> targets, GameMode gameMode) private static booleanexecute(ServerCommandSource source, ServerPlayerEntity target, GameMode gameMode) static voidexecute(ServerPlayerEntity target, GameMode gameMode) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) private static voidsendFeedback(ServerCommandSource source, ServerPlayerEntity player, GameMode gameMode)
-
Field Details
-
PERMISSION_CHECK
- Mappings:
Namespace Name Mixin selector named PERMISSION_CHECKLnet/minecraft/server/command/GameModeCommand;PERMISSION_CHECK:Lnet/minecraft/command/permission/PermissionCheck;intermediary field_63167Lnet/minecraft/class_3064;field_63167:Lnet/minecraft/class_12090;official aLapj;a:Lbbo;
-
-
Constructor Details
-
GameModeCommand
public GameModeCommand()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector named registerLnet/minecraft/server/command/GameModeCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)Vintermediary method_13388Lnet/minecraft/class_3064;method_13388(Lcom/mojang/brigadier/CommandDispatcher;)Vofficial aLapj;a(Lcom/mojang/brigadier/CommandDispatcher;)V
-
sendFeedback
private static void sendFeedback(ServerCommandSource source, ServerPlayerEntity player, GameMode gameMode) - Mappings:
Namespace Name Mixin selector named sendFeedbackLnet/minecraft/server/command/GameModeCommand;sendFeedback(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/world/GameMode;)Vintermediary method_13390Lnet/minecraft/class_3064;method_13390(Lnet/minecraft/class_2168;Lnet/minecraft/class_3222;Lnet/minecraft/class_1934;)Vofficial aLapj;a(Lej;Laxm;Lduk;)V
-
execute
private static int execute(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Collection<ServerPlayerEntity> targets, GameMode gameMode) - Mappings:
Namespace Name Mixin selector named executeLnet/minecraft/server/command/GameModeCommand;execute(Lcom/mojang/brigadier/context/CommandContext;Ljava/util/Collection;Lnet/minecraft/world/GameMode;)Iintermediary method_13387Lnet/minecraft/class_3064;method_13387(Lcom/mojang/brigadier/context/CommandContext;Ljava/util/Collection;Lnet/minecraft/class_1934;)Iofficial aLapj;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/util/Collection;Lduk;)I
-
execute
- Mappings:
Namespace Name Mixin selector named executeLnet/minecraft/server/command/GameModeCommand;execute(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/world/GameMode;)Vintermediary method_71688Lnet/minecraft/class_3064;method_71688(Lnet/minecraft/class_3222;Lnet/minecraft/class_1934;)Vofficial aLapj;a(Laxm;Lduk;)V
-
execute
private static boolean execute(ServerCommandSource source, ServerPlayerEntity target, GameMode gameMode) - Mappings:
Namespace Name Mixin selector named executeLnet/minecraft/server/command/GameModeCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/world/GameMode;)Zintermediary method_71689Lnet/minecraft/class_3064;method_71689(Lnet/minecraft/class_2168;Lnet/minecraft/class_3222;Lnet/minecraft/class_1934;)Zofficial bLapj;b(Lej;Laxm;Lduk;)Z
-