public static final class ModelLoader.White extends TextureAtlasSprite
Modifier and Type | Field and Description |
---|---|
static ModelLoader.White |
INSTANCE |
static ResourceLocation |
LOCATION |
frameCounter, framesTextureData, height, interpolatedFrameData, originX, originY, rotated, tickCounter, width
Modifier and Type | Method and Description |
---|---|
boolean |
hasCustomLoader(IResourceManager manager,
ResourceLocation location)
The result of this function determines is the below 'load' function is called, and the
default vanilla loading code is bypassed completely.
|
boolean |
load(IResourceManager manager,
ResourceLocation location)
Load the specified resource as this sprite's data.
|
void |
register(TextureMap map) |
clearFramesTextureData, copyFrom, generateMipmaps, getFrameCount, getFrameTextureData, getIconHeight, getIconName, getIconWidth, getInterpolatedU, getInterpolatedV, getMaxU, getMaxV, getMinU, getMinV, getOriginX, getOriginY, getUnInterpolatedU, getUnInterpolatedV, hasAnimationMetadata, initSprite, loadSprite, loadSpriteFrames, makeAtlasSprite, setFramesTextureData, setIconHeight, setIconWidth, toString, updateAnimation
public static final ResourceLocation LOCATION
public static final ModelLoader.White INSTANCE
public boolean hasCustomLoader(IResourceManager manager, ResourceLocation location)
TextureAtlasSprite
hasCustomLoader
in class TextureAtlasSprite
manager
- Main resource managerlocation
- File resource locationpublic boolean load(IResourceManager manager, ResourceLocation location)
TextureAtlasSprite
load
in class TextureAtlasSprite
manager
- Main resource managerlocation
- File resource locationpublic void register(TextureMap map)