public static enum ModelDynBucket.LoaderDynBucket extends java.lang.Enum<ModelDynBucket.LoaderDynBucket> implements ICustomModelLoader
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(ResourceLocation modelLocation) |
IModel |
loadModel(ResourceLocation modelLocation) |
void |
onResourceManagerReload(IResourceManager resourceManager) |
static ModelDynBucket.LoaderDynBucket |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModelDynBucket.LoaderDynBucket[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModelDynBucket.LoaderDynBucket INSTANCE
public static ModelDynBucket.LoaderDynBucket[] values()
for (ModelDynBucket.LoaderDynBucket c : ModelDynBucket.LoaderDynBucket.values()) System.out.println(c);
public static ModelDynBucket.LoaderDynBucket 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(ResourceLocation modelLocation)
accepts
in interface ICustomModelLoader
public IModel loadModel(ResourceLocation modelLocation)
loadModel
in interface ICustomModelLoader
public void onResourceManagerReload(IResourceManager resourceManager)
onResourceManagerReload
in interface IResourceManagerReloadListener