Class WidgetLabelVariable

java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.AbstractWidget
me.desht.pneumaticcraft.client.gui.widget.WidgetLabel
me.desht.pneumaticcraft.client.gui.remote.actionwidget.WidgetLabelVariable
All Implemented Interfaces:
ITooltipProvider, net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.Widget, net.minecraft.client.gui.narration.NarratableEntry, net.minecraft.client.gui.narration.NarrationSupplier

public class WidgetLabelVariable extends WidgetLabel
  • Nested Class Summary

    Nested classes/interfaces inherited from class me.desht.pneumaticcraft.client.gui.widget.WidgetLabel

    WidgetLabel.Alignment

    Nested classes/interfaces inherited from interface net.minecraft.client.gui.narration.NarratableEntry

    net.minecraft.client.gui.narration.NarratableEntry.NarrationPriority
  • Field Summary

    Fields inherited from class net.minecraft.client.gui.components.AbstractWidget

    active, alpha, height, isHovered, packedFGColor, UNSET_FG_COLOR, visible, WIDGETS_LOCATION, width, x, y

    Fields inherited from class net.minecraft.client.gui.GuiComponent

    BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION

    Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener

    DOUBLE_CLICK_THRESHOLD_MS
  • Constructor Summary

    Constructors
    Constructor
    Description
    WidgetLabelVariable(int x, int y, net.minecraft.network.chat.Component text)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    renderButton(com.mojang.blaze3d.vertex.PoseStack matrixStack, int mouseX, int mouseY, float partialTick)
     

    Methods inherited from class me.desht.pneumaticcraft.client.gui.widget.WidgetLabel

    addTooltip, clicked, getTooltip, setAlignment, setColor, setDropShadow, setMessage, setScale, setTooltip, setTooltip, updateNarration

    Methods inherited from class net.minecraft.client.gui.components.AbstractWidget

    changeFocus, clearFGColor, createNarrationMessage, defaultButtonNarrationText, getFGColor, getHeight, getMessage, getWidth, getYImage, isActive, isFocused, isHoveredOrFocused, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrationPriority, onClick, onDrag, onFocusedChanged, onRelease, playDownSound, render, renderBg, renderToolTip, setAlpha, setFGColor, setFocused, setHeight, setWidth, wrapDefaultNarrationMessage

    Methods inherited from class net.minecraft.client.gui.GuiComponent

    blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, fill, fillGradient, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener

    charTyped, keyPressed, keyReleased, mouseMoved, mouseScrolled

    Methods inherited from interface me.desht.pneumaticcraft.client.gui.widget.ITooltipProvider

    shouldProvide
  • Constructor Details

    • WidgetLabelVariable

      public WidgetLabelVariable(int x, int y, net.minecraft.network.chat.Component text)
  • Method Details

    • renderButton

      public void renderButton(com.mojang.blaze3d.vertex.PoseStack matrixStack, int mouseX, int mouseY, float partialTick)
      Overrides:
      renderButton in class WidgetLabel