类 OpCommand
- java.lang.Object
-
- net.minecraft.server.dedicated.command.OpCommand
-
public class OpCommand extends Object
- Mappings:
Namespace Name official ysintermediary net/minecraft/class_3083named net/minecraft/server/dedicated/command/OpCommand
-
-
字段概要
字段 修饰符和类型 字段 说明 private static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeALREADY_OPPED_EXCEPTION
-
构造器概要
构造器 构造器 说明 OpCommand()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 private static intop(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets)static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
-
-
字段详细资料
-
ALREADY_OPPED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ALREADY_OPPED_EXCEPTION
- Mappings:
Namespace Name Mixin selector official aLys;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13667Lnet/minecraft/class_3083;field_13667:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named ALREADY_OPPED_EXCEPTIONLnet/minecraft/server/dedicated/command/OpCommand;ALREADY_OPPED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
-
方法详细资料
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
- Mappings:
Namespace Name Mixin selector official aLys;a(Lcom/mojang/brigadier/CommandDispatcher;)Vintermediary method_13464Lnet/minecraft/class_3083;method_13464(Lcom/mojang/brigadier/CommandDispatcher;)Vnamed registerLnet/minecraft/server/dedicated/command/OpCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
-
op
private static int op(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLys;a(Ldg;Ljava/util/Collection;)Iintermediary method_13465Lnet/minecraft/class_3083;method_13465(Lnet/minecraft/class_2168;Ljava/util/Collection;)Inamed opLnet/minecraft/server/dedicated/command/OpCommand;op(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;)I
-
-