Add More Creeper API

This commit is contained in:
BillyGalbreath
2018-08-24 11:50:16 -05:00
parent 72098bd870
commit 2c612508cb
2 changed files with 76 additions and 0 deletions

View File

@@ -112,4 +112,20 @@ public interface Creeper extends Monster {
*/
@Nullable
public Entity getIgniter();
// Paper start
/**
* Set whether creeper is ignited or not (armed to explode)
*
* @param ignited New ignited state
*/
public void setIgnited(boolean ignited);
/**
* Check if creeper is ignited or not (armed to explode)
*
* @return Ignited state
*/
public boolean isIgnited();
// Paper end
}