类 OpCommand


  • public class OpCommand
    extends Object
    Mappings:
    Namespace Name
    official ys
    intermediary net/minecraft/class_3083
    named net/minecraft/server/dedicated/command/OpCommand
    • 字段详细资料

      • ALREADY_OPPED_EXCEPTION

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ALREADY_OPPED_EXCEPTION
        Mappings:
        Namespace Name Mixin selector
        official a Lys;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
        intermediary field_13667 Lnet/minecraft/class_3083;field_13667:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
        named ALREADY_OPPED_EXCEPTION Lnet/minecraft/server/dedicated/command/OpCommand;ALREADY_OPPED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • 构造器详细资料

      • OpCommand

        public OpCommand()
    • 方法详细资料

      • register

        public static void register​(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
        Mappings:
        Namespace Name Mixin selector
        official a Lys;a(Lcom/mojang/brigadier/CommandDispatcher;)V
        intermediary method_13464 Lnet/minecraft/class_3083;method_13464(Lcom/mojang/brigadier/CommandDispatcher;)V
        named register Lnet/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 a Lys;a(Ldg;Ljava/util/Collection;)I
        intermediary method_13465 Lnet/minecraft/class_3083;method_13465(Lnet/minecraft/class_2168;Ljava/util/Collection;)I
        named op Lnet/minecraft/server/dedicated/command/OpCommand;op(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;)I