Class TransferCommand

java.lang.Object
net.minecraft.server.dedicated.command.TransferCommand

public class TransferCommand extends Object
Mappings:
Namespace Name
named net/minecraft/server/dedicated/command/TransferCommand
intermediary net/minecraft/class_9159
official aqk
  • 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 Laqk;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
  • Constructor Details

    • TransferCommand

      public TransferCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
      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 Laqk;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 Laqk;a(Lew;Ljava/lang/String;ILjava/util/Collection;)I