Package net.minecraft.server.command
Class PublishCommand
java.lang.Object
net.minecraft.server.command.PublishCommand
- Mappings:
Namespace Name official akf
intermediary net/minecraft/class_3093
named net/minecraft/server/command/PublishCommand
-
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 official a
Lakf;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_13680
Lnet/minecraft/class_3093;field_13680:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
named FAILED_EXCEPTION
Lnet/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 b
Lakf;b:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_13679
Lnet/minecraft/class_3093;field_13679:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
named ALREADY_PUBLISHED_EXCEPTION
Lnet/minecraft/server/command/PublishCommand;ALREADY_PUBLISHED_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
-
Constructor Details
-
PublishCommand
public PublishCommand()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector official a
Lakf;a(Lcom/mojang/brigadier/CommandDispatcher;)V
intermediary method_13510
Lnet/minecraft/class_3093;method_13510(Lcom/mojang/brigadier/CommandDispatcher;)V
named register
Lnet/minecraft/server/command/PublishCommand;register(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 official a
Lakf;a(Lds;IZLctm;)I
intermediary method_13509
Lnet/minecraft/class_3093;method_13509(Lnet/minecraft/class_2168;IZLnet/minecraft/class_1934;)I
named execute
Lnet/minecraft/server/command/PublishCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;IZLnet/minecraft/world/GameMode;)I
-
getStartedText
- Mappings:
Namespace Name Mixin selector official a
Lakf;a(I)Lvt;
intermediary method_46869
Lnet/minecraft/class_3093;method_46869(I)Lnet/minecraft/class_5250;
named getStartedText
Lnet/minecraft/server/command/PublishCommand;getStartedText(I)Lnet/minecraft/text/MutableText;
-