Interface DecorativeObject

  • All Superinterfaces:
    TileObject

    public interface DecorativeObject
    extends TileObject
    Represents a decorative object, such as an object on a wall.
    • Method Detail

      • getConvexHull

        Shape getConvexHull()
        Gets the convex hull of the objects model.
        Returns:
        the convex hull
        See Also:
        Jarvis
      • getConvexHull2

        Shape getConvexHull2()
      • getXOffset

        int getXOffset()
        Decorative object x offset. This is added to the x position of the object, and is used to account for walls of varying widths.
      • getYOffset

        int getYOffset()
        Decorative object y offset. This is added to the z position of the object, and is used to account for walls of varying widths.
      • getConfig

        int getConfig()
        A bitfield containing various flags:
        
         object type id = bits & 0x20
         orientation (0-3) = bits >>> 6 & 3
         supports items = bits >>> 8 & 1