Interface Frog.Variant

All Superinterfaces:
Comparable<Frog.Variant>, Keyed, Keyed, OldEnum<Frog.Variant>
Enclosing interface:
Frog

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

  • Method Details

    • valueOf

      @NotNull @Deprecated(since="1.21", forRemoval=true) @ScheduledForRemoval(inVersion="1.22") static @NotNull Frog.Variant valueOf(@NotNull @NotNull String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      only for backwards compatibility, use Registry.get(NamespacedKey) instead.
      Parameters:
      name - of the frog variant.
      Returns:
      the frog variant with the given name.
    • values

      @NotNull @Deprecated(since="1.21", forRemoval=true) @ScheduledForRemoval(inVersion="1.22") static @NotNull Frog.Variant[] values()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns:
      an array of all known frog variants.