类 PublishCommand
- java.lang.Object
-
- net.minecraft.server.command.PublishCommand
-
public class PublishCommand extends Object
- Mappings:
Namespace Name official yxintermediary net/minecraft/class_3093named net/minecraft/server/command/PublishCommand
-
-
字段概要
字段 修饰符和类型 字段 说明 private static com.mojang.brigadier.exceptions.DynamicCommandExceptionTypeALREADY_PUBLISHED_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeFAILED_EXCEPTION
-
构造器概要
构造器 构造器 说明 PublishCommand()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 private static intexecute(ServerCommandSource source, int port)static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
-
-
字段详细资料
-
FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_EXCEPTION
- Mappings:
Namespace Name Mixin selector official aLyx;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13680Lnet/minecraft/class_3093;field_13680:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named FAILED_EXCEPTIONLnet/minecraft/server/command/PublishCommand;FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
ALREADY_PUBLISHED_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ALREADY_PUBLISHED_EXCEPTION
- Mappings:
Namespace Name Mixin selector official bLyx;b:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;intermediary field_13679Lnet/minecraft/class_3093;field_13679:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;named ALREADY_PUBLISHED_EXCEPTIONLnet/minecraft/server/command/PublishCommand;ALREADY_PUBLISHED_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
-
方法详细资料
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
- Mappings:
Namespace Name Mixin selector official aLyx;a(Lcom/mojang/brigadier/CommandDispatcher;)Vintermediary method_13510Lnet/minecraft/class_3093;method_13510(Lcom/mojang/brigadier/CommandDispatcher;)Vnamed registerLnet/minecraft/server/command/PublishCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
-
execute
private static int execute(ServerCommandSource source, int port) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLyx;a(Ldg;I)Iintermediary method_13509Lnet/minecraft/class_3093;method_13509(Lnet/minecraft/class_2168;I)Inamed executeLnet/minecraft/server/command/PublishCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;I)I
-
-