Class MeanShiftClusterSpriteSource

java.lang.Object
com.petrolpark.client.sprite.WrappedSpriteSource
com.petrolpark.client.sprite.MeanShiftClusterSpriteSource
All Implemented Interfaces:
net.minecraft.client.renderer.texture.atlas.SpriteSource

public class MeanShiftClusterSpriteSource extends WrappedSpriteSource
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<MeanShiftClusterSpriteSource> CODEC
    • TYPE

      public static final net.minecraft.client.renderer.texture.atlas.SpriteSourceType TYPE
  • Constructor Details

    • MeanShiftClusterSpriteSource

      public MeanShiftClusterSpriteSource(net.minecraft.client.renderer.texture.atlas.SpriteSource wrappedSource, String prefix, Optional<List<String>> allowedNamespaces, int maxIterations, double bandwidthCoefficient, double bandwidthVariationExponent, double bandwidthSampleSizeExponent)
  • Method Details

    • getMaxIterations

      public int getMaxIterations()
    • getBandwidthCoefficient

      public double getBandwidthCoefficient()
    • getBandwidthVariationExponent

      public double getBandwidthVariationExponent()
    • getBandwidthSampleSizeExponent

      public double getBandwidthSampleSizeExponent()
    • transform

      public net.minecraft.client.renderer.texture.atlas.SpriteSource.SpriteSupplier transform(net.minecraft.client.renderer.texture.SpriteContents original)
      Specified by:
      transform in class WrappedSpriteSource
    • type

      public net.minecraft.client.renderer.texture.atlas.SpriteSourceType type()