Package net.minecraft.server.command
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 bjintermediary net/minecraft/class_1141named net/minecraft/server/command/SpreadPlayersCommand
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classSpreadPlayersCommand.PileNested classes/interfaces inherited from class net.minecraft.command.AbstractCommand
AbstractCommand.Coordinate -
Constructor Summary
Constructors Constructor Description SpreadPlayersCommand() -
Method Summary
Modifier and Type Method Description voidexecute(CommandSource source, String[] args)List<String>getAutoCompleteHints(CommandSource source, String[] args, BlockPos pos)StringgetCommandName()intgetPermissionLevel()StringgetUsageTranslationKey(CommandSource source)private SpreadPlayersCommand.Pile[]makePiles(Random count, int minX, double double2, double double3, double double4, double double5)private intmethod_3928(SpreadPlayersCommand.Pile pile, double double2, World world, Random random, double double3, double double4, double double5, double double6, SpreadPlayersCommand.Pile[] pile2, boolean bool)private doublemethod_3929(List<Entity> list, World world, SpreadPlayersCommand.Pile[] pile, boolean bool)private voidmethod_3931(CommandSource commandSource, List<Entity> list, SpreadPlayersCommand.Pile pile, double double2, double double3, World world, boolean bool)private intmethod_3932(List<Entity> list)Methods inherited from class net.minecraft.command.AbstractCommand
compareTo, concat, concat, concat, getAliases, getAsPlayer, getBlock, getBlockPos, getCoordinate, getCoordinate, getEntities, getEntity, getEntity, getItem, getPlayer, isAccessible, isUsernameAtIndex, method_5667, method_5675, method_5678, method_5679, method_5680, method_5681, method_5687, method_5688, method_5692, method_5693, parseBoolean, parseClampedDouble, parseClampedDouble, parseClampedInt, parseClampedInt, parseClampedLong, parseDouble, parseDouble, parseDouble, parseInt, parseLong, run, run, setCommandProvider
-
Constructor Details
-
SpreadPlayersCommand
public SpreadPlayersCommand()
-
-
Method Details
-
getCommandName
- Mappings:
Namespace Name Mixin selector official cLk;c()Ljava/lang/String;intermediary method_5889Lnet/minecraft/class_1606;method_5889()Ljava/lang/String;named getCommandNameLnet/minecraft/command/Command;getCommandName()Ljava/lang/String;
-
getPermissionLevel
public int getPermissionLevel()- Overrides:
getPermissionLevelin classAbstractCommand- Mappings:
Namespace Name Mixin selector official aLi;a()Iintermediary method_5657Lnet/minecraft/class_1545;method_5657()Inamed getPermissionLevelLnet/minecraft/command/AbstractCommand;getPermissionLevel()I
-
getUsageTranslationKey
- Mappings:
Namespace Name Mixin selector official cLk;c(Lm;)Ljava/lang/String;intermediary method_5890Lnet/minecraft/class_1606;method_5890(Lnet/minecraft/class_1659;)Ljava/lang/String;named getUsageTranslationKeyLnet/minecraft/command/Command;getUsageTranslationKey(Lnet/minecraft/command/CommandSource;)Ljava/lang/String;
-
execute
- Throws:
CommandException- Mappings:
Namespace Name Mixin selector official aLk;a(Lm;[Ljava/lang/String;)Vintermediary method_5885Lnet/minecraft/class_1606;method_5885(Lnet/minecraft/class_1659;[Ljava/lang/String;)Vnamed executeLnet/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 aLbj;a(Lm;Ljava/util/List;Lbj$a;DDLadm;Z)Vintermediary method_3931Lnet/minecraft/class_1141;method_3931(Lnet/minecraft/class_1659;Ljava/util/List;Lnet/minecraft/class_1141$class_1142;DDLnet/minecraft/class_99;Z)Vnamed method_3931Lnet/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
- Mappings:
Namespace Name Mixin selector official bLbj;b(Ljava/util/List;)Iintermediary method_3932Lnet/minecraft/class_1141;method_3932(Ljava/util/List;)Inamed method_3932Lnet/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 aLbj;a(Lbj$a;DLadm;Ljava/util/Random;DDDD[Lbj$a;Z)Iintermediary method_3928Lnet/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)Inamed method_3928Lnet/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 aLbj;a(Ljava/util/List;Ladm;[Lbj$a;Z)Dintermediary method_3929Lnet/minecraft/class_1141;method_3929(Ljava/util/List;Lnet/minecraft/class_99;[Lnet/minecraft/class_1141$class_1142;Z)Dnamed method_3929Lnet/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 aLbj;a(Ljava/util/Random;IDDDD)[Lbj$a;intermediary method_3930Lnet/minecraft/class_1141;method_3930(Ljava/util/Random;IDDDD)[Lnet/minecraft/class_1141$class_1142;named makePilesLnet/minecraft/server/command/SpreadPlayersCommand;makePiles(Ljava/util/Random;IDDDD)[Lnet/minecraft/server/command/SpreadPlayersCommand$Pile;
-
getAutoCompleteHints
- Specified by:
getAutoCompleteHintsin interfaceCommand- Overrides:
getAutoCompleteHintsin classAbstractCommand- Mappings:
Namespace Name Mixin selector official aLk;a(Lm;[Ljava/lang/String;Lcj;)Ljava/util/List;intermediary method_5886Lnet/minecraft/class_1606;method_5886(Lnet/minecraft/class_1659;[Ljava/lang/String;Lnet/minecraft/class_1372;)Ljava/util/List;named getAutoCompleteHintsLnet/minecraft/command/Command;getAutoCompleteHints(Lnet/minecraft/command/CommandSource;[Ljava/lang/String;Lnet/minecraft/util/math/BlockPos;)Ljava/util/List;
-