public enum BlockVoxelShape extends java.lang.Enum<BlockVoxelShape>
Modifier and Type | Method and Description |
---|---|
abstract boolean |
isSupporting(BlockState p_241854_1_,
IBlockReader p_241854_2_,
BlockPos p_241854_3_,
Direction p_241854_4_) |
static BlockVoxelShape |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BlockVoxelShape[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockVoxelShape FULL
public static final BlockVoxelShape CENTER
public static final BlockVoxelShape RIGID
public static BlockVoxelShape[] values()
for (BlockVoxelShape c : BlockVoxelShape.values()) System.out.println(c);
public static BlockVoxelShape 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 abstract boolean isSupporting(BlockState p_241854_1_, IBlockReader p_241854_2_, BlockPos p_241854_3_, Direction p_241854_4_)