From 41440d738571dedac0bb5bb3951e78d3341b246c Mon Sep 17 00:00:00 2001 From: WooxSolo Date: Sun, 27 Jun 2021 13:40:00 -0400 Subject: [PATCH] api: add decorative object offsets Co-authored-by: Adam --- .../main/java/net/runelite/api/DecorativeObject.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/runelite-api/src/main/java/net/runelite/api/DecorativeObject.java b/runelite-api/src/main/java/net/runelite/api/DecorativeObject.java index 7dba1a3e65..ba78add470 100644 --- a/runelite-api/src/main/java/net/runelite/api/DecorativeObject.java +++ b/runelite-api/src/main/java/net/runelite/api/DecorativeObject.java @@ -42,4 +42,16 @@ public interface DecorativeObject extends TileObject Renderable getRenderable(); Renderable getRenderable2(); + + /** + * Decorative object x offset. This is added to the x position of the object, and is used to + * account for walls of varying widths. + */ + int getXOffset(); + + /** + * Decorative object y offset. This is added to the z position of the object, and is used to + * account for walls of varying widths. + */ + int getYOffset(); }