Class AbstractTexture

java.lang.Object
net.minecraft.client.renderer.texture.AbstractTexture
All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
DynamicTexture, FontTexture, SimpleTexture, TextureAtlas

public abstract class AbstractTexture extends Object implements AutoCloseable
  • Field Details

    • NOT_ASSIGNED

      public static final int NOT_ASSIGNED
      See Also:
      Constant Field Values
    • id

      protected int id
    • blur

      protected boolean blur
    • mipmap

      protected boolean mipmap
    • lastBlur

      private boolean lastBlur
    • lastMipmap

      private boolean lastMipmap
  • Constructor Details

    • AbstractTexture

      public AbstractTexture()
  • Method Details

    • setFilter

      public void setFilter(boolean p_117961_, boolean p_117962_)
    • setBlurMipmap

      public void setBlurMipmap(boolean blur, boolean mipmap)
    • restoreLastBlurMipmap

      public void restoreLastBlurMipmap()
    • getId

      public int getId()
    • releaseId

      public void releaseId()
    • load

      public abstract void load(ResourceManager p_117955_) throws IOException
      Throws:
      IOException
    • bind

      public void bind()
    • reset

      public void reset(TextureManager p_117956_, ResourceManager p_117957_, ResourceLocation p_117958_, Executor p_117959_)
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable