mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 04:05:50 -07:00
@@ -1,4 +1,22 @@
|
||||
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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user