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 bj
intermediary net/minecraft/class_1141
named net/minecraft/server/command/SpreadPlayersCommand
  • Constructor Details

    • SpreadPlayersCommand

      public SpreadPlayersCommand()
  • Method Details

    • getCommandName

      public String getCommandName()
      Mappings:
      Namespace Name Mixin selector
      official c Lk;c()Ljava/lang/String;
      intermediary method_5889 Lnet/minecraft/class_1606;method_5889()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 Li;a()I
      intermediary method_5657 Lnet/minecraft/class_1545;method_5657()I
      named getPermissionLevel Lnet/minecraft/command/AbstractCommand;getPermissionLevel()I
    • getUsageTranslationKey

      public String getUsageTranslationKey​(CommandSource source)
      Mappings:
      Namespace Name Mixin selector
      official c Lk;c(Lm;)Ljava/lang/String;
      intermediary method_5890 Lnet/minecraft/class_1606;method_5890(Lnet/minecraft/class_1659;)Ljava/lang/String;
      named getUsageTranslationKey Lnet/minecraft/command/Command;getUsageTranslationKey(Lnet/minecraft/command/CommandSource;)Ljava/lang/String;
    • execute

      public void execute​(CommandSource source, String[] args) throws CommandException
      Throws:
      CommandException
      Mappings:
      Namespace Name Mixin selector
      official a Lk;a(Lm;[Ljava/lang/String;)V
      intermediary method_5885 Lnet/minecraft/class_1606;method_5885(Lnet/minecraft/class_1659;[Ljava/lang/String;)V
      named execute Lnet/minecraft/command/Command;execute(Lnet/minecraft/command/CommandSource;[Ljava/lang/String;)V
    • method_3931

      private void method_3931​(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 Lbj;a(Lm;Ljava/util/List;Lbj$a;DDLadm;Z)V
      intermediary method_3931 Lnet/minecraft/class_1141;method_3931(Lnet/minecraft/class_1659;Ljava/util/List;Lnet/minecraft/class_1141$class_1142;DDLnet/minecraft/class_99;Z)V
      named method_3931 Lnet/minecraft/server/command/SpreadPlayersCommand;method_3931(Lnet/minecraft/command/CommandSource;Ljava/util/List;Lnet/minecraft/server/command/SpreadPlayersCommand$Pile;DDLnet/minecraft/world/World;Z)V
    • method_3932

      private int method_3932​(List<Entity> list)
      Mappings:
      Namespace Name Mixin selector
      official b Lbj;b(Ljava/util/List;)I
      intermediary method_3932 Lnet/minecraft/class_1141;method_3932(Ljava/util/List;)I
      named method_3932 Lnet/minecraft/server/command/SpreadPlayersCommand;method_3932(Ljava/util/List;)I
    • method_3928

      private int method_3928​(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 Lbj;a(Lbj$a;DLadm;Ljava/util/Random;DDDD[Lbj$a;Z)I
      intermediary method_3928 Lnet/minecraft/class_1141;method_3928(Lnet/minecraft/class_1141$class_1142;DLnet/minecraft/class_99;Ljava/util/Random;DDDD[Lnet/minecraft/class_1141$class_1142;Z)I
      named method_3928 Lnet/minecraft/server/command/SpreadPlayersCommand;method_3928(Lnet/minecraft/server/command/SpreadPlayersCommand$Pile;DLnet/minecraft/world/World;Ljava/util/Random;DDDD[Lnet/minecraft/server/command/SpreadPlayersCommand$Pile;Z)I
    • method_3929

      private double method_3929​(List<Entity> list, World world, SpreadPlayersCommand.Pile[] pile, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Lbj;a(Ljava/util/List;Ladm;[Lbj$a;Z)D
      intermediary method_3929 Lnet/minecraft/class_1141;method_3929(Ljava/util/List;Lnet/minecraft/class_99;[Lnet/minecraft/class_1141$class_1142;Z)D
      named method_3929 Lnet/minecraft/server/command/SpreadPlayersCommand;method_3929(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 Lbj;a(Ljava/util/Random;IDDDD)[Lbj$a;
      intermediary method_3930 Lnet/minecraft/class_1141;method_3930(Ljava/util/Random;IDDDD)[Lnet/minecraft/class_1141$class_1142;
      named makePiles Lnet/minecraft/server/command/SpreadPlayersCommand;makePiles(Ljava/util/Random;IDDDD)[Lnet/minecraft/server/command/SpreadPlayersCommand$Pile;
    • getAutoCompleteHints

      public List<String> getAutoCompleteHints​(CommandSource source, String[] args, BlockPos pos)
      Specified by:
      getAutoCompleteHints in interface Command
      Overrides:
      getAutoCompleteHints in class AbstractCommand
      Mappings:
      Namespace Name Mixin selector
      official a Lk;a(Lm;[Ljava/lang/String;Lcj;)Ljava/util/List;
      intermediary method_5886 Lnet/minecraft/class_1606;method_5886(Lnet/minecraft/class_1659;[Ljava/lang/String;Lnet/minecraft/class_1372;)Ljava/util/List;
      named getAutoCompleteHints Lnet/minecraft/command/Command;getAutoCompleteHints(Lnet/minecraft/command/CommandSource;[Ljava/lang/String;Lnet/minecraft/util/math/BlockPos;)Ljava/util/List;