public enum TreeType extends Enum<TreeType>
列挙型定数と説明 |
---|
ACACIA
Acacia tree.
|
BIG_TREE
Regular tree, extra tall with branches
|
BIRCH
Birch tree
|
BROWN_MUSHROOM
Big brown mushroom; tall and umbrella-like
|
CHORUS_PLANT
Large plant native to The End
|
COCOA_TREE
Jungle tree with cocoa plants; 1 block wide
|
DARK_OAK
Dark Oak tree.
|
JUNGLE
Standard jungle tree; 4 blocks wide and tall
|
JUNGLE_BUSH
Small bush that grows in the jungle
|
MEGA_REDWOOD
Mega redwood tree; 4 blocks wide and tall
|
RED_MUSHROOM
Big red mushroom; short and fat
|
REDWOOD
Redwood tree, shaped like a pine tree
|
SMALL_JUNGLE
Smaller jungle tree; 1 block wide
|
SWAMP
Swamp tree (regular with vines on the side)
|
TALL_BIRCH
Tall birch tree
|
TALL_REDWOOD
Tall redwood tree with just a few leaves at the top
|
TREE
Regular tree, no branches
|
修飾子とタイプ | メソッドと説明 |
---|---|
static TreeType |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static TreeType[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
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 COCOA_TREE
public static final TreeType JUNGLE_BUSH
public static final TreeType RED_MUSHROOM
public static final TreeType BROWN_MUSHROOM
public static final TreeType SWAMP
public static final TreeType ACACIA
public static final TreeType DARK_OAK
public static final TreeType MEGA_REDWOOD
public static final TreeType TALL_BIRCH
public static final TreeType CHORUS_PLANT
public static TreeType[] values()
for(TreeType c: TreeType.values()) System.out.println(c);
public static TreeType valueOf(String name)
name
- 返される列挙型定数の名前。IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合NullPointerException
- 引数がnullの場合Copyright © 2016. All rights reserved.