Class LodestoneTextureAtlasSpriteLoader

java.lang.Object
team.lodestar.lodestone.systems.textureloader.LodestoneTextureAtlasSpriteLoader
All Implemented Interfaces:
net.minecraftforge.client.textures.ITextureAtlasSpriteLoader

public class LodestoneTextureAtlasSpriteLoader extends Object implements net.minecraftforge.client.textures.ITextureAtlasSpriteLoader
  • Constructor Summary

    Constructors
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.client.renderer.texture.SpriteContents
    loadContents(net.minecraft.resources.ResourceLocation name, net.minecraft.server.packs.resources.Resource resource, net.minecraft.client.resources.metadata.animation.FrameSize frameSize, com.mojang.blaze3d.platform.NativeImage image, net.minecraft.client.resources.metadata.animation.AnimationMetadataSection animationMeta, net.minecraftforge.client.textures.ForgeTextureMetadata forgeMeta)
     
    @NotNull net.minecraft.client.renderer.texture.TextureAtlasSprite
    makeSprite(net.minecraft.resources.ResourceLocation atlasName, net.minecraft.client.renderer.texture.SpriteContents contents, int atlasWidth, int atlasHeight, int spriteX, int spriteY, int mipmapLevel)
     

    Methods inherited from class java.lang.Object

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

  • Method Details

    • loadContents

      public net.minecraft.client.renderer.texture.SpriteContents loadContents(net.minecraft.resources.ResourceLocation name, net.minecraft.server.packs.resources.Resource resource, net.minecraft.client.resources.metadata.animation.FrameSize frameSize, com.mojang.blaze3d.platform.NativeImage image, net.minecraft.client.resources.metadata.animation.AnimationMetadataSection animationMeta, net.minecraftforge.client.textures.ForgeTextureMetadata forgeMeta)
      Specified by:
      loadContents in interface net.minecraftforge.client.textures.ITextureAtlasSpriteLoader
    • makeSprite

      @NotNull public @NotNull net.minecraft.client.renderer.texture.TextureAtlasSprite makeSprite(net.minecraft.resources.ResourceLocation atlasName, net.minecraft.client.renderer.texture.SpriteContents contents, int atlasWidth, int atlasHeight, int spriteX, int spriteY, int mipmapLevel)
      Specified by:
      makeSprite in interface net.minecraftforge.client.textures.ITextureAtlasSpriteLoader