Package net.minecraft.block
Class WoodType
- java.lang.Object
-
- net.minecraft.block.WoodType
-
public class WoodType extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static WoodType
ACACIA
static WoodType
BIRCH
static WoodType
CRIMSON
static WoodType
DARK_OAK
static WoodType
JUNGLE
private java.lang.String
name
static WoodType
OAK
static WoodType
SPRUCE
private static java.util.Set<WoodType>
VALUES
static WoodType
WARPED
-
Constructor Summary
Constructors Modifier Constructor Description protected
WoodType(java.lang.String p_i225775_1_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WoodType
create(java.lang.String name)
Use this to create a newWoodType
.java.lang.String
name()
static WoodType
register(WoodType p_227047_0_)
static java.util.stream.Stream<WoodType>
values()
-
-
-
Field Detail
-
VALUES
private static final java.util.Set<WoodType> VALUES
-
OAK
public static final WoodType OAK
-
SPRUCE
public static final WoodType SPRUCE
-
BIRCH
public static final WoodType BIRCH
-
ACACIA
public static final WoodType ACACIA
-
JUNGLE
public static final WoodType JUNGLE
-
DARK_OAK
public static final WoodType DARK_OAK
-
CRIMSON
public static final WoodType CRIMSON
-
WARPED
public static final WoodType WARPED
-
name
private final java.lang.String name
-
-
Method Detail
-
values
public static java.util.stream.Stream<WoodType> values()
-
name
public java.lang.String name()
-
-