Class TextureWidget

java.lang.Object
emi.dev.emi.emi.api.widget.Widget
emi.dev.emi.emi.api.widget.TextureWidget
All Implemented Interfaces:
WidgetTooltipHolder<TextureWidget>, Drawable
Direct Known Subclasses:
AnimatedTextureWidget, CustomAnimatedTextureWidget

public class TextureWidget extends Widget implements WidgetTooltipHolder<TextureWidget>
  • Field Details

    • texture

      protected final ResourceLocation texture
    • x

      protected final int x
    • y

      protected final int y
    • width

      protected final int width
    • height

      protected final int height
    • u

      protected final int u
    • v

      protected final int v
    • regionWidth

      protected final int regionWidth
    • regionHeight

      protected final int regionHeight
    • textureWidth

      protected final int textureWidth
    • textureHeight

      protected final int textureHeight
  • Constructor Details

    • TextureWidget

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

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