public class CommandSpreadPlayers extends CommandBase
Modifier and Type | Class and Description |
---|---|
(package private) static class |
CommandSpreadPlayers.Position |
CommandBase.CoordinateArg
Constructor and Description |
---|
CommandSpreadPlayers() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
addTabCompletionOptions(ICommandSender sender,
java.lang.String[] args,
BlockPos pos) |
private int |
func_110667_a(java.util.List<Entity> p_110667_1_) |
private int |
func_110668_a(CommandSpreadPlayers.Position p_110668_1_,
double p_110668_2_,
World worldIn,
java.util.Random p_110668_5_,
double p_110668_6_,
double p_110668_8_,
double p_110668_10_,
double p_110668_12_,
CommandSpreadPlayers.Position[] p_110668_14_,
boolean p_110668_15_) |
private void |
func_110669_a(ICommandSender p_110669_1_,
java.util.List<Entity> p_110669_2_,
CommandSpreadPlayers.Position p_110669_3_,
double p_110669_4_,
double p_110669_6_,
World worldIn,
boolean p_110669_9_) |
private CommandSpreadPlayers.Position[] |
func_110670_a(java.util.Random p_110670_1_,
int p_110670_2_,
double p_110670_3_,
double p_110670_5_,
double p_110670_7_,
double p_110670_9_) |
private double |
func_110671_a(java.util.List<Entity> p_110671_1_,
World worldIn,
CommandSpreadPlayers.Position[] p_110671_3_,
boolean p_110671_4_) |
java.lang.String |
getCommandName()
Gets the name of the command
|
java.lang.String |
getCommandUsage(ICommandSender sender)
Gets the usage string for the command.
|
int |
getRequiredPermissionLevel()
Return the required permission level for this command.
|
void |
processCommand(ICommandSender sender,
java.lang.String[] args)
Callback when the command is invoked
|
buildString, canCommandSenderUseCommand, compareTo, doesStringStartWith, func_175763_c, func_175768_b, func_175771_a, func_181043_b, getBlockByText, getChatComponentFromNthArg, getChatComponentFromNthArg, getCommandAliases, getCommandSenderAsPlayer, getEntity, getEntityName, getItemByText, getListOfStringsMatchingLastWord, getListOfStringsMatchingLastWord, getPlayer, getPlayerName, isUsernameIndex, join, joinNiceString, joinNiceStringFromCollection, notifyOperators, notifyOperators, parseBlockPos, parseBoolean, parseCoordinate, parseCoordinate, parseDouble, parseDouble, parseDouble, parseDouble, parseDouble, parseInt, parseInt, parseInt, parseLong, parseLong, setAdminCommander
public java.lang.String getCommandName()
public int getRequiredPermissionLevel()
getRequiredPermissionLevel
in class CommandBase
public java.lang.String getCommandUsage(ICommandSender sender)
public void processCommand(ICommandSender sender, java.lang.String[] args) throws CommandException
CommandException
private void func_110669_a(ICommandSender p_110669_1_, java.util.List<Entity> p_110669_2_, CommandSpreadPlayers.Position p_110669_3_, double p_110669_4_, double p_110669_6_, World worldIn, boolean p_110669_9_) throws CommandException
CommandException
private int func_110667_a(java.util.List<Entity> p_110667_1_)
private int func_110668_a(CommandSpreadPlayers.Position p_110668_1_, double p_110668_2_, World worldIn, java.util.Random p_110668_5_, double p_110668_6_, double p_110668_8_, double p_110668_10_, double p_110668_12_, CommandSpreadPlayers.Position[] p_110668_14_, boolean p_110668_15_) throws CommandException
CommandException
private double func_110671_a(java.util.List<Entity> p_110671_1_, World worldIn, CommandSpreadPlayers.Position[] p_110671_3_, boolean p_110671_4_)
private CommandSpreadPlayers.Position[] func_110670_a(java.util.Random p_110670_1_, int p_110670_2_, double p_110670_3_, double p_110670_5_, double p_110670_7_, double p_110670_9_)
public java.util.List<java.lang.String> addTabCompletionOptions(ICommandSender sender, java.lang.String[] args, BlockPos pos)
addTabCompletionOptions
in interface ICommand
addTabCompletionOptions
in class CommandBase