Class SpreadPlayersCommand.Pile

java.lang.Object
net.minecraft.server.command.SpreadPlayersCommand.Pile
Enclosing class:
SpreadPlayersCommand

static class SpreadPlayersCommand.Pile
extends Object
  • Field Details

    • x

      private double x
    • z

      private double z
  • Constructor Details

    • Pile

      Pile()
  • Method Details

    • getDistance

      double getDistance​(SpreadPlayersCommand.Pile other)
    • normalize

      void normalize()
    • absolute

      float absolute()
    • subtract

      public void subtract​(SpreadPlayersCommand.Pile other)
    • clamp

      public boolean clamp​(double minX, double minZ, double maxX, double maxZ)
    • getY

      public int getY​(BlockView blockView, int int2)
    • isSafe

      public boolean isSafe​(BlockView world, int int2)
    • setPileLocation

      public void setPileLocation​(Random random, double minX, double minZ, double maxX, double maxZ)