public abstract class SpriteUploader extends ReloadListener<AtlasTexture.SheetData> implements java.lang.AutoCloseable
IFutureReloadListener.IStage
Constructor and Description |
---|
SpriteUploader(TextureManager p_i50905_1_,
ResourceLocation atlasTextureLocation,
java.lang.String p_i50905_3_) |
Modifier and Type | Method and Description |
---|---|
protected void |
apply(AtlasTexture.SheetData splashList,
IResourceManager resourceManagerIn,
IProfiler profilerIn) |
void |
close() |
protected abstract java.lang.Iterable<ResourceLocation> |
getKnownKeys() |
protected TextureAtlasSprite |
getSprite(ResourceLocation p_215282_1_) |
protected AtlasTexture.SheetData |
prepare(IResourceManager resourceManagerIn,
IProfiler profilerIn) |
reload
public SpriteUploader(TextureManager p_i50905_1_, ResourceLocation atlasTextureLocation, java.lang.String p_i50905_3_)
protected abstract java.lang.Iterable<ResourceLocation> getKnownKeys()
protected TextureAtlasSprite getSprite(ResourceLocation p_215282_1_)
protected AtlasTexture.SheetData prepare(IResourceManager resourceManagerIn, IProfiler profilerIn)
prepare
in class ReloadListener<AtlasTexture.SheetData>
protected void apply(AtlasTexture.SheetData splashList, IResourceManager resourceManagerIn, IProfiler profilerIn)
apply
in class ReloadListener<AtlasTexture.SheetData>
public void close()
close
in interface java.lang.AutoCloseable