Class PalettedPermutationsAtlasSource

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

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

    • LOGGER

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official c Lgey;c:Lorg/slf4j/Logger;
      intermediary field_42078 Lnet/minecraft/class_8066;field_42078:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/client/texture/atlas/PalettedPermutationsAtlasSource;LOGGER:Lorg/slf4j/Logger;
    • CODEC

      public static final com.mojang.serialization.Codec<PalettedPermutationsAtlasSource> CODEC
      Mappings:
      Namespace Name Mixin selector
      official b Lgey;b:Lcom/mojang/serialization/Codec;
      intermediary field_42077 Lnet/minecraft/class_8066;field_42077:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/client/texture/atlas/PalettedPermutationsAtlasSource;CODEC:Lcom/mojang/serialization/Codec;
    • textures

      private final List<Identifier> textures
      Mappings:
      Namespace Name Mixin selector
      official d Lgey;d:Ljava/util/List;
      intermediary field_42079 Lnet/minecraft/class_8066;field_42079:Ljava/util/List;
      named textures Lnet/minecraft/client/texture/atlas/PalettedPermutationsAtlasSource;textures:Ljava/util/List;
    • permutations

      private final Map<String,Identifier> permutations
      Mappings:
      Namespace Name Mixin selector
      official e Lgey;e:Ljava/util/Map;
      intermediary field_42080 Lnet/minecraft/class_8066;field_42080:Ljava/util/Map;
      named permutations Lnet/minecraft/client/texture/atlas/PalettedPermutationsAtlasSource;permutations:Ljava/util/Map;
    • paletteKey

      private final Identifier paletteKey
      Mappings:
      Namespace Name Mixin selector
      official f Lgey;f:Lahg;
      intermediary field_42081 Lnet/minecraft/class_8066;field_42081:Lnet/minecraft/class_2960;
      named paletteKey Lnet/minecraft/client/texture/atlas/PalettedPermutationsAtlasSource;paletteKey:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • PalettedPermutationsAtlasSource

      private PalettedPermutationsAtlasSource(List<Identifier> textures, Identifier paletteKey, Map<String,Identifier> permutations)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lgey;<init>(Ljava/util/List;Lahg;Ljava/util/Map;)V
      intermediary <init> Lnet/minecraft/class_8066;<init>(Ljava/util/List;Lnet/minecraft/class_2960;Ljava/util/Map;)V
      named <init> Lnet/minecraft/client/texture/atlas/PalettedPermutationsAtlasSource;<init>(Ljava/util/List;Lnet/minecraft/util/Identifier;Ljava/util/Map;)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 Lger;a(Laqi;Lger$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
    • toMapper

      private static IntUnaryOperator toMapper(int[] from, int[] to)
      Mappings:
      Namespace Name Mixin selector
      official a Lgey;a([I[I)Ljava/util/function/IntUnaryOperator;
      intermediary method_48492 Lnet/minecraft/class_8066;method_48492([I[I)Ljava/util/function/IntUnaryOperator;
      named toMapper Lnet/minecraft/client/texture/atlas/PalettedPermutationsAtlasSource;toMapper([I[I)Ljava/util/function/IntUnaryOperator;
    • open

      public static int[] open(ResourceManager resourceManager, Identifier texture)
      Mappings:
      Namespace Name Mixin selector
      official a Lgey;a(Laqi;Lahg;)[I
      intermediary method_48486 Lnet/minecraft/class_8066;method_48486(Lnet/minecraft/class_3300;Lnet/minecraft/class_2960;)[I
      named open Lnet/minecraft/client/texture/atlas/PalettedPermutationsAtlasSource;open(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/Identifier;)[I
    • getType

      public AtlasSourceType getType()
      Specified by:
      getType in interface AtlasSource
      Mappings:
      Namespace Name Mixin selector
      official a Lger;a()Lget;
      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;