Add EnderCrystal#isShowingBottom and EnderCrystal#setShowingBottom(boolean)

This commit is contained in:
Matthew 2016-03-16 19:50:51 -04:00 committed by md_5
parent b6e6f1634a
commit 377d5bba0c

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