Class SpreadPlayersCommand

java.lang.Object
net.minecraft.command.AbstractCommand
net.minecraft.server.command.SpreadPlayersCommand
All Implemented Interfaces:
Comparable<Command>, Command

public class SpreadPlayersCommand extends AbstractCommand
Mappings:
Namespace Name
official dn
intermediary net/minecraft/class_1597
named net/minecraft/server/command/SpreadPlayersCommand
  • Constructor Details

    • SpreadPlayersCommand

      public SpreadPlayersCommand()
  • Method Details

    • getCommandName

      public String getCommandName()
      Mappings:
      Namespace Name Mixin selector
      official c Lbk;c()Ljava/lang/String;
      intermediary method_3277 Lnet/minecraft/class_1007;method_3277()Ljava/lang/String;
      named getCommandName Lnet/minecraft/command/Command;getCommandName()Ljava/lang/String;
    • getPermissionLevel

      public int getPermissionLevel()
      Overrides:
      getPermissionLevel in class AbstractCommand
      Mappings:
      Namespace Name Mixin selector
      official a Lbi;a()I
      intermediary method_4634 Lnet/minecraft/class_955;method_4634()I
      named getPermissionLevel Lnet/minecraft/command/AbstractCommand;getPermissionLevel()I
    • getUsageTranslationKey

      public String getUsageTranslationKey(CommandSource source)
      Mappings:
      Namespace Name Mixin selector
      official b Lbk;b(Lbn;)Ljava/lang/String;
      intermediary method_3275 Lnet/minecraft/class_1007;method_3275(Lnet/minecraft/class_1061;)Ljava/lang/String;
      named getUsageTranslationKey Lnet/minecraft/command/Command;getUsageTranslationKey(Lnet/minecraft/command/CommandSource;)Ljava/lang/String;
    • method_3279

      public void method_3279(MinecraftServer minecraftServer, CommandSource commandSource, String[] string) throws CommandException
      Throws:
      CommandException
      Mappings:
      Namespace Name Mixin selector
      official a Lbk;a(Lnet/minecraft/server/MinecraftServer;Lbn;[Ljava/lang/String;)V
      intermediary method_3279 Lnet/minecraft/class_1007;method_3279(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_1061;[Ljava/lang/String;)V
      named method_3279 Lnet/minecraft/command/Command;method_3279(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/command/CommandSource;[Ljava/lang/String;)V
    • method_5549

      private void method_5549(CommandSource commandSource, List<Entity> list, SpreadPlayersCommand.Pile pile, double double2, double double3, World world, boolean bool) throws CommandException
      Throws:
      CommandException
      Mappings:
      Namespace Name Mixin selector
      official a Ldn;a(Lbn;Ljava/util/List;Ldn$a;DDLamu;Z)V
      intermediary method_5549 Lnet/minecraft/class_1597;method_5549(Lnet/minecraft/class_1061;Ljava/util/List;Lnet/minecraft/class_1597$class_1598;DDLnet/minecraft/class_1150;Z)V
      named method_5549 Lnet/minecraft/server/command/SpreadPlayersCommand;method_5549(Lnet/minecraft/command/CommandSource;Ljava/util/List;Lnet/minecraft/server/command/SpreadPlayersCommand$Pile;DDLnet/minecraft/world/World;Z)V
    • method_5551

      private int method_5551(List<Entity> list)
      Mappings:
      Namespace Name Mixin selector
      official b Ldn;b(Ljava/util/List;)I
      intermediary method_5551 Lnet/minecraft/class_1597;method_5551(Ljava/util/List;)I
      named method_5551 Lnet/minecraft/server/command/SpreadPlayersCommand;method_5551(Ljava/util/List;)I
    • method_5550

      private int method_5550(SpreadPlayersCommand.Pile pile, double double2, World world, Random random, double double3, double double4, double double5, double double6, SpreadPlayersCommand.Pile[] pile2, boolean bool) throws CommandException
      Throws:
      CommandException
      Mappings:
      Namespace Name Mixin selector
      official a Ldn;a(Ldn$a;DLamu;Ljava/util/Random;DDDD[Ldn$a;Z)I
      intermediary method_5550 Lnet/minecraft/class_1597;method_5550(Lnet/minecraft/class_1597$class_1598;DLnet/minecraft/class_1150;Ljava/util/Random;DDDD[Lnet/minecraft/class_1597$class_1598;Z)I
      named method_5550 Lnet/minecraft/server/command/SpreadPlayersCommand;method_5550(Lnet/minecraft/server/command/SpreadPlayersCommand$Pile;DLnet/minecraft/world/World;Ljava/util/Random;DDDD[Lnet/minecraft/server/command/SpreadPlayersCommand$Pile;Z)I
    • method_5552

      private double method_5552(List<Entity> list, World world, SpreadPlayersCommand.Pile[] pile, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Ldn;a(Ljava/util/List;Lamu;[Ldn$a;Z)D
      intermediary method_5552 Lnet/minecraft/class_1597;method_5552(Ljava/util/List;Lnet/minecraft/class_1150;[Lnet/minecraft/class_1597$class_1598;Z)D
      named method_5552 Lnet/minecraft/server/command/SpreadPlayersCommand;method_5552(Ljava/util/List;Lnet/minecraft/world/World;[Lnet/minecraft/server/command/SpreadPlayersCommand$Pile;Z)D
    • makePiles

      private SpreadPlayersCommand.Pile[] makePiles(Random count, int minX, double double2, double double3, double double4, double double5)
      Mappings:
      Namespace Name Mixin selector
      official a Ldn;a(Ljava/util/Random;IDDDD)[Ldn$a;
      intermediary method_5553 Lnet/minecraft/class_1597;method_5553(Ljava/util/Random;IDDDD)[Lnet/minecraft/class_1597$class_1598;
      named makePiles Lnet/minecraft/server/command/SpreadPlayersCommand;makePiles(Ljava/util/Random;IDDDD)[Lnet/minecraft/server/command/SpreadPlayersCommand$Pile;
    • method_10738

      public List<String> method_10738(MinecraftServer server, CommandSource source, String[] string, @Nullable BlockPos pos)
      Specified by:
      method_10738 in interface Command
      Overrides:
      method_10738 in class AbstractCommand
      Mappings:
      Namespace Name Mixin selector
      official a Lbk;a(Lnet/minecraft/server/MinecraftServer;Lbn;[Ljava/lang/String;Let;)Ljava/util/List;
      intermediary method_10738 Lnet/minecraft/class_1007;method_10738(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_1061;[Ljava/lang/String;Lnet/minecraft/class_2552;)Ljava/util/List;
      named method_10738 Lnet/minecraft/command/Command;method_10738(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/command/CommandSource;[Ljava/lang/String;Lnet/minecraft/util/math/BlockPos;)Ljava/util/List;