Interface Sittable

All Superinterfaces:
net.kyori.adventure.audience.Audience, CommandSender, DataComponentView, Entity, net.kyori.adventure.text.event.HoverEventSource<net.kyori.adventure.text.event.HoverEvent.ShowEntity>, Metadatable, Nameable, Permissible, PersistentDataHolder, PersistentDataViewHolder, net.kyori.adventure.pointer.Pointered, ServerOperator, net.kyori.adventure.sound.Sound.Emitter
All Known Subinterfaces:
Camel, Cat, Fox, Panda, Parrot, Wolf

public interface Sittable extends Entity
An entity that can sit still.
  • Method Details

    • isSitting

      boolean isSitting()
      Checks if this entity is sitting
      Returns:
      true if sitting
    • setSitting

      void setSitting(boolean sitting)
      Sets if this entity is sitting. Will remove any path that the entity was following beforehand.
      Parameters:
      sitting - true if sitting