Class SpreadPlayersCommand.Position

java.lang.Object
net.minecraft.server.commands.SpreadPlayersCommand.Position
Enclosing class:
SpreadPlayersCommand

static class SpreadPlayersCommand.Position extends Object
  • Field Details

    • x

      double x
    • z

      double z
  • Constructor Details

    • Position

      Position()
  • Method Details

    • dist

      double dist(SpreadPlayersCommand.Position p_138768_)
    • normalize

      void normalize()
    • getLength

      double getLength()
    • moveAway

      public void moveAway(SpreadPlayersCommand.Position p_138777_)
    • clamp

      public boolean clamp(double p_138754_, double p_138755_, double p_138756_, double p_138757_)
    • getSpawnY

      public int getSpawnY(BlockGetter p_138759_, int p_138760_)
    • isSafe

      public boolean isSafe(BlockGetter p_138774_, int p_138775_)
    • randomize

      public void randomize(Random p_138762_, double p_138763_, double p_138764_, double p_138765_, double p_138766_)