| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<TreeType>
org.bukkit.TreeType
public enum TreeType
Tree and organic structure types.
| Enum Constant Summary | |
|---|---|
| BIG_TREERegular tree, extra tall with branches | |
| BIRCHBirch tree | |
| BROWN_MUSHROOMBig brown mushroom; tall and umbrella-like | |
| JUNGLEStandard jungle tree; 4 blocks wide and tall | |
| JUNGLE_BUSHSmall bush that grows in the jungle | |
| RED_MUSHROOMBig red mushroom; short and fat | |
| REDWOODRedwood tree, shaped like a pine tree | |
| SMALL_JUNGLESmaller jungle tree; 1 block wide | |
| SWAMPSwamp tree (regular with vines on the side) | |
| TALL_REDWOODTall redwood tree with just a few leaves at the top | |
| TREERegular tree, no branches | |
| Method Summary | |
|---|---|
| static TreeType | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static TreeType[] | values()Returns an array containing the constants of this enum type, in the order they are declared. | 
| Methods inherited from class java.lang.Enum | 
|---|
| clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf | 
| Methods inherited from class java.lang.Object | 
|---|
| getClass, notify, notifyAll, wait, wait, wait | 
| Enum Constant Detail | 
|---|
public static final TreeType TREE
public static final TreeType BIG_TREE
public static final TreeType REDWOOD
public static final TreeType TALL_REDWOOD
public static final TreeType BIRCH
public static final TreeType JUNGLE
public static final TreeType SMALL_JUNGLE
public static final TreeType JUNGLE_BUSH
public static final TreeType RED_MUSHROOM
public static final TreeType BROWN_MUSHROOM
public static final TreeType SWAMP
| Method Detail | 
|---|
public static TreeType[] values()
for (TreeType c : TreeType.values()) System.out.println(c);
public static TreeType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||