Package com.petrolpark.client.sprite
Class WrappedSpriteSource
java.lang.Object
com.petrolpark.client.sprite.WrappedSpriteSource
- All Implemented Interfaces:
net.minecraft.client.renderer.texture.atlas.SpriteSource
- Direct Known Subclasses:
MeanShiftClusterSpriteSource
public abstract class WrappedSpriteSource
extends Object
implements 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
Fields inherited from interface net.minecraft.client.renderer.texture.atlas.SpriteSource
TEXTURE_ID_CONVERTER -
Constructor Summary
ConstructorsConstructorDescriptionWrappedSpriteSource(net.minecraft.client.renderer.texture.atlas.SpriteSource wrappedSource, String prefix, Optional<List<String>> allowedNamespaces) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.client.renderer.texture.atlas.SpriteResourceLoadernet.minecraft.client.renderer.texture.atlas.SpriteSourcevoidrun(net.minecraft.server.packs.resources.ResourceManager resourceManager, net.minecraft.client.renderer.texture.atlas.SpriteSource.Output output) abstract net.minecraft.client.renderer.texture.atlas.SpriteSource.SpriteSuppliertransform(net.minecraft.client.renderer.texture.SpriteContents original) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.renderer.texture.atlas.SpriteSource
type
-
Constructor Details
-
WrappedSpriteSource
-
-
Method Details
-
getWrappedSource
public net.minecraft.client.renderer.texture.atlas.SpriteSource getWrappedSource() -
getPrefix
-
getAllowedNamespaces
-
run
public void run(@Nonnull net.minecraft.server.packs.resources.ResourceManager resourceManager, @Nonnull net.minecraft.client.renderer.texture.atlas.SpriteSource.Output output) - Specified by:
runin interfacenet.minecraft.client.renderer.texture.atlas.SpriteSource
-
createSpriteResourceLoader
public net.minecraft.client.renderer.texture.atlas.SpriteResourceLoader createSpriteResourceLoader() -
transform
public abstract net.minecraft.client.renderer.texture.atlas.SpriteSource.SpriteSupplier transform(net.minecraft.client.renderer.texture.SpriteContents original)
-