Interface Position

All Known Implementing Classes:
DefaultPosition

public interface Position
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    int
     
    int
     
    int
     
    int
     
    int
     
    float
     
    static @NotNull Position
    position(double x, double y, double z, float yaw, float pitch, @NotNull String worldId)
     
    static @NotNull Position
    position(double x, double y, double z, @NotNull String worldId)
     
    @NotNull String
     
    double
    x()
     
    double
    y()
     
    float
    yaw()
     
    double
    z()
     
  • Method Details

    • position

      @NotNull static @NotNull Position position(double x, double y, double z, @NotNull @NotNull String worldId)
    • position

      @NotNull static @NotNull Position position(double x, double y, double z, float yaw, float pitch, @NotNull @NotNull String worldId)
    • x

      double x()
    • y

      double y()
    • z

      double z()
    • yaw

      float yaw()
    • pitch

      float pitch()
    • worldId

      @NotNull @NotNull String worldId()
    • blockX

      int blockX()
    • blockY

      int blockY()
    • blockZ

      int blockZ()
    • chunkX

      int chunkX()
    • chunkY

      int chunkY()
    • chunkZ

      int chunkZ()