Class SpriteLoader

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

@Environment(CLIENT) public class SpriteLoader extends Object
Mappings:
Namespace Name
official fog
intermediary net/minecraft/class_7766
named net/minecraft/client/texture/SpriteLoader
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lfog;a:Lorg/slf4j/Logger;
      intermediary field_40548 Lnet/minecraft/class_7766;field_40548:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/client/texture/SpriteLoader;LOGGER:Lorg/slf4j/Logger;
    • id

      private final Identifier id
      Mappings:
      Namespace Name Mixin selector
      official b Lfog;b:Lacf;
      intermediary field_40549 Lnet/minecraft/class_7766;field_40549:Lnet/minecraft/class_2960;
      named id Lnet/minecraft/client/texture/SpriteLoader;id:Lnet/minecraft/util/Identifier;
    • maxTextureSize

      private final int maxTextureSize
      Mappings:
      Namespace Name Mixin selector
      official c Lfog;c:I
      intermediary field_40550 Lnet/minecraft/class_7766;field_40550:I
      named maxTextureSize Lnet/minecraft/client/texture/SpriteLoader;maxTextureSize:I
  • Constructor Details

    • SpriteLoader

      public SpriteLoader(Identifier id, int maxTextureSize)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfog;<init>(Lacf;I)V
      intermediary <init> Lnet/minecraft/class_7766;<init>(Lnet/minecraft/class_2960;I)V
      named <init> Lnet/minecraft/client/texture/SpriteLoader;<init>(Lnet/minecraft/util/Identifier;I)V
  • Method Details

    • fromAtlas

      public static SpriteLoader fromAtlas(SpriteAtlasTexture atlasTexture)
      Mappings:
      Namespace Name Mixin selector
      official a Lfog;a(Lfok;)Lfog;
      intermediary method_45837 Lnet/minecraft/class_7766;method_45837(Lnet/minecraft/class_1059;)Lnet/minecraft/class_7766;
      named fromAtlas Lnet/minecraft/client/texture/SpriteLoader;fromAtlas(Lnet/minecraft/client/texture/SpriteAtlasTexture;)Lnet/minecraft/client/texture/SpriteLoader;
    • method_47663

      public SpriteLoader.StitchResult method_47663(List<SpriteContents> list, int int2, Executor executor)
      Mappings:
      Namespace Name Mixin selector
      official a Lfog;a(Ljava/util/List;ILjava/util/concurrent/Executor;)Lfog$a;
      intermediary method_47663 Lnet/minecraft/class_7766;method_47663(Ljava/util/List;ILjava/util/concurrent/Executor;)Lnet/minecraft/class_7766$class_7767;
      named method_47663 Lnet/minecraft/client/texture/SpriteLoader;method_47663(Ljava/util/List;ILjava/util/concurrent/Executor;)Lnet/minecraft/client/texture/SpriteLoader$StitchResult;
    • method_47664

      public static CompletableFuture<List<SpriteContents>> method_47664(List<Supplier<SpriteContents>> list, Executor executor)
      Mappings:
      Namespace Name Mixin selector
      official a Lfog;a(Ljava/util/List;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_47664 Lnet/minecraft/class_7766;method_47664(Ljava/util/List;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
      named method_47664 Lnet/minecraft/client/texture/SpriteLoader;method_47664(Ljava/util/List;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
    • method_47661

      public CompletableFuture<SpriteLoader.StitchResult> method_47661(ResourceManager resourceManager, Identifier identifier, int int2, Executor executor)
      Mappings:
      Namespace Name Mixin selector
      official a Lfog;a(Lake;Lacf;ILjava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_47661 Lnet/minecraft/class_7766;method_47661(Lnet/minecraft/class_3300;Lnet/minecraft/class_2960;ILjava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
      named method_47661 Lnet/minecraft/client/texture/SpriteLoader;method_47661(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/Identifier;ILjava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
    • load

      @Nullable public static @Nullable SpriteContents load(Identifier id, Resource resource)
      Mappings:
      Namespace Name Mixin selector
      official a Lfog;a(Lacf;Lakc;)Lfof;
      intermediary method_45829 Lnet/minecraft/class_7766;method_45829(Lnet/minecraft/class_2960;Lnet/minecraft/class_3298;)Lnet/minecraft/class_7764;
      named load Lnet/minecraft/client/texture/SpriteLoader;load(Lnet/minecraft/util/Identifier;Lnet/minecraft/resource/Resource;)Lnet/minecraft/client/texture/SpriteContents;
    • collectStitchedSprites

      private Map<Identifier,Sprite> collectStitchedSprites(TextureStitcher<SpriteContents> stitcher)
      Mappings:
      Namespace Name Mixin selector
      official a Lfog;a(Lfoi;)Ljava/util/Map;
      intermediary method_45836 Lnet/minecraft/class_7766;method_45836(Lnet/minecraft/class_1055;)Ljava/util/Map;
      named collectStitchedSprites Lnet/minecraft/client/texture/SpriteLoader;collectStitchedSprites(Lnet/minecraft/client/texture/TextureStitcher;)Ljava/util/Map;