Package net.minecraft.command.impl
Class SpreadPlayersCommand.Position
java.lang.Object
net.minecraft.command.impl.SpreadPlayersCommand.Position
- Enclosing class:
- SpreadPlayersCommand
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
clamp
(double p_198709_1_, double p_198709_3_, double p_198709_5_, double p_198709_7_) (package private) double
dist
(SpreadPlayersCommand.Position p_198708_1_) (package private) float
int
getSpawnY
(IBlockReader p_198710_1_, int p_198710_2_) boolean
isSafe
(IBlockReader p_241074_1_, int p_241074_2_) void
moveAway
(SpreadPlayersCommand.Position p_198705_1_) (package private) void
void
randomize
(Random p_198711_1_, double p_198711_2_, double p_198711_4_, double p_198711_6_, double p_198711_8_)
-
Field Details
-
x
private double x -
z
private double z
-
-
Constructor Details
-
Position
Position()
-
-
Method Details
-
dist
-
normalize
void normalize() -
getLength
float getLength() -
moveAway
-
clamp
public boolean clamp(double p_198709_1_, double p_198709_3_, double p_198709_5_, double p_198709_7_) -
getSpawnY
-
isSafe
-
randomize
public void randomize(Random p_198711_1_, double p_198711_2_, double p_198711_4_, double p_198711_6_, double p_198711_8_)
-