Add EnderCrystal#isShowingBottom and EnderCrystal#setShowingBottom(boolean)

By: Matthew <stteg@hotmail.com>
This commit is contained in:
Bukkit/Spigot 2016-03-16 19:50:51 -04:00
parent 408903f118
commit 5fd25db78d

View file

@ -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);
}