Class ImageWidget.Texture

All Implemented Interfaces:
GuiEventListener, Renderable, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier, IAbstractWidgetExtension
Enclosing class:
ImageWidget

static class ImageWidget.Texture extends ImageWidget
  • Field Details

    • texture

      private final ResourceLocation texture
    • textureWidth

      private final int textureWidth
    • textureHeight

      private final int textureHeight
  • Constructor Details

    • Texture

      public Texture(int x, int y, int width, int height, ResourceLocation texture, int textureWidth, int textureHeight)
  • Method Details