Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.entity.Skeleton.SkeletonType Enum Reference

Public Member Functions

int getId ()
 

Static Public Member Functions

 [static initializer]
 
static SkeletonType getType (int id)
 

Public Attributes

 NORMAL =(0)
 
 WITHER =(1)
 

Detailed Description

Definition at line 25 of file Skeleton.java.

Member Function Documentation

int org.bukkit.entity.Skeleton.SkeletonType.getId ( )

Gets the ID of this skeleton type.

Returns
Skeleton type ID
Deprecated:
Magic value

Definition at line 49 of file Skeleton.java.

49  {
50  return id;
51  }
static SkeletonType org.bukkit.entity.Skeleton.SkeletonType.getType ( int  id)
static

Gets a skeleton type by its ID.

Parameters
idID of the skeleton type to get.
Returns
Resulting skeleton type, or null if not found.
Deprecated:
Magic value

Definition at line 61 of file Skeleton.java.

61  {
62  return (id >= types.length) ? null : types[id];
63  }

The documentation for this enum was generated from the following file: