Enum Constant and Description |
---|
CACTUS |
CROPS |
DRIPLEAF |
END |
FLOATING_PLANTS |
HANGING_DRY_PLANTS |
HANGING_WATER_PLANTS |
MUSHROOMS |
NETHER |
PLANTS_AND_FLOWERS |
SAPLINGS |
SUGAR_CANE |
WATER_PLANTS |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isFlooded(MinecraftWorld world,
int x,
int y,
int z) |
protected boolean |
isSolidOrCactus(MinecraftWorld world,
int x,
int y,
int z) |
protected boolean |
isWatery(MinecraftWorld world,
int x,
int y,
int z) |
static Category |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Category[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Category PLANTS_AND_FLOWERS
public static final Category SAPLINGS
public static final Category MUSHROOMS
public static final Category CROPS
public static final Category SUGAR_CANE
public static final Category CACTUS
public static final Category FLOATING_PLANTS
public static final Category NETHER
public static final Category END
public static final Category WATER_PLANTS
public static final Category HANGING_DRY_PLANTS
public static final Category HANGING_WATER_PLANTS
public static final Category DRIPLEAF
public static Category[] values()
for (Category c : Category.values()) System.out.println(c);
public static Category 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 nullprotected final boolean isSolidOrCactus(MinecraftWorld world, int x, int y, int z)
protected final boolean isWatery(MinecraftWorld world, int x, int y, int z)
protected final boolean isFlooded(MinecraftWorld world, int x, int y, int z)