public enum SideShapeType extends Enum<SideShapeType>
Modifier and Type | Method and Description |
---|---|
abstract boolean |
matches(BlockState state,
BlockView world,
BlockPos pos,
Direction direction) |
static SideShapeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SideShapeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SideShapeType FULL
public static final SideShapeType CENTER
public static final SideShapeType RIGID
public static SideShapeType[] values()
for (SideShapeType c : SideShapeType.values()) System.out.println(c);
public static SideShapeType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract boolean matches(BlockState state, BlockView world, BlockPos pos, Direction direction)