From 0427ab89f1753a44b30cbc35ce021cbbdc845109 Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Thu, 10 Aug 2017 18:52:45 +0300 Subject: fix missing source folder --- .../renderer/texture/TextureAtlasSprite.html | 786 +++++++++++++++++++++ 1 file changed, 786 insertions(+) create mode 100644 javadoc/net/minecraft/client/renderer/texture/TextureAtlasSprite.html (limited to 'javadoc/net/minecraft/client/renderer/texture/TextureAtlasSprite.html') diff --git a/javadoc/net/minecraft/client/renderer/texture/TextureAtlasSprite.html b/javadoc/net/minecraft/client/renderer/texture/TextureAtlasSprite.html new file mode 100644 index 0000000..9afb879 --- /dev/null +++ b/javadoc/net/minecraft/client/renderer/texture/TextureAtlasSprite.html @@ -0,0 +1,786 @@ + + + + + +TextureAtlasSprite (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraft.client.renderer.texture
+

Class TextureAtlasSprite

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    IIcon
    +
    +
    +
    Direct Known Subclasses:
    +
    TextureClock, TextureCompass
    +
    +
    +
    +
    public class TextureAtlasSprite
    +extends java.lang.Object
    +implements IIcon
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        framesTextureData

        +
        protected java.util.List framesTextureData
        +
      • +
      + + + +
        +
      • +

        rotated

        +
        protected boolean rotated
        +
      • +
      + + + +
        +
      • +

        originX

        +
        protected int originX
        +
      • +
      + + + +
        +
      • +

        originY

        +
        protected int originY
        +
      • +
      + + + +
        +
      • +

        width

        +
        protected int width
        +
      • +
      + + + +
        +
      • +

        height

        +
        protected int height
        +
      • +
      + + + +
        +
      • +

        frameCounter

        +
        protected int frameCounter
        +
      • +
      + + + +
        +
      • +

        tickCounter

        +
        protected int tickCounter
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TextureAtlasSprite

        +
        protected TextureAtlasSprite(java.lang.String p_i1282_1_)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        initSprite

        +
        public void initSprite(int p_110971_1_,
        +              int p_110971_2_,
        +              int p_110971_3_,
        +              int p_110971_4_,
        +              boolean p_110971_5_)
        +
      • +
      + + + + + + + +
        +
      • +

        getOriginX

        +
        public int getOriginX()
        +
      • +
      + + + +
        +
      • +

        getOriginY

        +
        public int getOriginY()
        +
      • +
      + + + +
        +
      • +

        getIconWidth

        +
        public int getIconWidth()
        +
        +
        Specified by:
        +
        getIconWidth in interface IIcon
        +
        +
      • +
      + + + +
        +
      • +

        getIconHeight

        +
        public int getIconHeight()
        +
        +
        Specified by:
        +
        getIconHeight in interface IIcon
        +
        +
      • +
      + + + +
        +
      • +

        getMinU

        +
        public float getMinU()
        +
        +
        Specified by:
        +
        getMinU in interface IIcon
        +
        +
      • +
      + + + +
        +
      • +

        getMaxU

        +
        public float getMaxU()
        +
        +
        Specified by:
        +
        getMaxU in interface IIcon
        +
        +
      • +
      + + + +
        +
      • +

        getInterpolatedU

        +
        public float getInterpolatedU(double p_94214_1_)
        +
        +
        Specified by:
        +
        getInterpolatedU in interface IIcon
        +
        +
      • +
      + + + +
        +
      • +

        getMinV

        +
        public float getMinV()
        +
        +
        Specified by:
        +
        getMinV in interface IIcon
        +
        +
      • +
      + + + +
        +
      • +

        getMaxV

        +
        public float getMaxV()
        +
        +
        Specified by:
        +
        getMaxV in interface IIcon
        +
        +
      • +
      + + + +
        +
      • +

        getInterpolatedV

        +
        public float getInterpolatedV(double p_94207_1_)
        +
        +
        Specified by:
        +
        getInterpolatedV in interface IIcon
        +
        +
      • +
      + + + +
        +
      • +

        getIconName

        +
        public java.lang.String getIconName()
        +
        +
        Specified by:
        +
        getIconName in interface IIcon
        +
        +
      • +
      + + + +
        +
      • +

        updateAnimation

        +
        public void updateAnimation()
        +
      • +
      + + + +
        +
      • +

        getFrameTextureData

        +
        public int[][] getFrameTextureData(int p_147965_1_)
        +
      • +
      + + + +
        +
      • +

        getFrameCount

        +
        public int getFrameCount()
        +
      • +
      + + + +
        +
      • +

        setIconWidth

        +
        public void setIconWidth(int p_110966_1_)
        +
      • +
      + + + +
        +
      • +

        setIconHeight

        +
        public void setIconHeight(int p_110969_1_)
        +
      • +
      + + + +
        +
      • +

        loadSprite

        +
        public void loadSprite(java.awt.image.BufferedImage[] p_147964_1_,
        +              AnimationMetadataSection p_147964_2_,
        +              boolean p_147964_3_)
        +
      • +
      + + + +
        +
      • +

        generateMipmaps

        +
        public void generateMipmaps(int p_147963_1_)
        +
      • +
      + + + +
        +
      • +

        clearFramesTextureData

        +
        public void clearFramesTextureData()
        +
      • +
      + + + +
        +
      • +

        hasAnimationMetadata

        +
        public boolean hasAnimationMetadata()
        +
      • +
      + + + +
        +
      • +

        setFramesTextureData

        +
        public void setFramesTextureData(java.util.List p_110968_1_)
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        +
      • +
      + + + +
        +
      • +

        hasCustomLoader

        +
        public boolean hasCustomLoader(IResourceManager manager,
        +                      ResourceLocation location)
        +
        The result of this function determines is the below 'load' function is called, and the + default vanilla loading code is bypassed completely.
        +
        Parameters:
        manager -
        location -
        +
        Returns:
        True to use your own custom load code and bypass vanilla loading.
        +
      • +
      + + + +
        +
      • +

        load

        +
        public boolean load(IResourceManager manager,
        +           ResourceLocation location)
        +
        Load the specified resource as this sprite's data. + Returning false from this function will prevent this icon from being stitched onto the master texture.
        +
        Parameters:
        manager - Main resource manager
        location - File resource location
        +
        Returns:
        False to prevent this Icon from being stitched
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + -- cgit v1.2.3