public static enum JigsawBlockEntity.Joint extends Enum<JigsawBlockEntity.Joint> implements StringIdentifiable
Modifier and Type | Method and Description |
---|---|
String |
asString() |
static Optional<JigsawBlockEntity.Joint> |
byName(String name) |
static JigsawBlockEntity.Joint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JigsawBlockEntity.Joint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
createCodec, createCodec, method_28142
public static final JigsawBlockEntity.Joint ROLLABLE
public static final JigsawBlockEntity.Joint ALIGNED
private final String name
public static JigsawBlockEntity.Joint[] values()
for (JigsawBlockEntity.Joint c : JigsawBlockEntity.Joint.values()) System.out.println(c);
public static JigsawBlockEntity.Joint 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 String asString()
asString
in interface StringIdentifiable
public static Optional<JigsawBlockEntity.Joint> byName(String name)