Class DirectoryAtlasSource

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

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

    • CODEC

      public static final com.mojang.serialization.Codec<DirectoryAtlasSource> CODEC
      Mappings:
      Namespace Name Mixin selector
      official b Lfzn;b:Lcom/mojang/serialization/Codec;
      intermediary field_41399 Lnet/minecraft/class_7954;field_41399:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/client/texture/atlas/DirectoryAtlasSource;CODEC:Lcom/mojang/serialization/Codec;
    • source

      private final String source
      Mappings:
      Namespace Name Mixin selector
      official c Lfzn;c:Ljava/lang/String;
      intermediary field_41400 Lnet/minecraft/class_7954;field_41400:Ljava/lang/String;
      named source Lnet/minecraft/client/texture/atlas/DirectoryAtlasSource;source:Ljava/lang/String;
    • prefix

      private final String prefix
      Mappings:
      Namespace Name Mixin selector
      official d Lfzn;d:Ljava/lang/String;
      intermediary field_41401 Lnet/minecraft/class_7954;field_41401:Ljava/lang/String;
      named prefix Lnet/minecraft/client/texture/atlas/DirectoryAtlasSource;prefix:Ljava/lang/String;
  • Constructor Details

    • DirectoryAtlasSource

      public DirectoryAtlasSource(String source, String prefix)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfzn;<init>(Ljava/lang/String;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_7954;<init>(Ljava/lang/String;Ljava/lang/String;)V
      named <init> Lnet/minecraft/client/texture/atlas/DirectoryAtlasSource;<init>(Ljava/lang/String;Ljava/lang/String;)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 Lfzi;a(Lant;Lfzi$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 Lfzi;a()Lfzk;
      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;