static class CommandSpreadPlayers.Position
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) double |
x |
(package private) double |
z |
Constructor and Description |
---|
Position() |
Position(double xIn,
double zIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
clamp(double p_111093_1_,
double p_111093_3_,
double p_111093_5_,
double p_111093_7_) |
(package private) double |
dist(CommandSpreadPlayers.Position pos) |
(package private) float |
getLength() |
int |
getSpawnY(World worldIn) |
boolean |
isSafe(World worldIn) |
void |
moveAway(CommandSpreadPlayers.Position pos) |
(package private) void |
normalize() |
void |
randomize(java.util.Random rand,
double p_111097_2_,
double p_111097_4_,
double p_111097_6_,
double p_111097_8_) |
double dist(CommandSpreadPlayers.Position pos)
void normalize()
float getLength()
public void moveAway(CommandSpreadPlayers.Position pos)
public boolean clamp(double p_111093_1_, double p_111093_3_, double p_111093_5_, double p_111093_7_)
public int getSpawnY(World worldIn)
public boolean isSafe(World worldIn)
public void randomize(java.util.Random rand, double p_111097_2_, double p_111097_4_, double p_111097_6_, double p_111097_8_)