From cae90a7565d5a04e3001ff36207c9311c64b5fe1 Mon Sep 17 00:00:00 2001 From: Noodleeater Date: Sat, 20 Feb 2021 18:00:08 +0000 Subject: [PATCH] Added Api to get tile MinPlane (RSClass Method was already named "getPhysicalLevel", so i have kept that name). --- runelite-api/src/main/java/net/runelite/api/Tile.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/runelite-api/src/main/java/net/runelite/api/Tile.java b/runelite-api/src/main/java/net/runelite/api/Tile.java index 46ada0f10e..625c5ffd32 100644 --- a/runelite-api/src/main/java/net/runelite/api/Tile.java +++ b/runelite-api/src/main/java/net/runelite/api/Tile.java @@ -101,6 +101,16 @@ public interface Tile extends TileObject */ int getRenderLevel(); + /** + * Get the minimum plane this tile will be rendered on. + * Example: This tile is on plane 1. The local player is on plane 0, and hide roofs option is turned on. + * If minPlane is 0, this tile will not be rendered. + * If minPlane is 1, this tile will be rendered. + * + * @return the minPlane + */ + int getPhysicalLevel(); + /** * Computes and returns whether this tile has line of sight to another. *