Class CustomAnimatedTextureWidget

All Implemented Interfaces:
WidgetTooltipHolder<TextureWidget>, Drawable

public class CustomAnimatedTextureWidget extends TextureWidget
Similar to MCMeta animated
  • Field Details

    • time

      protected final int time
    • frameCount

      protected final int frameCount
    • internalCount

      protected int internalCount
    • oldCount

      protected int oldCount
  • Constructor Details

    • CustomAnimatedTextureWidget

      public CustomAnimatedTextureWidget(ResourceLocation texture, int x, int y, int width, int height, int u, int v, int regionWidth, int regionHeight, int textureWidth, int textureHeight, int time, int frameCount)
    • CustomAnimatedTextureWidget

      public CustomAnimatedTextureWidget(ResourceLocation texture, int x, int y, int width, int height, int u, int v, int time, int frameCount)
  • Method Details