Package net.minecraft.server.commands
Class SpreadPlayersCommand.Position
java.lang.Object
net.minecraft.server.commands.SpreadPlayersCommand.Position
- Enclosing class:
- SpreadPlayersCommand
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
clamp(double p_138754_, double p_138755_, double p_138756_, double p_138757_)
(package private) double
dist(SpreadPlayersCommand.Position p_138768_)
(package private) double
int
getSpawnY(BlockGetter p_138759_, int p_138760_)
boolean
isSafe(BlockGetter p_138774_, int p_138775_)
void
moveAway(SpreadPlayersCommand.Position p_138777_)
(package private) void
void
randomize(Random p_138762_, double p_138763_, double p_138764_, double p_138765_, double p_138766_)
-
Field Details
-
x
double x -
z
double z
-
-
Constructor Details
-
Position
Position()
-
-
Method Details
-
dist
-
normalize
void normalize() -
getLength
double getLength() -
moveAway
-
clamp
public boolean clamp(double p_138754_, double p_138755_, double p_138756_, double p_138757_) -
getSpawnY
-
isSafe
-
randomize
public void randomize(Random p_138762_, double p_138763_, double p_138764_, double p_138765_, double p_138766_)
-