3f4b83c996
By: md_5 <git@md-5.net>
23 lines
579 B
Java
23 lines
579 B
Java
package org.bukkit.entity;
|
|
|
|
public interface Endermite extends Monster {
|
|
|
|
/**
|
|
* Gets whether this Endermite was spawned by a player.
|
|
*
|
|
* An Endermite spawned by a player will be attacked by nearby Enderman.
|
|
*
|
|
* @return player spawned status
|
|
*/
|
|
boolean isPlayerSpawned();
|
|
|
|
/**
|
|
* Sets whether this Endermite was spawned by a player.
|
|
*
|
|
* An Endermite spawned by a player will be attacked by nearby Enderman.
|
|
*
|
|
* @param playerSpawned player spawned status
|
|
*/
|
|
void setPlayerSpawned(boolean playerSpawned);
|
|
}
|