Interface AbstractSkeleton

All Superinterfaces:
Attributable, net.kyori.adventure.audience.Audience, CommandSender, Creature, Damageable, Entity, net.kyori.adventure.text.event.HoverEventSource<net.kyori.adventure.text.event.HoverEvent.ShowEntity>, LivingEntity, Lootable, Metadatable, Mob, Monster, Nameable, Permissible, PersistentDataHolder, net.kyori.adventure.pointer.Pointered, ProjectileSource, ServerOperator
All Known Subinterfaces:
Skeleton, Stray, WitherSkeleton

public interface AbstractSkeleton extends Monster
This interface defines or represents the abstract concept of skeleton-like entities on the server. The interface is hence not a direct representation of an entity but rather serves as a parent to interfaces/entity types like Skeleton, WitherSkeleton or Stray. To compute what specific type of skeleton is present in a variable/field of this type, instanceOf checks against the specific subtypes listed prior are recommended.