Class AbstractTexture

java.lang.Object
net.minecraft.client.texture.AbstractTexture
All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
GlyphAtlasTexture, NativeImageBackedTexture, ReloadableTexture, SpriteAtlasTexture

@Environment(CLIENT) public abstract class AbstractTexture extends Object implements AutoCloseable
Mappings:
Namespace Name
named net/minecraft/client/texture/AbstractTexture
intermediary net/minecraft/class_1044
official hrb
  • Field Details

    • glTexture

      @Nullable protected @Nullable GpuTexture glTexture
      Mappings:
      Namespace Name Mixin selector
      named glTexture Lnet/minecraft/client/texture/AbstractTexture;glTexture:Lcom/mojang/blaze3d/textures/GpuTexture;
      intermediary field_56974 Lnet/minecraft/class_1044;field_56974:Lcom/mojang/blaze3d/textures/GpuTexture;
      official a Lhrb;a:Lcom/mojang/blaze3d/textures/GpuTexture;
    • glTextureView

      @Nullable protected @Nullable GpuTextureView glTextureView
      Mappings:
      Namespace Name Mixin selector
      named glTextureView Lnet/minecraft/client/texture/AbstractTexture;glTextureView:Lcom/mojang/blaze3d/textures/GpuTextureView;
      intermediary field_60597 Lnet/minecraft/class_1044;field_60597:Lcom/mojang/blaze3d/textures/GpuTextureView;
      official b Lhrb;b:Lcom/mojang/blaze3d/textures/GpuTextureView;
  • Constructor Details

    • AbstractTexture

      public AbstractTexture()
  • Method Details

    • setClamp

      public void setClamp(boolean clamp)
      Mappings:
      Namespace Name Mixin selector
      named setClamp Lnet/minecraft/client/texture/AbstractTexture;setClamp(Z)V
      intermediary method_65924 Lnet/minecraft/class_1044;method_65924(Z)V
      official a Lhrb;a(Z)V
    • setFilter

      public void setFilter(boolean bilinear, boolean mipmap)
      Mappings:
      Namespace Name Mixin selector
      named setFilter Lnet/minecraft/client/texture/AbstractTexture;setFilter(ZZ)V
      intermediary method_4527 Lnet/minecraft/class_1044;method_4527(ZZ)V
      official a Lhrb;a(ZZ)V
    • setUseMipmaps

      public void setUseMipmaps(boolean useMipmaps)
      Mappings:
      Namespace Name Mixin selector
      named setUseMipmaps Lnet/minecraft/client/texture/AbstractTexture;setUseMipmaps(Z)V
      intermediary method_70950 Lnet/minecraft/class_1044;method_70950(Z)V
      official b Lhrb;b(Z)V
    • close

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

      public GpuTexture getGlTexture()
      Mappings:
      Namespace Name Mixin selector
      named getGlTexture Lnet/minecraft/client/texture/AbstractTexture;getGlTexture()Lcom/mojang/blaze3d/textures/GpuTexture;
      intermediary method_68004 Lnet/minecraft/class_1044;method_68004()Lcom/mojang/blaze3d/textures/GpuTexture;
      official a Lhrb;a()Lcom/mojang/blaze3d/textures/GpuTexture;
    • getGlTextureView

      public GpuTextureView getGlTextureView()
      Mappings:
      Namespace Name Mixin selector
      named getGlTextureView Lnet/minecraft/client/texture/AbstractTexture;getGlTextureView()Lcom/mojang/blaze3d/textures/GpuTextureView;
      intermediary method_71659 Lnet/minecraft/class_1044;method_71659()Lcom/mojang/blaze3d/textures/GpuTextureView;
      official b Lhrb;b()Lcom/mojang/blaze3d/textures/GpuTextureView;