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
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static final record
Nested classes/interfaces inherited from interface net.minecraft.client.texture.atlas.AtlasSource
AtlasSource.SpriteRegion, AtlasSource.SpriteRegions
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<PalettedPermutationsAtlasSource> (package private) static final Logger
private final Identifier
private final Map
<String, Identifier> private final List
<Identifier> Fields inherited from interface net.minecraft.client.texture.atlas.AtlasSource
RESOURCE_FINDER
-
Constructor Summary
ModifierConstructorDescriptionprivate
PalettedPermutationsAtlasSource
(List<Identifier> textures, Identifier paletteKey, Map<String, Identifier> permutations) -
Method Summary
Modifier and TypeMethodDescriptiongetType()
void
load
(ResourceManager resourceManager, AtlasSource.SpriteRegions regions) static int[]
open
(ResourceManager resourceManager, Identifier texture) private static IntUnaryOperator
toMapper
(int[] from, int[] to)
-
Field Details
-
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
- 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
- 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
- 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
- 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
- Specified by:
load
in interfaceAtlasSource
- 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
- 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
- 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
- Specified by:
getType
in interfaceAtlasSource
- 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;
-