Interface Tameable

All Known Subinterfaces:
Cat, Parrot, Wolf

public interface Tameable
Represents an entity that is tameable.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable UUID
    Gets the unique id of the owner of the entity.
    boolean
    Gets whether the entity sits or not.
    void
    sitting(boolean sitting)
    Sets the entity into the sit mode or not.
    boolean
    Gets whether the entity is tamed or not.
  • Method Details

    • sitting

      boolean sitting()
      Gets whether the entity sits or not.
      Returns:
      true if its sits
      Since:
      1.0.0
    • sitting

      void sitting(boolean sitting)
      Sets the entity into the sit mode or not.
      Parameters:
      sitting - whether it should sit or not
      Since:
      1.0.0
    • tamed

      boolean tamed()
      Gets whether the entity is tamed or not.
      Returns:
      true if its tamed
      Since:
      1.0.0
    • owner

      @Nullable @Nullable UUID owner()
      Gets the unique id of the owner of the entity.
      Returns:
      the unique id of the owner of this entity
      Since:
      1.0.0