All Implemented Interfaces:
org.kingdoms.abstraction.Levellable, Keyed<SimpleLocation>, SmartObject, org.kingdoms.constants.group.model.logs.Loggable, org.kingdoms.data.Deserializable, org.kingdoms.data.Serializable, org.kingdoms.locale.provider.CascadingMessageContextProvider, org.kingdoms.locale.provider.MessageContextProvider

public class MineTurret extends Turret
  • Constructor Details

  • Method Details

    • spawnLingeringPotion

      public static void spawnLingeringPotion(org.bukkit.Location location, Collection<org.bukkit.potion.PotionEffect> effects)
    • activate

      public void activate(org.bukkit.entity.LivingEntity target, Kingdom kingdom)
      Description copied from class: Turret
      Called when the turret successfully damages a player. This isn't the same thing as attempted damage to for example an arrow turret, where the arrow may not even hit the target. This should be called when the arrow/entity/etc. has successfully affected the player and the player wasn't able to avoid it.
      Overrides:
      activate in class Turret
    • beeeeeeeeepbeeeeeeepbeeeeepbeeepbeepbeepbeep

      public void beeeeeeeeepbeeeeeeepbeeeeepbeeepbeepbeepbeep(com.cryptomorin.xseries.XSound.SoundPlayer sound, Runnable runnable)