Class TextureManager

java.lang.Object
net.minecraft.client.texture.TextureManager

@Environment(CLIENT) public class TextureManager extends Object
Mappings:
Namespace Name
intermediary net/minecraft/class_76
glue class_359
server net/minecraft/class_76
client ji
named net/minecraft/client/texture/TextureManager
  • Field Details

    • MIPMAP

      public static boolean MIPMAP
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1245 Lnet/minecraft/class_76;field_1245:Z
      glue field_1440 Lclass_359;field_1440:Z
      server field_1245 Lnet/minecraft/class_76;field_1245:Z
      client a Lji;a:Z
      named MIPMAP Lnet/minecraft/client/texture/TextureManager;MIPMAP:Z
    • textures

      private HashMap textures
      HashMap of String, Integer
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1246 Lnet/minecraft/class_76;field_1246:Ljava/util/HashMap;
      glue field_1441 Lclass_359;field_1441:Ljava/util/HashMap;
      server field_1246 Lnet/minecraft/class_76;field_1246:Ljava/util/HashMap;
      client b Lji;b:Ljava/util/HashMap;
      named textures Lnet/minecraft/client/texture/TextureManager;textures:Ljava/util/HashMap;
    • colors

      private HashMap colors
      HashMap of String, Integer Array
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1247 Lnet/minecraft/class_76;field_1247:Ljava/util/HashMap;
      glue field_1442 Lclass_359;field_1442:Ljava/util/HashMap;
      server field_1247 Lnet/minecraft/class_76;field_1247:Ljava/util/HashMap;
      client c Lji;c:Ljava/util/HashMap;
      named colors Lnet/minecraft/client/texture/TextureManager;colors:Ljava/util/HashMap;
    • images

      private HashMap images
      HashMap of Integer, BufferedImage
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1248 Lnet/minecraft/class_76;field_1248:Ljava/util/HashMap;
      glue field_1443 Lclass_359;field_1443:Ljava/util/HashMap;
      server field_1248 Lnet/minecraft/class_76;field_1248:Ljava/util/HashMap;
      client d Lji;d:Ljava/util/HashMap;
      named images Lnet/minecraft/client/texture/TextureManager;images:Ljava/util/HashMap;
    • idBuffer

      private IntBuffer idBuffer
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1249 Lnet/minecraft/class_76;field_1249:Ljava/nio/IntBuffer;
      glue field_1444 Lclass_359;field_1444:Ljava/nio/IntBuffer;
      server field_1249 Lnet/minecraft/class_76;field_1249:Ljava/nio/IntBuffer;
      client e Lji;e:Ljava/nio/IntBuffer;
      named idBuffer Lnet/minecraft/client/texture/TextureManager;idBuffer:Ljava/nio/IntBuffer;
    • imageBuffer

      private ByteBuffer imageBuffer
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1250 Lnet/minecraft/class_76;field_1250:Ljava/nio/ByteBuffer;
      glue field_1445 Lclass_359;field_1445:Ljava/nio/ByteBuffer;
      server field_1250 Lnet/minecraft/class_76;field_1250:Ljava/nio/ByteBuffer;
      client f Lji;f:Ljava/nio/ByteBuffer;
      named imageBuffer Lnet/minecraft/client/texture/TextureManager;imageBuffer:Ljava/nio/ByteBuffer;
    • dynamicTextures

      private List dynamicTextures
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1251 Lnet/minecraft/class_76;field_1251:Ljava/util/List;
      glue field_1446 Lclass_359;field_1446:Ljava/util/List;
      server field_1251 Lnet/minecraft/class_76;field_1251:Ljava/util/List;
      client g Lji;g:Ljava/util/List;
      named dynamicTextures Lnet/minecraft/client/texture/TextureManager;dynamicTextures:Ljava/util/List;
    • downloadedImages

      private Map downloadedImages
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1252 Lnet/minecraft/class_76;field_1252:Ljava/util/Map;
      glue field_1447 Lclass_359;field_1447:Ljava/util/Map;
      server field_1252 Lnet/minecraft/class_76;field_1252:Ljava/util/Map;
      client h Lji;h:Ljava/util/Map;
      named downloadedImages Lnet/minecraft/client/texture/TextureManager;downloadedImages:Ljava/util/Map;
    • gameOptions

      private GameOptions gameOptions
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1253 Lnet/minecraft/class_76;field_1253:Lnet/minecraft/class_322;
      glue field_1448 Lclass_359;field_1448:Lclass_419;
      server field_1253 Lnet/minecraft/class_76;field_1253:Lnet/minecraft/class_322;
      client i Lji;i:Lkv;
      named gameOptions Lnet/minecraft/client/texture/TextureManager;gameOptions:Lnet/minecraft/client/option/GameOptions;
    • clamp

      private boolean clamp
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1254 Lnet/minecraft/class_76;field_1254:Z
      glue field_1449 Lclass_359;field_1449:Z
      server field_1254 Lnet/minecraft/class_76;field_1254:Z
      client j Lji;j:Z
      named clamp Lnet/minecraft/client/texture/TextureManager;clamp:Z
    • blur

      private boolean blur
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1255 Lnet/minecraft/class_76;field_1255:Z
      glue field_1450 Lclass_359;field_1450:Z
      server field_1255 Lnet/minecraft/class_76;field_1255:Z
      client k Lji;k:Z
      named blur Lnet/minecraft/client/texture/TextureManager;blur:Z
    • texturePacks

      private TexturePacks texturePacks
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1256 Lnet/minecraft/class_76;field_1256:Lnet/minecraft/class_303;
      glue field_1451 Lclass_359;field_1451:Lclass_323;
      server field_1256 Lnet/minecraft/class_76;field_1256:Lnet/minecraft/class_303;
      client l Lji;l:Lik;
      named texturePacks Lnet/minecraft/client/texture/TextureManager;texturePacks:Lnet/minecraft/client/resource/pack/TexturePacks;
    • image

      private BufferedImage image
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1257 Lnet/minecraft/class_76;field_1257:Ljava/awt/image/BufferedImage;
      glue field_1452 Lclass_359;field_1452:Ljava/awt/image/BufferedImage;
      server field_1257 Lnet/minecraft/class_76;field_1257:Ljava/awt/image/BufferedImage;
      client m Lji;m:Ljava/awt/image/BufferedImage;
      named image Lnet/minecraft/client/texture/TextureManager;image:Ljava/awt/image/BufferedImage;
  • Constructor Details

    • TextureManager

      public TextureManager(TexturePacks texturePacks, GameOptions options)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_76;<init>(Lnet/minecraft/class_303;Lnet/minecraft/class_322;)V
      glue <init> Lclass_359;<init>(Lclass_323;Lclass_419;)V
      server <init> Lnet/minecraft/class_76;<init>(Lnet/minecraft/class_303;Lnet/minecraft/class_322;)V
      client <init> Lji;<init>(Lik;Lkv;)V
      named <init> Lnet/minecraft/client/texture/TextureManager;<init>(Lnet/minecraft/client/resource/pack/TexturePacks;Lnet/minecraft/client/option/GameOptions;)V
  • Method Details

    • getColors

      public int[] getColors(String path)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1092 Lnet/minecraft/class_76;method_1092(Ljava/lang/String;)[I
      glue method_1449 Lclass_359;method_1449(Ljava/lang/String;)[I
      server method_1092 Lnet/minecraft/class_76;method_1092(Ljava/lang/String;)[I
      client a Lji;a(Ljava/lang/String;)[I
      named getColors Lnet/minecraft/client/texture/TextureManager;getColors(Ljava/lang/String;)[I
    • readColors

      private int[] readColors(BufferedImage image)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1099 Lnet/minecraft/class_76;method_1099(Ljava/awt/image/BufferedImage;)[I
      glue method_1456 Lclass_359;method_1456(Ljava/awt/image/BufferedImage;)[I
      server method_1099 Lnet/minecraft/class_76;method_1099(Ljava/awt/image/BufferedImage;)[I
      client b Lji;b(Ljava/awt/image/BufferedImage;)[I
      named readColors Lnet/minecraft/client/texture/TextureManager;readColors(Ljava/awt/image/BufferedImage;)[I
    • readColors

      private int[] readColors(BufferedImage image, int[] colors)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1090 Lnet/minecraft/class_76;method_1090(Ljava/awt/image/BufferedImage;[I)[I
      glue method_1447 Lclass_359;method_1447(Ljava/awt/image/BufferedImage;[I)[I
      server method_1090 Lnet/minecraft/class_76;method_1090(Ljava/awt/image/BufferedImage;[I)[I
      client a Lji;a(Ljava/awt/image/BufferedImage;[I)[I
      named readColors Lnet/minecraft/client/texture/TextureManager;readColors(Ljava/awt/image/BufferedImage;[I)[I
    • getTextureId

      public int getTextureId(String path)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1100 Lnet/minecraft/class_76;method_1100(Ljava/lang/String;)I
      glue method_1457 Lclass_359;method_1457(Ljava/lang/String;)I
      server method_1100 Lnet/minecraft/class_76;method_1100(Ljava/lang/String;)I
      client b Lji;b(Ljava/lang/String;)I
      named getTextureId Lnet/minecraft/client/texture/TextureManager;getTextureId(Ljava/lang/String;)I
    • rescale

      private BufferedImage rescale(BufferedImage image)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1101 Lnet/minecraft/class_76;method_1101(Ljava/awt/image/BufferedImage;)Ljava/awt/image/BufferedImage;
      glue method_1458 Lclass_359;method_1458(Ljava/awt/image/BufferedImage;)Ljava/awt/image/BufferedImage;
      server method_1101 Lnet/minecraft/class_76;method_1101(Ljava/awt/image/BufferedImage;)Ljava/awt/image/BufferedImage;
      client c Lji;c(Ljava/awt/image/BufferedImage;)Ljava/awt/image/BufferedImage;
      named rescale Lnet/minecraft/client/texture/TextureManager;rescale(Ljava/awt/image/BufferedImage;)Ljava/awt/image/BufferedImage;
    • load

      public int load(BufferedImage image)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1088 Lnet/minecraft/class_76;method_1088(Ljava/awt/image/BufferedImage;)I
      glue method_1445 Lclass_359;method_1445(Ljava/awt/image/BufferedImage;)I
      server method_1088 Lnet/minecraft/class_76;method_1088(Ljava/awt/image/BufferedImage;)I
      client a Lji;a(Ljava/awt/image/BufferedImage;)I
      named load Lnet/minecraft/client/texture/TextureManager;load(Ljava/awt/image/BufferedImage;)I
    • load

      public void load(BufferedImage image, int id)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1089 Lnet/minecraft/class_76;method_1089(Ljava/awt/image/BufferedImage;I)V
      glue method_1446 Lclass_359;method_1446(Ljava/awt/image/BufferedImage;I)V
      server method_1089 Lnet/minecraft/class_76;method_1089(Ljava/awt/image/BufferedImage;I)V
      client a Lji;a(Ljava/awt/image/BufferedImage;I)V
      named load Lnet/minecraft/client/texture/TextureManager;load(Ljava/awt/image/BufferedImage;I)V
    • bind

      public void bind(int[] colors, int width, int height, int id)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1095 Lnet/minecraft/class_76;method_1095([IIII)V
      glue method_1452 Lclass_359;method_1452([IIII)V
      server method_1095 Lnet/minecraft/class_76;method_1095([IIII)V
      client a Lji;a([IIII)V
      named bind Lnet/minecraft/client/texture/TextureManager;bind([IIII)V
    • delete

      public void delete(int textureId)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1085 Lnet/minecraft/class_76;method_1085(I)V
      glue method_1442 Lclass_359;method_1442(I)V
      server method_1085 Lnet/minecraft/class_76;method_1085(I)V
      client a Lji;a(I)V
      named delete Lnet/minecraft/client/texture/TextureManager;delete(I)V
    • downloadTexture

      public int downloadTexture(String url, String backup)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1093 Lnet/minecraft/class_76;method_1093(Ljava/lang/String;Ljava/lang/String;)I
      glue method_1450 Lclass_359;method_1450(Ljava/lang/String;Ljava/lang/String;)I
      server method_1093 Lnet/minecraft/class_76;method_1093(Ljava/lang/String;Ljava/lang/String;)I
      client a Lji;a(Ljava/lang/String;Ljava/lang/String;)I
      named downloadTexture Lnet/minecraft/client/texture/TextureManager;downloadTexture(Ljava/lang/String;Ljava/lang/String;)I
    • downloadImage

      public ImageDownload downloadImage(String url, ImageProcessor processor)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1094 Lnet/minecraft/class_76;method_1094(Ljava/lang/String;Lnet/minecraft/class_131;)Lnet/minecraft/class_130;
      glue method_1451 Lclass_359;method_1451(Ljava/lang/String;Lclass_516;)Lclass_169;
      server method_1094 Lnet/minecraft/class_76;method_1094(Ljava/lang/String;Lnet/minecraft/class_131;)Lnet/minecraft/class_130;
      client a Lji;a(Ljava/lang/String;Lnf;)Lek;
      named downloadImage Lnet/minecraft/client/texture/TextureManager;downloadImage(Ljava/lang/String;Lnet/minecraft/client/texture/ImageProcessor;)Lnet/minecraft/client/texture/ImageDownload;
    • releaseImage

      public void releaseImage(String url)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1102 Lnet/minecraft/class_76;method_1102(Ljava/lang/String;)V
      glue method_1459 Lclass_359;method_1459(Ljava/lang/String;)V
      server method_1102 Lnet/minecraft/class_76;method_1102(Ljava/lang/String;)V
      client c Lji;c(Ljava/lang/String;)V
      named releaseImage Lnet/minecraft/client/texture/TextureManager;releaseImage(Ljava/lang/String;)V
    • addDynamicTexture

      public void addDynamicTexture(DynamicTexture texture)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1087 Lnet/minecraft/class_76;method_1087(Lnet/minecraft/class_336;)V
      glue method_1444 Lclass_359;method_1444(Lclass_40;)V
      server method_1087 Lnet/minecraft/class_76;method_1087(Lnet/minecraft/class_336;)V
      client a Lji;a(Law;)V
      named addDynamicTexture Lnet/minecraft/client/texture/TextureManager;addDynamicTexture(Lnet/minecraft/client/render/texture/DynamicTexture;)V
    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1084 Lnet/minecraft/class_76;method_1084()V
      glue method_1441 Lclass_359;method_1441()V
      server method_1084 Lnet/minecraft/class_76;method_1084()V
      client a Lji;a()V
      named tick Lnet/minecraft/client/texture/TextureManager;tick()V
    • smoothBlend

      private int smoothBlend(int color1, int color2)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1086 Lnet/minecraft/class_76;method_1086(II)I
      glue method_1443 Lclass_359;method_1443(II)I
      server method_1086 Lnet/minecraft/class_76;method_1086(II)I
      client a Lji;a(II)I
      named smoothBlend Lnet/minecraft/client/texture/TextureManager;smoothBlend(II)I
    • crispBlend

      private int crispBlend(int color1, int color2)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1098 Lnet/minecraft/class_76;method_1098(II)I
      glue method_1455 Lclass_359;method_1455(II)I
      server method_1098 Lnet/minecraft/class_76;method_1098(II)I
      client b Lji;b(II)I
      named crispBlend Lnet/minecraft/client/texture/TextureManager;crispBlend(II)I
    • reload

      public void reload()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1096 Lnet/minecraft/class_76;method_1096()V
      glue method_1453 Lclass_359;method_1453()V
      server method_1096 Lnet/minecraft/class_76;method_1096()V
      client b Lji;b()V
      named reload Lnet/minecraft/client/texture/TextureManager;reload()V
    • readImage

      private BufferedImage readImage(InputStream stream)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1091 Lnet/minecraft/class_76;method_1091(Ljava/io/InputStream;)Ljava/awt/image/BufferedImage;
      glue method_1448 Lclass_359;method_1448(Ljava/io/InputStream;)Ljava/awt/image/BufferedImage;
      server method_1091 Lnet/minecraft/class_76;method_1091(Ljava/io/InputStream;)Ljava/awt/image/BufferedImage;
      client a Lji;a(Ljava/io/InputStream;)Ljava/awt/image/BufferedImage;
      named readImage Lnet/minecraft/client/texture/TextureManager;readImage(Ljava/io/InputStream;)Ljava/awt/image/BufferedImage;
    • bindTexture

      public void bindTexture(int id)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1097 Lnet/minecraft/class_76;method_1097(I)V
      glue method_1454 Lclass_359;method_1454(I)V
      server method_1097 Lnet/minecraft/class_76;method_1097(I)V
      client b Lji;b(I)V
      named bindTexture Lnet/minecraft/client/texture/TextureManager;bindTexture(I)V