Class PositionImpl

java.lang.Object
net.minecraft.util.math.PositionImpl
All Implemented Interfaces:
Position

public class PositionImpl
extends Object
implements Position
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected double x  
    protected double y  
    protected double z  
  • Constructor Summary

    Constructors
    Constructor Description
    PositionImpl​(double x, double y, double z)  
  • Method Summary

    Modifier and Type Method Description
    double getX()  
    double getY()  
    double getZ()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • x

      protected final double x
    • y

      protected final double y
    • z

      protected final double z
  • Constructor Details

    • PositionImpl

      public PositionImpl​(double x, double y, double z)
  • Method Details

    • getX

      public double getX()
      Specified by:
      getX in interface Position
    • getY

      public double getY()
      Specified by:
      getY in interface Position
    • getZ

      public double getZ()
      Specified by:
      getZ in interface Position