private static enum ModelLoader.DefaultTextureGetter extends java.lang.Enum<ModelLoader.DefaultTextureGetter> implements java.util.function.Function<ResourceLocation,TextureAtlasSprite>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
TextureAtlasSprite |
apply(ResourceLocation location) |
static ModelLoader.DefaultTextureGetter |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModelLoader.DefaultTextureGetter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModelLoader.DefaultTextureGetter INSTANCE
public static ModelLoader.DefaultTextureGetter[] values()
for (ModelLoader.DefaultTextureGetter c : ModelLoader.DefaultTextureGetter.values()) System.out.println(c);
public static ModelLoader.DefaultTextureGetter 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 TextureAtlasSprite apply(ResourceLocation location)
apply
in interface java.util.function.Function<ResourceLocation,TextureAtlasSprite>