public enum ApricornType extends java.lang.Enum<ApricornType>
Enum Constant and Description |
---|
BLACK |
BLUE |
GREEN |
PINK |
RED |
WHITE |
YELLOW |
Modifier and Type | Method and Description |
---|---|
ApricornItem |
apricorn() |
CookedApricornItem |
cookedApricorn() |
net.minecraft.world.gen.feature.ConfiguredFeature<net.minecraft.world.gen.feature.BaseTreeFeatureConfig,?> |
getFeature() |
int |
getGrowthTime() |
int |
getIconIndex() |
int |
getMeltedIconIndex() |
static boolean |
hasApricorn(java.lang.String apricorn) |
net.minecraft.block.Block |
leavesBlock() |
net.minecraft.block.Block |
logBlock() |
net.minecraft.block.Block |
saplingBlock() |
static ApricornType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ApricornType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApricornType BLACK
public static final ApricornType WHITE
public static final ApricornType PINK
public static final ApricornType GREEN
public static final ApricornType BLUE
public static final ApricornType YELLOW
public static final ApricornType RED
public static ApricornType[] values()
for (ApricornType c : ApricornType.values()) System.out.println(c);
public static ApricornType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getIconIndex()
public int getMeltedIconIndex()
public ApricornItem apricorn()
public CookedApricornItem cookedApricorn()
public net.minecraft.block.Block logBlock()
public net.minecraft.block.Block leavesBlock()
public net.minecraft.block.Block saplingBlock()
public net.minecraft.world.gen.feature.ConfiguredFeature<net.minecraft.world.gen.feature.BaseTreeFeatureConfig,?> getFeature()
public int getGrowthTime()
public static boolean hasApricorn(java.lang.String apricorn)