From 5fd25db78d4aeafe4d15b3f87e1da1eefe96dac6 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Wed, 16 Mar 2016 19:50:51 -0400 Subject: [PATCH] Add EnderCrystal#isShowingBottom and EnderCrystal#setShowingBottom(boolean) By: Matthew --- .../java/org/bukkit/entity/EnderCrystal.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/entity/EnderCrystal.java b/paper-api/src/main/java/org/bukkit/entity/EnderCrystal.java index bac547ef63..156e2abcc0 100644 --- a/paper-api/src/main/java/org/bukkit/entity/EnderCrystal.java +++ b/paper-api/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); }