Type

public enum Type

Represents the various types getClassById Rabbit might be.

Entries

Link copied to clipboard

Chocolate colored rabbit.

Link copied to clipboard

Pure white rabbit.

Link copied to clipboard

Black rabbit.

Link copied to clipboard

Black with white patches, or white with black patches?

Link copied to clipboard

Golden bunny.

Link copied to clipboard

Salt and pepper colored, whatever that means.

Link copied to clipboard

Rabbit with pure white fur, blood red horizontal eyes, and is hostile to players.

Functions

Link copied to clipboard
public static Rabbit.Type valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
public static Array<Rabbit.Type> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.