public class TextureManager extends java.lang.Object implements ITickable, java.lang.AutoCloseable, IFutureReloadListener
IFutureReloadListener.IStage| Modifier and Type | Field and Description | 
|---|---|
| private java.util.Set<ITickable> | listTickables | 
| private static org.apache.logging.log4j.Logger | LOGGER | 
| private java.util.Map<java.lang.String,java.lang.Integer> | mapTextureCounters | 
| private java.util.Map<ResourceLocation,Texture> | mapTextureObjects | 
| static ResourceLocation | RESOURCE_LOCATION_EMPTY | 
| private IResourceManager | resourceManager | 
| Constructor and Description | 
|---|
| TextureManager(IResourceManager resourceManager) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | bindTexture(ResourceLocation resource) | 
| private void | bindTextureRaw(ResourceLocation resource) | 
| void | close() | 
| void | deleteTexture(ResourceLocation textureLocation) | 
| private static void | execute(java.lang.Runnable runnableIn) | 
| private Texture | func_230183_b_(ResourceLocation p_230183_1_,
              Texture p_230183_2_) | 
| 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, waitfunc_225594_i_private static final org.apache.logging.log4j.Logger LOGGER
public static final ResourceLocation RESOURCE_LOCATION_EMPTY
private final java.util.Map<ResourceLocation,Texture> mapTextureObjects
private final java.util.Set<ITickable> listTickables
private final java.util.Map<java.lang.String,java.lang.Integer> mapTextureCounters
private final IResourceManager resourceManager
public TextureManager(IResourceManager resourceManager)
public void bindTexture(ResourceLocation resource)
private void bindTextureRaw(ResourceLocation resource)
public void loadTexture(ResourceLocation textureLocation, Texture textureObj)
private Texture func_230183_b_(ResourceLocation p_230183_1_, Texture p_230183_2_)
@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)
private static void execute(java.lang.Runnable runnableIn)
public void deleteTexture(ResourceLocation textureLocation)
public void close()
close in interface java.lang.AutoCloseablepublic 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 in interface IFutureReloadListener