Package org.bukkit
Enum TreeType
- java.lang.Object
-
- java.lang.Enum<TreeType>
-
- org.bukkit.TreeType
-
- All Implemented Interfaces:
Serializable
,Comparable<TreeType>
public enum TreeType extends Enum<TreeType>
Tree and organic structure types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACACIA
Acacia tree.BIG_TREE
Regular tree, extra tall with branchesBIRCH
Birch treeBROWN_MUSHROOM
Big brown mushroom; tall and umbrella-likeCHORUS_PLANT
Large plant native to The EndCOCOA_TREE
Jungle tree with cocoa plants; 1 block wideDARK_OAK
Dark Oak tree.JUNGLE
Standard jungle tree; 4 blocks wide and tallJUNGLE_BUSH
Small bush that grows in the jungleMEGA_REDWOOD
Mega redwood tree; 4 blocks wide and tallRED_MUSHROOM
Big red mushroom; short and fatREDWOOD
Redwood tree, shaped like a pine treeSMALL_JUNGLE
Smaller jungle tree; 1 block wideSWAMP
Swamp tree (regular with vines on the side)TALL_BIRCH
Tall birch treeTALL_REDWOOD
Tall redwood tree with just a few leaves at the topTREE
Regular tree, no branches
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Enum Constant Detail
-
TREE
public static final TreeType TREE
Regular tree, no branches
-
BIG_TREE
public static final TreeType BIG_TREE
Regular tree, extra tall with branches
-
REDWOOD
public static final TreeType REDWOOD
Redwood tree, shaped like a pine tree
-
TALL_REDWOOD
public static final TreeType TALL_REDWOOD
Tall redwood tree with just a few leaves at the top
-
BIRCH
public static final TreeType BIRCH
Birch tree
-
JUNGLE
public static final TreeType JUNGLE
Standard jungle tree; 4 blocks wide and tall
-
SMALL_JUNGLE
public static final TreeType SMALL_JUNGLE
Smaller jungle tree; 1 block wide
-
COCOA_TREE
public static final TreeType COCOA_TREE
Jungle tree with cocoa plants; 1 block wide
-
JUNGLE_BUSH
public static final TreeType JUNGLE_BUSH
Small bush that grows in the jungle
-
RED_MUSHROOM
public static final TreeType RED_MUSHROOM
Big red mushroom; short and fat
-
BROWN_MUSHROOM
public static final TreeType BROWN_MUSHROOM
Big brown mushroom; tall and umbrella-like
-
SWAMP
public static final TreeType SWAMP
Swamp tree (regular with vines on the side)
-
ACACIA
public static final TreeType ACACIA
Acacia tree.
-
DARK_OAK
public static final TreeType DARK_OAK
Dark Oak tree.
-
MEGA_REDWOOD
public static final TreeType MEGA_REDWOOD
Mega redwood tree; 4 blocks wide and tall
-
TALL_BIRCH
public static final TreeType TALL_BIRCH
Tall birch tree
-
CHORUS_PLANT
public static final TreeType CHORUS_PLANT
Large plant native to The End
-
-
Method Detail
-
values
public static TreeType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TreeType c : TreeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TreeType 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.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-