Class Location

java.lang.Object
org.cloudburstmc.api.level.Location

public final class Location extends Object
  • Method Details

    • from

      public static Location from(Level level)
    • from

      public static Location from(com.nukkitx.math.vector.Vector3i position, Level level)
    • from

      public static Location from(float x, float y, float z, Level level)
    • from

      public static Location from(com.nukkitx.math.vector.Vector3f position, Level level)
    • from

      public static Location from(com.nukkitx.math.vector.Vector3f position, float yaw, float pitch, Level level)
    • from

      public static Location from(float x, float y, float z, float yaw, float pitch, Level level)
    • getX

      public float getX()
    • getY

      public float getY()
    • getZ

      public float getZ()
    • getPosition

      public com.nukkitx.math.vector.Vector3f getPosition()
    • getYaw

      public float getYaw()
    • getPitch

      public float getPitch()
    • getLevel

      public Level getLevel()
    • getChunk

      public Chunk getChunk()
    • getBlock

      public BlockState getBlock()
    • add

      public Location add(double x, double y, double z)
    • add

      public Location add(float x, float y, float z)
    • getFloorX

      public int getFloorX()
    • getFloorY

      public int getFloorY()
    • getFloorZ

      public int getFloorZ()
    • getChunkX

      public int getChunkX()
    • getChunkZ

      public int getChunkZ()