Interface LocatableEntity

    • Method Detail

      • getPosition

        @Nullable
        default @Nullable Coordinate getPosition()
        Description copied from interface: Locatable
        The exact coordinate position of this entity on the world-graph
        Specified by:
        getPosition in interface Locatable
        Returns:
        The coordinate position, or null if unavailable
      • getArea

        @Nullable
        default Area.Rectangular getArea()
        Description copied from interface: Locatable
        The coordinate area occupied on the world-graph
        Specified by:
        getArea in interface Locatable
        Returns:
        The coordinate area, or null if unavailable
      • getPosition

        @Nullable
        @Nullable Coordinate getPosition​(Coordinate regionBase)
        Gets the position using the region base as the coordinate to offset from. For optimization.
        Parameters:
        regionBase - The Coordinate base of the loaded region
      • getHighPrecisionPosition

        @Nullable
        Coordinate.HighPrecision getHighPrecisionPosition​(Coordinate regionBase)
        Gets the high precision position using the region base as the coordinate to offset from. For optimization.
        Parameters:
        regionBase - The Coordinate base of the loaded region
      • getArea

        @Nullable
        Area.Rectangular getArea​(Coordinate regionBase)
        Gets the area using the region base as the coordinate to offset from. For optimization.
        Parameters:
        regionBase - The Coordinate base of the loaded region