public enum LandingMaterials extends java.lang.Enum<LandingMaterials>
Enum Constant and Description |
---|
GRASS |
LEAVES |
LEAVES_AND_GRASS |
NONE |
Modifier and Type | Method and Description |
---|---|
static LandingMaterials |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LandingMaterials[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
boolean |
willLand(net.minecraft.block.material.Material m)
Checks if it can land on the given material
|
public static final LandingMaterials NONE
public static final LandingMaterials LEAVES
public static final LandingMaterials GRASS
public static final LandingMaterials LEAVES_AND_GRASS
public static LandingMaterials[] values()
for (LandingMaterials c : LandingMaterials.values()) System.out.println(c);
public static LandingMaterials 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 boolean willLand(net.minecraft.block.material.Material m)
m
- The material to check