Interface ComplexLiving<T extends ComplexLivingPart<T>>

All Superinterfaces:
Attackable, AttributeHolder, CopyableDataHolder, DataHolder, DataHolder.Mutable, DataSerializable, Entity, EntityProjectileSource, HoverEventSource<HoverEvent.ShowEntity>, Identifiable, Living, Locatable, ProjectileSource, RandomProvider, SerializableDataHolder, SerializableDataHolder.Mutable, Sound.Emitter, TeamMember, ValueContainer
All Known Subinterfaces:
EnderDragon

public interface ComplexLiving<T extends ComplexLivingPart<T>> extends Living
Represents a complex living entity that requires multiple bounding boxes, example: EnderDragon.
  • Method Details

    • parts

      Set<T> parts()
      Gets the set of parts belonging to this complex entity.
      Returns:
      The parts belonging to this entity