Class TextAndImageButton

All Implemented Interfaces:
GuiEventListener, Renderable, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

public class TextAndImageButton extends Button
  • Field Details

    • resourceLocation

      protected final ResourceLocation resourceLocation
    • xTexStart

      protected final int xTexStart
    • yTexStart

      protected final int yTexStart
    • yDiffTex

      protected final int yDiffTex
    • textureWidth

      protected final int textureWidth
    • textureHeight

      protected final int textureHeight
    • xOffset

      private final int xOffset
    • yOffset

      private final int yOffset
    • usedTextureWidth

      private final int usedTextureWidth
    • usedTextureHeight

      private final int usedTextureHeight
  • Constructor Details

    • TextAndImageButton

      TextAndImageButton(Component p_268357_, int p_268106_, int p_268141_, int p_268331_, int p_268045_, int p_268300_, int p_268151_, int p_267955_, int p_268114_, int p_268103_, ResourceLocation p_268067_, Button.OnPress p_268052_)
  • Method Details