mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 04:05:50 -07:00
@@ -1,5 +1,6 @@
|
|||||||
package org.bukkit.entity;
|
package org.bukkit.entity;
|
||||||
|
|
||||||
|
import org.bukkit.DyeColor;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -22,6 +23,21 @@ public interface Cat extends Animals, Tameable, Sittable {
|
|||||||
*/
|
*/
|
||||||
public void setCatType(@NotNull Type type);
|
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.
|
* Represents the various different cat types there are.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user