Class PalettedPermutations
java.lang.Object
net.minecraft.client.renderer.texture.atlas.sources.PalettedPermutations
- All Implemented Interfaces:
- SpriteSource
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescription(package private) static final recordNested classes/interfaces inherited from interface net.minecraft.client.renderer.texture.atlas.SpriteSourceSpriteSource.Output, SpriteSource.SpriteSupplier
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<PalettedPermutations>(package private) static final org.slf4j.Loggerprivate final ResourceLocationprivate final Map<String,ResourceLocation> private final List<ResourceLocation>Fields inherited from interface net.minecraft.client.renderer.texture.atlas.SpriteSourceTEXTURE_ID_CONVERTER
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprivatePalettedPermutations(List<ResourceLocation> p_267282_, ResourceLocation p_266681_, Map<String, ResourceLocation> p_266741_) 
- 
Method SummaryModifier and TypeMethodDescriptionprivate static IntUnaryOperatorcreatePaletteMapping(int[] p_266839_, int[] p_266776_) static int[]loadPaletteEntryFromImage(ResourceManager p_267184_, ResourceLocation p_267059_) voidrun(ResourceManager p_267219_, SpriteSource.Output p_267250_) type()
- 
Field Details- 
LOGGERstatic final org.slf4j.Logger LOGGER
- 
CODEC
- 
textures
- 
permutations
- 
paletteKey
 
- 
- 
Constructor Details- 
PalettedPermutationsprivate PalettedPermutations(List<ResourceLocation> p_267282_, ResourceLocation p_266681_, Map<String, ResourceLocation> p_266741_) 
 
- 
- 
Method Details- 
run- Specified by:
- runin interface- SpriteSource
 
- 
createPaletteMapping
- 
loadPaletteEntryFromImagepublic static int[] loadPaletteEntryFromImage(ResourceManager p_267184_, ResourceLocation p_267059_) 
- 
type- Specified by:
- typein interface- SpriteSource
 
 
-