public abstract class SpriteUploader extends ReloadListener<AtlasTexture.SheetData> implements java.lang.AutoCloseable
IFutureReloadListener.IStage
コンストラクタと説明 |
---|
SpriteUploader(TextureManager textureManagerIn,
ResourceLocation atlasTextureLocation,
java.lang.String prefixIn) |
修飾子とタイプ | メソッドと説明 |
---|---|
protected void |
apply(AtlasTexture.SheetData objectIn,
IResourceManager resourceManagerIn,
IProfiler profilerIn) |
void |
close() |
protected abstract java.util.stream.Stream<ResourceLocation> |
getResourceLocations() |
protected TextureAtlasSprite |
getSprite(ResourceLocation locationIn)
Gets a sprite associated with the passed resource location.
|
protected AtlasTexture.SheetData |
prepare(IResourceManager resourceManagerIn,
IProfiler profilerIn)
Performs any reloading that can be done off-thread, such as file IO
|
reload
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
func_225594_i_
public SpriteUploader(TextureManager textureManagerIn, ResourceLocation atlasTextureLocation, java.lang.String prefixIn)
protected abstract java.util.stream.Stream<ResourceLocation> getResourceLocations()
protected TextureAtlasSprite getSprite(ResourceLocation locationIn)
protected AtlasTexture.SheetData prepare(IResourceManager resourceManagerIn, IProfiler profilerIn)
prepare
クラス内 ReloadListener<AtlasTexture.SheetData>
protected void apply(AtlasTexture.SheetData objectIn, IResourceManager resourceManagerIn, IProfiler profilerIn)
apply
クラス内 ReloadListener<AtlasTexture.SheetData>
public void close()
close
インタフェース内 java.lang.AutoCloseable