程序包 org.bukkit.entity

# 接口 Frog.Variant

所有超级接口:
  `Comparable<Frog.Variant>`, `Keyed`, `OldEnum<Frog.Variant>`

封闭接口:
  Frog

public static interface Frog.Variant extends OldEnum<Frog.Variant>, Keyed
Represents the variant of a frog - ie its color.

- ## 字段概要

  字段
  修饰符和类型
  字段
  说明
  `static final Frog.Variant`
  `COLD`
  Cold (green) frog.
  `static final Frog.Variant`
  `TEMPERATE`
  Temperate (brown-orange) frog.
  `static final Frog.Variant`
  `WARM`
  Warm (gray) frog.

- ## 方法概要

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

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

  `getKey`

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

  `compareTo, name, ordinal`

- ## 字段详细资料

  - ### TEMPERATE

    static final Frog.Variant TEMPERATE
    Temperate (brown-orange) frog.

  - ### WARM

    static final Frog.Variant WARM
    Warm (gray) frog.

  - ### COLD

    static final Frog.Variant COLD
    Cold (green) frog.

- ## 方法详细资料

  - ### valueOf

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

  - ### values

    @NotNull @Deprecated(since="1.21") static @NotNull Frog.Variant[] values()
    已过时。
    use `Iterable.iterator()`.
    返回:
      an array of all known frog variants.