Interface Sittable

All Superinterfaces:
Audience, CommandSender, Entity, HoverEventSource<HoverEvent.ShowEntity>, Metadatable, Nameable, Permissible, PersistentDataHolder, PersistentDataViewHolder, Pointered, ServerOperator, 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