Class SmallBannerSpriteSource

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

public class SmallBannerSpriteSource extends Object implements net.minecraft.client.renderer.texture.atlas.SpriteSource
  • Field Details

    • CODEC

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

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

      protected static final double SMALL_BANNER_HEIGHT
      See Also:
  • Constructor Details

    • SmallBannerSpriteSource

      public SmallBannerSpriteSource(String sourcePath, String prefix)
  • Method Details

    • run

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

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