public enum MetaTypeb1_2 extends java.lang.Enum<MetaTypeb1_2> implements com.viaversion.viaversion.api.minecraft.metadata.MetaType
| Modifier and Type | Method and Description |
|---|---|
static MetaTypeb1_2 |
byId(int id) |
com.viaversion.viaversion.api.type.Type<?> |
type() |
int |
typeId() |
static MetaTypeb1_2 |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MetaTypeb1_2[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetaTypeb1_2 Byte
public static final MetaTypeb1_2 Short
public static final MetaTypeb1_2 Int
public static final MetaTypeb1_2 Float
public static final MetaTypeb1_2 String
public static final MetaTypeb1_2 Slot
public static MetaTypeb1_2[] values()
for (MetaTypeb1_2 c : MetaTypeb1_2.values()) System.out.println(c);
public static MetaTypeb1_2 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 MetaTypeb1_2 byId(int id)
public int typeId()
typeId in interface com.viaversion.viaversion.api.minecraft.metadata.MetaTypepublic com.viaversion.viaversion.api.type.Type<?> type()
type in interface com.viaversion.viaversion.api.minecraft.metadata.MetaType