public enum EnumTraversalExpense extends java.lang.Enum<EnumTraversalExpense>
Enum Constant and Description |
---|
AIR |
FLUID |
SOLID
If you *must* find a path then you can use this, but this isn't included in any of the graphs.
|
Modifier and Type | Field and Description |
---|---|
byte |
expense |
Modifier and Type | Method and Description |
---|---|
static EnumTraversalExpense |
getFor(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
static EnumTraversalExpense |
getFor(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state) |
static EnumTraversalExpense |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumTraversalExpense[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumTraversalExpense AIR
public static final EnumTraversalExpense FLUID
public static final EnumTraversalExpense SOLID
public static EnumTraversalExpense[] values()
for (EnumTraversalExpense c : EnumTraversalExpense.values()) System.out.println(c);
public static EnumTraversalExpense 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 static EnumTraversalExpense getFor(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos)
public static EnumTraversalExpense getFor(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.block.state.IBlockState state)