Class SpreadPlayersCommand.Position

java.lang.Object
net.minecraft.command.impl.SpreadPlayersCommand.Position
Enclosing class:
SpreadPlayersCommand

static class SpreadPlayersCommand.Position extends Object
  • Field Details

    • x

      private double x
    • z

      private double z
  • Constructor Details

    • Position

      Position()
  • Method Details

    • 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(Random p_198711_1_, double p_198711_2_, double p_198711_4_, double p_198711_6_, double p_198711_8_)