Class AbstractSkeletonMock

All Implemented Interfaces:
MessageTarget, com.destroystokyo.paper.entity.RangedEntity, net.kyori.adventure.audience.Audience, net.kyori.adventure.pointer.Pointered, net.kyori.adventure.sound.Sound.Emitter, net.kyori.adventure.text.event.HoverEventSource<net.kyori.adventure.text.event.HoverEvent.ShowEntity>, org.bukkit.attribute.Attributable, org.bukkit.command.CommandSender, org.bukkit.entity.AbstractSkeleton, 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:
SkeletonMock, StrayMock, WitherSkeletonMock

public abstract class AbstractSkeletonMock extends MonsterMock implements org.bukkit.entity.AbstractSkeleton
  • Constructor Details

    • AbstractSkeletonMock

      protected AbstractSkeletonMock(@NotNull @NotNull ServerMock server, @NotNull @NotNull UUID uuid)
  • Method Details

    • setSkeletonType

      @Deprecated public void setSkeletonType(org.bukkit.entity.Skeleton.SkeletonType type)
      Deprecated.
      Specified by:
      setSkeletonType in interface org.bukkit.entity.AbstractSkeleton
    • shouldBurnInDay

      public boolean shouldBurnInDay()
      Specified by:
      shouldBurnInDay in interface org.bukkit.entity.AbstractSkeleton
    • setShouldBurnInDay

      public void setShouldBurnInDay(boolean shouldBurnInDay)
      Specified by:
      setShouldBurnInDay in interface org.bukkit.entity.AbstractSkeleton
    • isChargingAttack

      public boolean isChargingAttack()
      Specified by:
      isChargingAttack in interface com.destroystokyo.paper.entity.RangedEntity
    • rangedAttack

      public void rangedAttack(@NotNull @NotNull org.bukkit.entity.LivingEntity target, float charge)
      Specified by:
      rangedAttack in interface com.destroystokyo.paper.entity.RangedEntity
    • setChargingAttack

      public void setChargingAttack(boolean raiseHands)
      Specified by:
      setChargingAttack in interface com.destroystokyo.paper.entity.RangedEntity
    • assertAttacked

      public void assertAttacked(org.bukkit.entity.LivingEntity entity, float charge)
      Asserts that the given entity was attacked by this Skeleton with the given charge.
      Parameters:
      entity - The LivingEntity to check.
      charge - The charge of the attack.
    • assertAgressiveAttack

      public void assertAgressiveAttack(org.bukkit.entity.LivingEntity entity, float charge)
      Asserts that the given entity was attacked by this Skeleton with the given charge and is agressive.
      Parameters:
      entity - The LivingEntity to check.
      charge - The charge of the attack.