net.minecraft.client.texture.atlas

public record PalettedPermutationsAtlasSource

implements AtlasSource

net.minecraft.client.renderer.texture.atlas.sources.PalettedPermutations
net.minecraft.client.renderer.texture.atlas.sources.PalettedPermutations
net.minecraft.class_8066
net.minecraft.client.texture.atlas.PalettedPermutationsAtlasSource

Field summary

Modifier and TypeField
private final List<Identifier>
textures
textures
comp_3615
textures
private final Identifier
paletteKey
paletteKey
comp_3616
paletteKey
private final Map<String, Identifier>
permutations
permutations
comp_3617
permutations
private final String
separator
separator
comp_3618
separator
private static final org.slf4j.Logger
LOGGER
LOGGER
field_42078
LOGGER
public static final String
DEFAULT_SEPARATOR
DEFAULT_SEPARATOR
field_56378
DEFAULT_SEPARATOR
public static final com.mojang.serialization.MapCodec<PalettedPermutationsAtlasSource>
MAP_CODEC
MAP_CODEC
field_42077
CODEC

Constructor summary

ModifierConstructor
public (List<Identifier> textures, Identifier paletteKey, Map<String, Identifier> permutations)
public (List<Identifier> textures, Identifier paletteKey, Map<String, Identifier> permutations, String separator)

Method summary

Modifier and TypeMethod
public void
run(ResourceManager resourceManager, SpriteSource$Output output)
run(ResourceManager resourceManager, SpriteSource$Output output)
method_47673(class_3300 arg0, class_7948$class_7949 arg1)
load(ResourceManager arg0, AtlasSource$SpriteRegions arg1)
private static IntUnaryOperator
createPaletteMapping(int[] keys, int[] values)
createPaletteMapping(int[] keys, int[] values)
method_48492(int[] arg0, int[] arg1)
toMapper(int[] from, int[] to)
private static int[]
loadPaletteEntryFromImage(ResourceManager resourceManager, Identifier location)
loadPaletteEntryFromImage(ResourceManager resourceManager, Identifier location)
method_48486(class_3300 arg0, class_2960 arg1)
open(ResourceManager resourceManager, Identifier texture)
public com.mojang.serialization.MapCodec<PalettedPermutationsAtlasSource>
codec()
codec()
method_67288()
getCodec()
public List<Identifier>
textures()
textures()
comp_3615()
textures()
public Identifier
paletteKey()
paletteKey()
comp_3616()
paletteKey()
public Map<String, Identifier>
permutations()
permutations()
comp_3617()
permutations()
public String
separator()
separator()
comp_3618()
separator()