mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-13 03:05:52 -07:00
@@ -1,5 +1,6 @@
|
||||
package org.bukkit.entity;
|
||||
|
||||
import org.bukkit.DyeColor;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
@@ -22,6 +23,21 @@ public interface Cat extends Animals, Tameable, Sittable {
|
||||
*/
|
||||
public void setCatType(@NotNull Type type);
|
||||
|
||||
/**
|
||||
* Get the collar color of this cat
|
||||
*
|
||||
* @return the color of the collar
|
||||
*/
|
||||
@NotNull
|
||||
public DyeColor getCollarColor();
|
||||
|
||||
/**
|
||||
* Set the collar color of this cat
|
||||
*
|
||||
* @param color the color to apply
|
||||
*/
|
||||
public void setCollarColor(@NotNull DyeColor color);
|
||||
|
||||
/**
|
||||
* Represents the various different cat types there are.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user