public enum TreeType extends Enum<TreeType> implements Tree
Modifier and Type | Method and Description |
---|---|
CustomTreeType |
getCustomTreeType() |
org.bukkit.TreeType |
getVanillaTreeType() |
boolean |
isCustom() |
boolean |
plant(org.bukkit.Location l,
Random r,
org.bukkit.plugin.java.JavaPlugin main) |
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.
|
public static final TreeType SHATTERED_SMALL
public static final TreeType SHATTERED_LARGE
public static final TreeType GIANT_OAK
public static final TreeType GIANT_SPRUCE
public static final TreeType SMALL_SHATTERED_PILLAR
public static final TreeType LARGE_SHATTERED_PILLAR
public static final TreeType CACTUS
public static final TreeType ICE_SPIKE
public static final TreeType OAK
public static final TreeType LARGE_OAK
public static final TreeType SPRUCE
public static final TreeType LARGE_SPRUCE
public static final TreeType MEGA_SPRUCE
public static final TreeType BIRCH
public static final TreeType CHORUS_PLANT
public static final TreeType ACACIA
public static final TreeType TALL_BIRCH
public static final TreeType JUNGLE
public static final TreeType SMALL_JUNGLE
public static final TreeType JUNGLE_COCOA
public static final TreeType JUNGLE_BUSH
public static final TreeType DARK_OAK
public static final TreeType BROWN_MUSHROOM
public static final TreeType RED_MUSHROOM
public static final TreeType SWAMP_OAK
public static final TreeType WARPED_FUNGUS
public static final TreeType CRIMSON_FUNGUS
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 nameNullPointerException
- if the argument is nullpublic boolean isCustom()
public org.bukkit.TreeType getVanillaTreeType()
public CustomTreeType getCustomTreeType()
Copyright © 2020. All rights reserved.