Class SpriteProvider.Wrapper<T extends SpriteProvider<T>>
java.lang.Object
dev.lukebemish.dynamicassetgenerator.api.client.SpriteProvider.Wrapper<T>
- All Implemented Interfaces:
net.minecraft.client.renderer.texture.atlas.SpriteSource
- Enclosing interface:
SpriteProvider<T extends SpriteProvider<T>>
public static final class SpriteProvider.Wrapper<T extends SpriteProvider<T>>
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidrun(net.minecraft.server.packs.resources.ResourceManager resourceManager, net.minecraft.client.renderer.texture.atlas.SpriteSource.Output output) @NonNull net.minecraft.client.renderer.texture.atlas.SpriteSourceTypetype()unwrap()withLocation(net.minecraft.resources.ResourceLocation atlasLocation)
-
Method Details
-
run
public void run(net.minecraft.server.packs.resources.ResourceManager resourceManager, net.minecraft.client.renderer.texture.atlas.SpriteSource.Output output) - Specified by:
runin interfacenet.minecraft.client.renderer.texture.atlas.SpriteSource
-
type
public @NonNull net.minecraft.client.renderer.texture.atlas.SpriteSourceType type()- Specified by:
typein interfacenet.minecraft.client.renderer.texture.atlas.SpriteSource
-
unwrap
-
withLocation
@Internal public SpriteProvider.Wrapper<T> withLocation(net.minecraft.resources.ResourceLocation atlasLocation)
-