类 DeOpCommand


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

      • ALREADY_DEOPPED_EXCEPTION

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ALREADY_DEOPPED_EXCEPTION
        Mappings:
        Namespace Name Mixin selector
        official a Lxs;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
        intermediary field_13507 Lnet/minecraft/class_3030;field_13507:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
        named ALREADY_DEOPPED_EXCEPTION Lnet/minecraft/server/dedicated/command/DeOpCommand;ALREADY_DEOPPED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • 构造器详细资料

      • DeOpCommand

        public DeOpCommand()
    • 方法详细资料

      • register

        public static void register​(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
        Mappings:
        Namespace Name Mixin selector
        official a Lxs;a(Lcom/mojang/brigadier/CommandDispatcher;)V
        intermediary method_13143 Lnet/minecraft/class_3030;method_13143(Lcom/mojang/brigadier/CommandDispatcher;)V
        named register Lnet/minecraft/server/dedicated/command/DeOpCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
      • deop

        private static int deop​(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 Lxs;a(Ldg;Ljava/util/Collection;)I
        intermediary method_13144 Lnet/minecraft/class_3030;method_13144(Lnet/minecraft/class_2168;Ljava/util/Collection;)I
        named deop Lnet/minecraft/server/dedicated/command/DeOpCommand;deop(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;)I