Class GlowMonster

All Implemented Interfaces:
net.kyori.adventure.audience.Audience, net.kyori.adventure.text.event.HoverEventSource<net.kyori.adventure.text.event.HoverEvent.ShowEntity>, org.bukkit.attribute.Attributable, org.bukkit.command.CommandSender, org.bukkit.entity.Creature, org.bukkit.entity.Damageable, org.bukkit.entity.Entity, org.bukkit.entity.LivingEntity, org.bukkit.entity.Mob, org.bukkit.entity.Monster, org.bukkit.loot.Lootable, org.bukkit.metadata.Metadatable, org.bukkit.Nameable, org.bukkit.permissions.Permissible, org.bukkit.permissions.ServerOperator, org.bukkit.persistence.PersistentDataHolder, org.bukkit.projectiles.ProjectileSource
Direct Known Subclasses:
GlowBlaze, GlowBoss, GlowCaveSpider, GlowCreeper, GlowEnderman, GlowEndermite, GlowGhast, GlowGiant, GlowGuardian, GlowIronGolem, GlowRaider, GlowShulker, GlowSilverfish, GlowSkeleton, GlowSlime, GlowSnowman, GlowSpider, GlowVex, GlowZombie

public class GlowMonster extends GlowCreature implements org.bukkit.entity.Monster
  • Constructor Details

    • GlowMonster

      public GlowMonster(org.bukkit.Location loc, org.bukkit.entity.EntityType type, double maxHealth)
      Creates a new non-passive mob.
      Parameters:
      loc - The location of the non-passive mob.
      type - The type of mob.
      maxHealth - The max health for this mob.
  • Method Details

    • canDespawnImmediately

      public boolean canDespawnImmediately()
      Whether the hostile mob can despawn immediately.
      Returns:
      true if the mob can despawn immediately, false otherwise
    • pulse

      public void pulse()
      Description copied from class: GlowEntity
      Called every game cycle. Subclasses should implement this to implement periodic functionality e.g. mob AI.
      Overrides:
      pulse in class GlowLivingEntity