public enum ModelLoaderCasing extends java.lang.Enum<ModelLoaderCasing> implements net.minecraftforge.client.model.ICustomModelLoader
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.util.ResourceLocation |
LOCATION_CASING |
static net.minecraft.util.ResourceLocation |
LOCATION_CASING_BASE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(net.minecraft.util.ResourceLocation modelLocation) |
net.minecraftforge.client.model.IModel |
loadModel(net.minecraft.util.ResourceLocation resourceLocation) |
void |
onResourceManagerReload(net.minecraft.client.resources.IResourceManager resourceManager) |
static ModelLoaderCasing |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModelLoaderCasing[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModelLoaderCasing INSTANCE
public static final net.minecraft.util.ResourceLocation LOCATION_CASING
public static final net.minecraft.util.ResourceLocation LOCATION_CASING_BASE
public static ModelLoaderCasing[] values()
for (ModelLoaderCasing c : ModelLoaderCasing.values()) System.out.println(c);
public static ModelLoaderCasing 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 boolean accepts(net.minecraft.util.ResourceLocation modelLocation)
accepts in interface net.minecraftforge.client.model.ICustomModelLoaderpublic net.minecraftforge.client.model.IModel loadModel(net.minecraft.util.ResourceLocation resourceLocation)
throws java.lang.Exception
loadModel in interface net.minecraftforge.client.model.ICustomModelLoaderjava.lang.Exceptionpublic void onResourceManagerReload(net.minecraft.client.resources.IResourceManager resourceManager)
onResourceManagerReload in interface net.minecraft.client.resources.IResourceManagerReloadListener