Class ResourceTexture

java.lang.Object
net.minecraft.client.texture.AbstractTexture
net.minecraft.client.texture.ResourceTexture
All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
AsyncTexture, PlayerSkinTexture, SplashScreen.LogoTexture

@Environment(CLIENT)
public class ResourceTexture
extends AbstractTexture
Mappings:
Namespace Name
official erq
intermediary net/minecraft/class_1049
named net/minecraft/client/texture/ResourceTexture
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official e Lerq;e:Lorg/apache/logging/log4j/Logger;
      intermediary field_5225 Lnet/minecraft/class_1049;field_5225:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/client/texture/ResourceTexture;LOGGER:Lorg/apache/logging/log4j/Logger;
    • location

      protected final Identifier location
      Mappings:
      Namespace Name Mixin selector
      official d Lerq;d:Lwb;
      intermediary field_5224 Lnet/minecraft/class_1049;field_5224:Lnet/minecraft/class_2960;
      named location Lnet/minecraft/client/texture/ResourceTexture;location:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • ResourceTexture

      public ResourceTexture​(Identifier location)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lerq;<init>(Lwb;)V
      intermediary <init> Lnet/minecraft/class_1049;<init>(Lnet/minecraft/class_2960;)V
      named <init> Lnet/minecraft/client/texture/ResourceTexture;<init>(Lnet/minecraft/util/Identifier;)V
  • Method Details

    • load

      public void load​(ResourceManager manager) throws IOException
      Specified by:
      load in class AbstractTexture
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Leri;a(Lacx;)V
      intermediary method_4625 Lnet/minecraft/class_1044;method_4625(Lnet/minecraft/class_3300;)V
      named load Lnet/minecraft/client/texture/AbstractTexture;load(Lnet/minecraft/resource/ResourceManager;)V
    • upload

      private void upload​(NativeImage nativeImage, boolean blur, boolean clamp)
      Mappings:
      Namespace Name Mixin selector
      official a Lerq;a(Ldky;ZZ)V
      intermediary method_22810 Lnet/minecraft/class_1049;method_22810(Lnet/minecraft/class_1011;ZZ)V
      named upload Lnet/minecraft/client/texture/ResourceTexture;upload(Lnet/minecraft/client/texture/NativeImage;ZZ)V
    • loadTextureData

      protected ResourceTexture.TextureData loadTextureData​(ResourceManager resourceManager)
      Mappings:
      Namespace Name Mixin selector
      official b Lerq;b(Lacx;)Lerq$a;
      intermediary method_18153 Lnet/minecraft/class_1049;method_18153(Lnet/minecraft/class_3300;)Lnet/minecraft/class_1049$class_4006;
      named loadTextureData Lnet/minecraft/client/texture/ResourceTexture;loadTextureData(Lnet/minecraft/resource/ResourceManager;)Lnet/minecraft/client/texture/ResourceTexture$TextureData;