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(RandomSource p_214753_, double p_214754_, double p_214755_, double p_214756_, double p_214757_)