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
named net/minecraft/client/texture/atlas/PalettedPermutationsAtlasSource
intermediary net/minecraft/class_8066
official gpl
  • Field Details

    • LOGGER

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

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

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

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

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

    • PalettedPermutationsAtlasSource

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

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

      public static int[] open(ResourceManager resourceManager, Identifier texture)
      Mappings:
      Namespace Name Mixin selector
      named open Lnet/minecraft/client/texture/atlas/PalettedPermutationsAtlasSource;open(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/Identifier;)[I
      intermediary method_48486 Lnet/minecraft/class_8066;method_48486(Lnet/minecraft/class_3300;Lnet/minecraft/class_2960;)[I
      official a Lgpl;a(Laup;Lalf;)[I
    • 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 Lgpe;a()Lgpg;