public class TextureManager extends java.lang.Object implements ITickable, java.lang.AutoCloseable, IFutureReloadListener
IFutureReloadListener.IStage
修飾子とタイプ | フィールドと説明 |
---|---|
static ResourceLocation |
RESOURCE_LOCATION_EMPTY |
コンストラクタと説明 |
---|
TextureManager(IResourceManager resourceManager) |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
bindTexture(ResourceLocation resource) |
void |
close() |
void |
deleteTexture(ResourceLocation textureLocation) |
ResourceLocation |
getDynamicTextureLocation(java.lang.String name,
DynamicTexture texture) |
Texture |
getTexture(ResourceLocation textureLocation) |
java.util.concurrent.CompletableFuture<java.lang.Void> |
loadAsync(ResourceLocation textureLocation,
java.util.concurrent.Executor executor) |
void |
loadTexture(ResourceLocation textureLocation,
Texture textureObj) |
java.util.concurrent.CompletableFuture<java.lang.Void> |
reload(IFutureReloadListener.IStage stage,
IResourceManager resourceManager,
IProfiler preparationsProfiler,
IProfiler reloadProfiler,
java.util.concurrent.Executor backgroundExecutor,
java.util.concurrent.Executor gameExecutor) |
void |
tick() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
func_225594_i_
public static final ResourceLocation RESOURCE_LOCATION_EMPTY
public TextureManager(IResourceManager resourceManager)
public void bindTexture(ResourceLocation resource)
public void loadTexture(ResourceLocation textureLocation, Texture textureObj)
@Nullable public Texture getTexture(ResourceLocation textureLocation)
public ResourceLocation getDynamicTextureLocation(java.lang.String name, DynamicTexture texture)
public java.util.concurrent.CompletableFuture<java.lang.Void> loadAsync(ResourceLocation textureLocation, java.util.concurrent.Executor executor)
public void deleteTexture(ResourceLocation textureLocation)
public void close()
close
インタフェース内 java.lang.AutoCloseable
public java.util.concurrent.CompletableFuture<java.lang.Void> reload(IFutureReloadListener.IStage stage, IResourceManager resourceManager, IProfiler preparationsProfiler, IProfiler reloadProfiler, java.util.concurrent.Executor backgroundExecutor, java.util.concurrent.Executor gameExecutor)
reload
インタフェース内 IFutureReloadListener