Options
All
  • Public
  • Public/Protected
  • All
Menu

Successor to the ItemAnimHelper library, rewritten to Java and restructured.

since

3.0

Index

Functions

  • Creates simple textures from given animated item texture from PC ('tall' texture)

    since

    3.0

    Parameters

    • sourcePath: any_string

      absolute path to the 'tall' texture

    • resultPath: any_string

      absolute path to the result textures (they will be with different meta and same name)

    Returns void

  • makeAdvancedAnim(id: number, textureName: any_string, interval: number, frames: number[]): void
  • The texture of the item with given ID will change its animation frames according to frame numbers array which you will specify

    since

    3.0

    Parameters

    • id: number

      numeric ID of the item to apply the animated icon to

    • textureName: any_string

      name of your item's texture without _meta.png

    • interval: number

      interval between which the texture will change its frame

    • frames: number[]

      frames that texture will be being changed to, every update interval

    Returns void

  • makeCommonAnim(id: number, textureName: any_string, ticks: number, frames: number): void
  • The texture of the item with given ID will animate between given intervals in ticks

    since

    3.0

    Parameters

    • id: number

      numeric ID of the item to apply the animated icon to

    • textureName: any_string

      name of your item's texture without _meta.png

    • ticks: number

      how many ticks must pass between changing item texture animation frame

    • frames: number

      how many frames does the item texture animation have

    Returns void

Generated using TypeDoc