Interface Endermite

All Superinterfaces:
Attributable, CommandSender, Creature, Damageable, Entity, LivingEntity, Lootable, Metadatable, Mob, Monster, Nameable, Permissible, PersistentDataHolder, ProjectileSource, ServerOperator

public interface Endermite extends Monster
  • Method Details

    • isPlayerSpawned

      boolean isPlayerSpawned()
      Gets whether this Endermite was spawned by a player. An Endermite spawned by a player will be attacked by nearby Enderman.
      Returns:
      player spawned status
    • setPlayerSpawned

      void setPlayerSpawned(boolean playerSpawned)
      Sets whether this Endermite was spawned by a player. An Endermite spawned by a player will be attacked by nearby Enderman.
      Parameters:
      playerSpawned - player spawned status