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 Modifier Constructor Description privatePile() -
Method Summary
Modifier and Type Method Description (package private) floatabsolute()booleanclamp(double minX, double minZ, double maxX, double maxZ)(package private) doublegetDistance(SpreadPlayersCommand.Pile other)intgetY(BlockView blockView, int int2)booleanisSafe(BlockView world, int int2)(package private) voidnormalize()voidsetPileLocation(Random random, double minX, double minZ, double maxX, double maxZ)voidsubtract(SpreadPlayersCommand.Pile other)
-
Field Details
-
x
private double x -
z
private double z
-
-
Constructor Details
-
Pile
private 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
-