类 DeOpCommand
- java.lang.Object
-
- net.minecraft.server.dedicated.command.DeOpCommand
-
public class DeOpCommand extends Object
- Mappings:
Namespace Name official xsintermediary net/minecraft/class_3030named net/minecraft/server/dedicated/command/DeOpCommand
-
-
字段概要
字段 修饰符和类型 字段 说明 private static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeALREADY_DEOPPED_EXCEPTION
-
构造器概要
构造器 构造器 说明 DeOpCommand()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 private static intdeop(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets)static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
-
-
字段详细资料
-
ALREADY_DEOPPED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ALREADY_DEOPPED_EXCEPTION
- Mappings:
Namespace Name Mixin selector official aLxs;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13507Lnet/minecraft/class_3030;field_13507:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named ALREADY_DEOPPED_EXCEPTIONLnet/minecraft/server/dedicated/command/DeOpCommand;ALREADY_DEOPPED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
-
方法详细资料
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
- Mappings:
Namespace Name Mixin selector official aLxs;a(Lcom/mojang/brigadier/CommandDispatcher;)Vintermediary method_13143Lnet/minecraft/class_3030;method_13143(Lcom/mojang/brigadier/CommandDispatcher;)Vnamed registerLnet/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 aLxs;a(Ldg;Ljava/util/Collection;)Iintermediary method_13144Lnet/minecraft/class_3030;method_13144(Lnet/minecraft/class_2168;Ljava/util/Collection;)Inamed deopLnet/minecraft/server/dedicated/command/DeOpCommand;deop(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;)I
-
-