Class OpenPalettedPermutations

java.lang.Object
dev.dhyces.trimmed.impl.client.atlas.OpenPalettedPermutations
All Implemented Interfaces:
net.minecraft.client.renderer.texture.atlas.SpriteSource

public class OpenPalettedPermutations extends Object implements net.minecraft.client.renderer.texture.atlas.SpriteSource
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final record 
     
    static final record 
     

    Nested classes/interfaces inherited from interface net.minecraft.client.renderer.texture.atlas.SpriteSource

    net.minecraft.client.renderer.texture.atlas.SpriteSource.Output, net.minecraft.client.renderer.texture.atlas.SpriteSource.SpriteSupplier
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.MapCodec<OpenPalettedPermutations>
     

    Fields inherited from interface net.minecraft.client.renderer.texture.atlas.SpriteSource

    TEXTURE_ID_CONVERTER
  • Constructor Summary

    Constructors
    Constructor
    Description
    OpenPalettedPermutations(net.minecraft.resources.ResourceLocation paletteKey, MapHolder<net.minecraft.resources.ResourceLocation,String> permutations, TagHolder<net.minecraft.resources.ResourceLocation> textures)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run(net.minecraft.server.packs.resources.ResourceManager pResourceManager, net.minecraft.client.renderer.texture.atlas.SpriteSource.Output pOutput)
     
    net.minecraft.client.renderer.texture.atlas.SpriteSourceType
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • OpenPalettedPermutations

      public OpenPalettedPermutations(net.minecraft.resources.ResourceLocation paletteKey, MapHolder<net.minecraft.resources.ResourceLocation,String> permutations, TagHolder<net.minecraft.resources.ResourceLocation> textures)
  • Method Details

    • run

      public void run(net.minecraft.server.packs.resources.ResourceManager pResourceManager, net.minecraft.client.renderer.texture.atlas.SpriteSource.Output pOutput)
      Specified by:
      run in interface net.minecraft.client.renderer.texture.atlas.SpriteSource
    • type

      public net.minecraft.client.renderer.texture.atlas.SpriteSourceType type()
      Specified by:
      type in interface net.minecraft.client.renderer.texture.atlas.SpriteSource