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 fov
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 b Lfov;b: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 a Lfov;a: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;
    • FINDER

      private final ResourceFinder FINDER
      Mappings:
      Namespace Name Mixin selector
      official c Lfov;c:Laby;
      intermediary field_41404 Lnet/minecraft/class_7955;field_41404:Lnet/minecraft/class_7654;
      named FINDER Lnet/minecraft/client/texture/atlas/SingleAtlasSource;FINDER:Lnet/minecraft/resource/ResourceFinder;
    • resource

      private final Identifier resource
      Mappings:
      Namespace Name Mixin selector
      official d Lfov;d:Lacf;
      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 Lfov;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> Lfov;<init>(Lacf;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 Lfop;a(Lake;Lfop$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 Lfop;a()Lfoq;
      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;