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 pX, int pY, int pWidth, int pHeight, ResourceLocation pTexture, int pTextureWidth, int pTextureHeight)
  • Method Details