From c6d45a3ae2a20aabb67e1fcff6ceb4e8116920a3 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sun, 2 Jan 2011 18:31:04 -0800 Subject: [PATCH] Block.getLightLevel() By: sk89q --- paper-api/src/main/java/org/bukkit/Block.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/Block.java b/paper-api/src/main/java/org/bukkit/Block.java index 683400d7a2..6151dd2a5e 100644 --- a/paper-api/src/main/java/org/bukkit/Block.java +++ b/paper-api/src/main/java/org/bukkit/Block.java @@ -42,6 +42,13 @@ public interface Block { * @return block type-ID */ int getTypeID(); + + /** + * Gets the light level between 0-15. + * + * @return light level + */ + int getLightLevel(); /** * Gets the world which contains this Block