Class SingleAtlasSource

java.lang.Object
net.minecraft.client.texture.atlas.SingleAtlasSource
All Implemented Interfaces:
AtlasSource

@Environment(CLIENT) public class SingleAtlasSource extends Object implements AtlasSource
Mappings:
Namespace Name
named net/minecraft/client/texture/atlas/SingleAtlasSource
intermediary net/minecraft/class_7955
official gqr
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/client/texture/atlas/SingleAtlasSource;LOGGER:Lorg/slf4j/Logger;
      intermediary field_41403 Lnet/minecraft/class_7955;field_41403:Lorg/slf4j/Logger;
      official c Lgqr;c:Lorg/slf4j/Logger;
    • CODEC

      public static final com.mojang.serialization.MapCodec<SingleAtlasSource> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/client/texture/atlas/SingleAtlasSource;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_41402 Lnet/minecraft/class_7955;field_41402:Lcom/mojang/serialization/MapCodec;
      official b Lgqr;b:Lcom/mojang/serialization/MapCodec;
    • resource

      private final Identifier resource
      Mappings:
      Namespace Name Mixin selector
      named resource Lnet/minecraft/client/texture/atlas/SingleAtlasSource;resource:Lnet/minecraft/util/Identifier;
      intermediary field_41405 Lnet/minecraft/class_7955;field_41405:Lnet/minecraft/class_2960;
      official d Lgqr;d:Lakq;
    • sprite

      private final Optional<Identifier> sprite
      Mappings:
      Namespace Name Mixin selector
      named sprite Lnet/minecraft/client/texture/atlas/SingleAtlasSource;sprite:Ljava/util/Optional;
      intermediary field_41406 Lnet/minecraft/class_7955;field_41406:Ljava/util/Optional;
      official e Lgqr;e:Ljava/util/Optional;
  • Constructor Details

    • SingleAtlasSource

      public SingleAtlasSource(Identifier resource, Optional<Identifier> sprite)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/texture/atlas/SingleAtlasSource;<init>(Lnet/minecraft/util/Identifier;Ljava/util/Optional;)V
      intermediary <init> Lnet/minecraft/class_7955;<init>(Lnet/minecraft/class_2960;Ljava/util/Optional;)V
      official <init> Lgqr;<init>(Lakq;Ljava/util/Optional;)V
  • Method Details

    • load

      public void load(ResourceManager resourceManager, AtlasSource.SpriteRegions regions)
      Specified by:
      load in interface AtlasSource
      Mappings:
      Namespace Name Mixin selector
      named load Lnet/minecraft/client/texture/atlas/AtlasSource;load(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/client/texture/atlas/AtlasSource$SpriteRegions;)V
      intermediary method_47673 Lnet/minecraft/class_7948;method_47673(Lnet/minecraft/class_3300;Lnet/minecraft/class_7948$class_7949;)V
      official a Lgqj;a(Laud;Lgqj$a;)V
    • getType

      public AtlasSourceType getType()
      Specified by:
      getType in interface AtlasSource
      Mappings:
      Namespace Name Mixin selector
      named getType Lnet/minecraft/client/texture/atlas/AtlasSource;getType()Lnet/minecraft/client/texture/atlas/AtlasSourceType;
      intermediary method_47672 Lnet/minecraft/class_7948;method_47672()Lnet/minecraft/class_7951;
      official a Lgqj;a()Lgql;