public enum GateMeshDefinition extends java.lang.Enum<GateMeshDefinition> implements net.minecraft.client.renderer.ItemMeshDefinition
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Field and Description |
---|---|
static net.minecraft.util.ResourceLocation |
LOCATION_BASE |
Modifier and Type | Method and Description |
---|---|
net.minecraft.client.renderer.block.model.ModelResourceLocation |
getModelLocation(net.minecraft.item.ItemStack stack) |
static GateMeshDefinition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GateMeshDefinition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GateMeshDefinition INSTANCE
public static GateMeshDefinition[] values()
for (GateMeshDefinition c : GateMeshDefinition.values()) System.out.println(c);
public static GateMeshDefinition 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 net.minecraft.client.renderer.block.model.ModelResourceLocation getModelLocation(net.minecraft.item.ItemStack stack)
getModelLocation
in interface net.minecraft.client.renderer.ItemMeshDefinition