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 fzp
intermediary net/minecraft/class_8066
named net/minecraft/client/texture/atlas/PalettedPermutationsAtlasSource
-
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.Codec<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 official c
Lfzp;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
- Mappings:
Namespace Name Mixin selector official b
Lfzp;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
- Mappings:
Namespace Name Mixin selector official d
Lfzp;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
- Mappings:
Namespace Name Mixin selector official e
Lfzp;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
- Mappings:
Namespace Name Mixin selector official f
Lfzp;f:Laew;
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>
Lfzp;<init>(Ljava/util/List;Laew;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
- Specified by:
load
in interfaceAtlasSource
- 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
-
toMapper
- Mappings:
Namespace Name Mixin selector official a
Lfzp;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
- Mappings:
Namespace Name Mixin selector official a
Lfzp;a(Lant;Laew;)[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
- Specified by:
getType
in interfaceAtlasSource
- 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;
-