程序包 org.bukkit.entity

# 接口 Cat.Type

所有超级接口:
  `Comparable<Cat.Type>`, `Keyed`, `OldEnum<Cat.Type>`

封闭接口:
  Cat

public static interface Cat.Type extends OldEnum<Cat.Type>, Keyed
代表了各种猫的品种.

Represents the various different cat types there are.

- ## 字段概要

  字段
  修饰符和类型
  字段
  说明
  `static final Cat.Type`
  `ALL_BLACK`
  `static final Cat.Type`
  `BLACK`
  `static final Cat.Type`
  `BRITISH_SHORTHAIR`
  `static final Cat.Type`
  `CALICO`
  `static final Cat.Type`
  `JELLIE`
  `static final Cat.Type`
  `PERSIAN`
  `static final Cat.Type`
  `RAGDOLL`
  `static final Cat.Type`
  `RED`
  `static final Cat.Type`
  `SIAMESE`
  `static final Cat.Type`
  `TABBY`
  `static final Cat.Type`
  `WHITE`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `static @NotNull Cat.Type`
  `valueOf(@NotNull String name)`
  已过时。
  only for backwards compatibility, use `Registry.get(NamespacedKey)` instead.
  `static @NotNull Cat.Type[]`
  `values()`
  已过时。
  use `Iterable.iterator()`.

  ### 从接口继承的方法 org.bukkit.Keyed

  `getKey`

  ### 从接口继承的方法 org.bukkit.util.OldEnum

  `compareTo, name, ordinal`

- ## 字段详细资料

  - ### TABBY

    static final Cat.Type TABBY

  - ### BLACK

    static final Cat.Type BLACK

  - ### RED

    static final Cat.Type RED

  - ### SIAMESE

    static final Cat.Type SIAMESE

  - ### BRITISH_SHORTHAIR

    static final Cat.Type BRITISH_SHORTHAIR

  - ### CALICO

    static final Cat.Type CALICO

  - ### PERSIAN

    static final Cat.Type PERSIAN

  - ### RAGDOLL

    static final Cat.Type RAGDOLL

  - ### WHITE

    static final Cat.Type WHITE

  - ### JELLIE

    static final Cat.Type JELLIE

  - ### ALL_BLACK

    static final Cat.Type ALL_BLACK

- ## 方法详细资料

  - ### valueOf

    @NotNull @Deprecated(since="1.21") static @NotNull Cat.Type valueOf(@NotNull @NotNull String name)
    已过时。
    only for backwards compatibility, use `Registry.get(NamespacedKey)` instead.
    参数:
      `name` - of the cat type.
    返回:
      the cat type with the given name.

  - ### values

    @NotNull @Deprecated(since="1.21") static @NotNull Cat.Type[] values()
    已过时。
    use `Iterable.iterator()`.
    返回:
      an array of all known cat types.