Class Texture

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

public abstract class Texture extends Object implements AutoCloseable
  • Field Details

    • id

      protected int id
    • blur

      protected boolean blur
    • mipmap

      protected boolean mipmap
    • lastBlur

      private boolean lastBlur
    • lastMipmap

      private boolean lastMipmap
  • Constructor Details

    • Texture

      public Texture()
  • Method Details

    • setFilter

      public void setFilter(boolean p_174937_1_, boolean p_174937_2_)
    • 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(IResourceManager p_195413_1_) throws IOException
      Throws:
      IOException
    • bind

      public void bind()
    • reset

      public void reset(TextureManager p_215244_1_, IResourceManager p_215244_2_, ResourceLocation p_215244_3_, Executor p_215244_4_)
    • close

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