summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/bukkit/entity/EnderCrystal.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/entity/EnderCrystal.java b/src/main/java/org/bukkit/entity/EnderCrystal.java
index bac547ef..156e2abc 100644
--- a/src/main/java/org/bukkit/entity/EnderCrystal.java
+++ b/src/main/java/org/bukkit/entity/EnderCrystal.java
@@ -4,4 +4,20 @@ package org.bukkit.entity;
* A crystal that heals nearby EnderDragons
*/
public interface EnderCrystal extends Entity {
+
+ /**
+ * Return whether or not this end crystal is showing the
+ * bedrock slate underneath it.
+ *
+ * @return true if the bottom is being shown
+ */
+ boolean isShowingBottom();
+
+ /**
+ * Sets whether or not this end crystal is showing the
+ * bedrock slate underneath it.
+ *
+ * @param showing whether the bedrock slate should be shown
+ */
+ void setShowingBottom(boolean showing);
}