Class AtlasSprite

java.lang.Object
net.minecraft.client.texture.atlas.AtlasSprite

@Environment(CLIENT) public class AtlasSprite extends Object
Mappings:
Namespace Name
named net/minecraft/client/texture/atlas/AtlasSprite
intermediary net/minecraft/class_7958
official gpl
  • Field Details

    • id

      private final Identifier id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/client/texture/atlas/AtlasSprite;id:Lnet/minecraft/util/Identifier;
      intermediary field_41416 Lnet/minecraft/class_7958;field_41416:Lnet/minecraft/class_2960;
      official a Lgpl;a:Lalf;
    • resource

      private final Resource resource
      Mappings:
      Namespace Name Mixin selector
      named resource Lnet/minecraft/client/texture/atlas/AtlasSprite;resource:Lnet/minecraft/resource/Resource;
      intermediary field_41417 Lnet/minecraft/class_7958;field_41417:Lnet/minecraft/class_3298;
      official b Lgpl;b:Laun;
    • image

      private final AtomicReference<NativeImage> image
      Mappings:
      Namespace Name Mixin selector
      named image Lnet/minecraft/client/texture/atlas/AtlasSprite;image:Ljava/util/concurrent/atomic/AtomicReference;
      intermediary field_41418 Lnet/minecraft/class_7958;field_41418:Ljava/util/concurrent/atomic/AtomicReference;
      official c Lgpl;c:Ljava/util/concurrent/atomic/AtomicReference;
    • regionCount

      private final AtomicInteger regionCount
      Mappings:
      Namespace Name Mixin selector
      named regionCount Lnet/minecraft/client/texture/atlas/AtlasSprite;regionCount:Ljava/util/concurrent/atomic/AtomicInteger;
      intermediary field_41419 Lnet/minecraft/class_7958;field_41419:Ljava/util/concurrent/atomic/AtomicInteger;
      official d Lgpl;d:Ljava/util/concurrent/atomic/AtomicInteger;
  • Constructor Details

    • AtlasSprite

      public AtlasSprite(Identifier id, Resource resource, int regionCount)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/texture/atlas/AtlasSprite;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/resource/Resource;I)V
      intermediary <init> Lnet/minecraft/class_7958;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_3298;I)V
      official <init> Lgpl;<init>(Lalf;Laun;I)V
  • Method Details

    • read

      public NativeImage read() throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named read Lnet/minecraft/client/texture/atlas/AtlasSprite;read()Lnet/minecraft/client/texture/NativeImage;
      intermediary method_47697 Lnet/minecraft/class_7958;method_47697()Lnet/minecraft/class_1011;
      official a Lgpl;a()Lezb;
    • close

      public void close()
      Mappings:
      Namespace Name Mixin selector
      named close Lnet/minecraft/client/texture/atlas/AtlasSprite;close()V
      intermediary method_47698 Lnet/minecraft/class_7958;method_47698()V
      official b Lgpl;b()V