Package net.minecraft.command.impl
Class SpreadPlayersCommand.Position
- java.lang.Object
-
- net.minecraft.command.impl.SpreadPlayersCommand.Position
-
- Enclosing class:
- SpreadPlayersCommand
static class SpreadPlayersCommand.Position extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Position()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
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
getLength()
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
normalize()
void
randomize(java.util.Random p_198711_1_, double p_198711_2_, double p_198711_4_, double p_198711_6_, double p_198711_8_)
-
-
-
Method Detail
-
dist
double dist(SpreadPlayersCommand.Position p_198708_1_)
-
normalize
void normalize()
-
getLength
float getLength()
-
moveAway
public void moveAway(SpreadPlayersCommand.Position p_198705_1_)
-
clamp
public boolean clamp(double p_198709_1_, double p_198709_3_, double p_198709_5_, double p_198709_7_)
-
getSpawnY
public int getSpawnY(IBlockReader p_198710_1_, int p_198710_2_)
-
isSafe
public boolean isSafe(IBlockReader p_241074_1_, int p_241074_2_)
-
randomize
public void randomize(java.util.Random p_198711_1_, double p_198711_2_, double p_198711_4_, double p_198711_6_, double p_198711_8_)
-
-