Class TransferCommand
java.lang.Object
net.minecraft.server.dedicated.command.TransferCommand
- Mappings:
Namespace Name named net/minecraft/server/dedicated/command/TransferCommand
intermediary net/minecraft/class_9159
official aor
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
executeTransfer
(ServerCommandSource source, String host, int port, Collection<ServerPlayerEntity> players) static void
register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
Field Details
-
NO_PLAYERS_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType NO_PLAYERS_EXCEPTION- Mappings:
Namespace Name Mixin selector named NO_PLAYERS_EXCEPTION
Lnet/minecraft/server/dedicated/command/TransferCommand;NO_PLAYERS_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_48710
Lnet/minecraft/class_9159;field_48710:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
official a
Laor;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
-
Constructor Details
-
TransferCommand
public TransferCommand()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector named register
Lnet/minecraft/server/dedicated/command/TransferCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
intermediary method_56522
Lnet/minecraft/class_9159;method_56522(Lcom/mojang/brigadier/CommandDispatcher;)V
official a
Laor;a(Lcom/mojang/brigadier/CommandDispatcher;)V
-
executeTransfer
private static int executeTransfer(ServerCommandSource source, String host, int port, Collection<ServerPlayerEntity> players) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named executeTransfer
Lnet/minecraft/server/dedicated/command/TransferCommand;executeTransfer(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;ILjava/util/Collection;)I
intermediary method_56525
Lnet/minecraft/class_9159;method_56525(Lnet/minecraft/class_2168;Ljava/lang/String;ILjava/util/Collection;)I
official a
Laor;a(Leq;Ljava/lang/String;ILjava/util/Collection;)I
-