Class ForgeTextureMetadata
- java.lang.Object
-
- net.minecraftforge.client.textures.ForgeTextureMetadata
-
public final class ForgeTextureMetadata extends java.lang.Object
The "forge" section of texture metadata files (.mcmeta). Currently used only to specify custom TextureAtlasSprite loaders.- See Also:
ITextureAtlasSpriteLoader
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
ForgeTextureMetadata.Serializer
-
Field Summary
Fields Modifier and Type Field Description static ForgeTextureMetadata
EMPTY
private ITextureAtlasSpriteLoader
loader
static IMetadataSectionSerializer<ForgeTextureMetadata>
SERIALIZER
-
Constructor Summary
Constructors Constructor Description ForgeTextureMetadata(ITextureAtlasSpriteLoader loader)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ForgeTextureMetadata
forResource(IResource resource)
ITextureAtlasSpriteLoader
getLoader()
-
-
-
Field Detail
-
EMPTY
public static final ForgeTextureMetadata EMPTY
-
SERIALIZER
public static final IMetadataSectionSerializer<ForgeTextureMetadata> SERIALIZER
-
loader
@Nullable private final ITextureAtlasSpriteLoader loader
-
-
Constructor Detail
-
ForgeTextureMetadata
public ForgeTextureMetadata(@Nullable ITextureAtlasSpriteLoader loader)
-
-
Method Detail
-
forResource
public static ForgeTextureMetadata forResource(IResource resource)
-
getLoader
@Nullable public ITextureAtlasSpriteLoader getLoader()
-
-