Package org.bukkit.entity
Interface Frog.Variant
- All Superinterfaces:
Comparable<Frog.Variant>
,Keyed
,OldEnum<Frog.Variant>
- Enclosing interface:
Frog
Represents the variant of a frog - ie its color.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Frog.Variant
Cold (green) frog.static final Frog.Variant
Temperate (brown-orange) frog.static final Frog.Variant
Warm (gray) frog. -
Method Summary
Modifier and TypeMethodDescriptionstatic Frog.Variant
Deprecated.static Frog.Variant[]
values()
Deprecated.useIterable.iterator()
.
-
Field Details
-
TEMPERATE
Temperate (brown-orange) frog. -
WARM
Warm (gray) frog. -
COLD
Cold (green) frog.
-
-
Method Details
-
valueOf
Deprecated.only for backwards compatibility, useRegistry.get(NamespacedKey)
instead.- Parameters:
name
- of the frog variant.- Returns:
- the frog variant with the given name.
-
values
Deprecated.useIterable.iterator()
.- Returns:
- an array of all known frog variants.
-
Registry.get(NamespacedKey)
instead.