Package com.petrolpark.client.sprite
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
-
Nested Class Summary
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
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<MeanShiftClusterSpriteSource> static final net.minecraft.client.renderer.texture.atlas.SpriteSourceTypeFields inherited from interface net.minecraft.client.renderer.texture.atlas.SpriteSource
TEXTURE_ID_CONVERTER -
Constructor Summary
ConstructorsConstructorDescriptionMeanShiftClusterSpriteSource(net.minecraft.client.renderer.texture.atlas.SpriteSource wrappedSource, String prefix, Optional<List<String>> allowedNamespaces, int maxIterations, double bandwidthCoefficient, double bandwidthVariationExponent, double bandwidthSampleSizeExponent) -
Method Summary
Methods inherited from class com.petrolpark.client.sprite.WrappedSpriteSource
createSpriteResourceLoader, getAllowedNamespaces, getPrefix, getWrappedSource, run
-
Field Details
-
CODEC
-
TYPE
public static final net.minecraft.client.renderer.texture.atlas.SpriteSourceType TYPE
-
-
Constructor Details
-
MeanShiftClusterSpriteSource
-
-
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:
transformin classWrappedSpriteSource
-
type
public net.minecraft.client.renderer.texture.atlas.SpriteSourceType type()
-