public interface Position
Vector Util.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable String
    Gets the world name.
    double
    Gets the x coordinate.
    double
    Gets the y coordinate.
    double
    Gets the z coordinate.
    void
    setWorldName(@Nullable String world)
    Sets the world name.
    void
    setX(double x)
    Sets the x coordinate.
    void
    setY(double y)
    Sets the y coordinate.
    void
    setZ(double z)
    Sets the z coordinate.
  • Method Details

    • getX

      double getX()
      Gets the x coordinate.
      Returns:
      x.
    • getY

      double getY()
      Gets the y coordinate.
      Returns:
      y.
    • getZ

      double getZ()
      Gets the z coordinate.
      Returns:
      z.
    • getWorldName

      @Nullable @Nullable String getWorldName()
      Gets the world name.
      Returns:
      name.
    • setWorldName

      void setWorldName(@Nullable @Nullable String world)
      Sets the world name.
      Parameters:
      world - world.
    • setX

      void setX(double x)
      Sets the x coordinate.
      Parameters:
      x - coordinate.
    • setY

      void setY(double y)
      Sets the y coordinate.
      Parameters:
      y - coordinate.
    • setZ

      void setZ(double z)
      Sets the z coordinate.
      Parameters:
      z - coordinate.