Package net.minecraft.server.command
Class SpreadPlayersCommand.Pile
java.lang.Object
net.minecraft.server.command.SpreadPlayersCommand.Pile
- Enclosing class:
- SpreadPlayersCommand
static class SpreadPlayersCommand.Pile extends Object
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Pile()
-
Method Summary
Modifier and Type Method Description (package private) float
absolute()
boolean
clamp(double minX, double minZ, double maxX, double maxZ)
(package private) double
getDistance(SpreadPlayersCommand.Pile other)
int
getY(BlockView blockView, int int2)
boolean
isSafe(BlockView world, int int2)
(package private) void
normalize()
void
setPileLocation(Random random, double minX, double minZ, double maxX, double maxZ)
void
subtract(SpreadPlayersCommand.Pile other)
-
Field Details
-
x
private double x -
z
private double z
-
-
Constructor Details
-
Pile
Pile()
-
-
Method Details
-
getDistance
-
normalize
void normalize() -
absolute
float absolute() -
subtract
-
clamp
public boolean clamp(double minX, double minZ, double maxX, double maxZ) -
getY
-
isSafe
-
setPileLocation
-