Class Leech

java.lang.Object
io.github.addoncommunity.galactifun.api.aliens.Alien<org.bukkit.entity.Silverfish>
io.github.addoncommunity.galactifun.base.aliens.Leech

public final class Leech extends Alien<org.bukkit.entity.Silverfish>
Class for the leech, an alien of Titan. They can steal your items when attacking
  • Constructor Details

    • Leech

      public Leech(String id, String name, double maxHealth, int spawnChance)
  • Method Details

    • onAttack

      public void onAttack(@Nonnull org.bukkit.event.entity.EntityDamageByEntityEvent e)
      Overrides:
      onAttack in class Alien<org.bukkit.entity.Silverfish>
    • onDeath

      public void onDeath(@Nonnull org.bukkit.event.entity.EntityDeathEvent e)
      Overrides:
      onDeath in class Alien<org.bukkit.entity.Silverfish>