Package net.minecraft.server.command
Class PublishCommand
java.lang.Object
net.minecraft.server.command.PublishCommand
- Mappings:
Namespace Name named net/minecraft/server/command/PublishCommand
intermediary net/minecraft/class_3093
official anr
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
execute
(ServerCommandSource source, int port, boolean allowCommands, @Nullable GameMode gameMode) static MutableText
getStartedText
(int port) static void
register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
Field Details
-
FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_EXCEPTION- Mappings:
Namespace Name Mixin selector named FAILED_EXCEPTION
Lnet/minecraft/server/command/PublishCommand;FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_13680
Lnet/minecraft/class_3093;field_13680:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
official a
Lanr;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
ALREADY_PUBLISHED_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ALREADY_PUBLISHED_EXCEPTION- Mappings:
Namespace Name Mixin selector named ALREADY_PUBLISHED_EXCEPTION
Lnet/minecraft/server/command/PublishCommand;ALREADY_PUBLISHED_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_13679
Lnet/minecraft/class_3093;field_13679:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
official b
Lanr;b:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
-
Constructor Details
-
PublishCommand
public PublishCommand()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector named register
Lnet/minecraft/server/command/PublishCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
intermediary method_13510
Lnet/minecraft/class_3093;method_13510(Lcom/mojang/brigadier/CommandDispatcher;)V
official a
Lanr;a(Lcom/mojang/brigadier/CommandDispatcher;)V
-
execute
private static int execute(ServerCommandSource source, int port, boolean allowCommands, @Nullable @Nullable GameMode gameMode) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named execute
Lnet/minecraft/server/command/PublishCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;IZLnet/minecraft/world/GameMode;)I
intermediary method_13509
Lnet/minecraft/class_3093;method_13509(Lnet/minecraft/class_2168;IZLnet/minecraft/class_1934;)I
official a
Lanr;a(Let;IZLdcr;)I
-
getStartedText
- Mappings:
Namespace Name Mixin selector named getStartedText
Lnet/minecraft/server/command/PublishCommand;getStartedText(I)Lnet/minecraft/text/MutableText;
intermediary method_46869
Lnet/minecraft/class_3093;method_46869(I)Lnet/minecraft/class_5250;
official a
Lanr;a(I)Lxm;
-