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 Type
    Method
    Description
    void
    run(net.minecraft.server.packs.resources.ResourceManager resourceManager, net.minecraft.client.renderer.texture.atlas.SpriteSource.Output output)
     
    @NonNull net.minecraft.client.renderer.texture.atlas.SpriteSourceType
     
     
    withLocation(net.minecraft.resources.ResourceLocation atlasLocation)
     

    Methods inherited from class java.lang.Object

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

    • run

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

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

      public T unwrap()
    • withLocation

      @Internal public SpriteProvider.Wrapper<T> withLocation(net.minecraft.resources.ResourceLocation atlasLocation)