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
named net/minecraft/client/texture/atlas/DirectoryAtlasSource
intermediary net/minecraft/class_7954
official hbt
  • Field Details

    • CODEC

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

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

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

    • DirectoryAtlasSource

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