Interface CollarColorable

All Superinterfaces:
Attributable, Audience, CommandSender, Damageable, Entity, HoverEventSource<HoverEvent.ShowEntity>, LivingEntity, Metadatable, Nameable, Permissible, PersistentDataHolder, Pointered, ProjectileSource, ServerOperator, Sound.Emitter
All Known Subinterfaces:
Cat, Wolf

public interface CollarColorable extends LivingEntity
Entities that can have their collars colored.
  • Method Details

    • getCollarColor

      @NotNull @NotNull DyeColor getCollarColor()
      Get the collar color of this entity
      Returns:
      the color of the collar
    • setCollarColor

      void setCollarColor(@NotNull @NotNull DyeColor color)
      Set the collar color of this entity
      Parameters:
      color - the color to apply