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
official ftn
intermediary net/minecraft/class_7955
named net/minecraft/client/texture/atlas/SingleAtlasSource
  • Field Details

    • LOGGER

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

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

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

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

    • SingleAtlasSource

      public SingleAtlasSource(Identifier resource, Optional<Identifier> sprite)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lftn;<init>(Ladd;Ljava/util/Optional;)V
      intermediary <init> Lnet/minecraft/class_7955;<init>(Lnet/minecraft/class_2960;Ljava/util/Optional;)V
      named <init> Lnet/minecraft/client/texture/atlas/SingleAtlasSource;<init>(Lnet/minecraft/util/Identifier;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
      official a Lftg;a(Lalh;Lftg$a;)V
      intermediary method_47673 Lnet/minecraft/class_7948;method_47673(Lnet/minecraft/class_3300;Lnet/minecraft/class_7948$class_7949;)V
      named load Lnet/minecraft/client/texture/atlas/AtlasSource;load(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/client/texture/atlas/AtlasSource$SpriteRegions;)V
    • getType

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