Interface SpritePreparationContext

All Known Implementing Classes:
SpritePreparationContextImpl

public interface SpritePreparationContext
Created 28/04/2023 by SuperMartijn642
  • Method Details

    • getOriginalFrameWith

      int getOriginalFrameWith()
      Gets the original frame width as calculated by vanilla.
    • getOriginalFrameHeight

      int getOriginalFrameHeight()
      Gets the original frame height as calculated by vanilla.
    • getOriginalFrameSize

      default Pair<Integer,Integer> getOriginalFrameSize()
      Gets the original frame size as calculated by vanilla.
    • getTextureWidth

      int getTextureWidth()
      Gets the width of the texture.
    • getTextureHeight

      int getTextureHeight()
      Gets the height of the texture.
    • getIdentifier

      net.minecraft.resources.ResourceLocation getIdentifier()
      Gets the identifier of the texture.