Class ExtendedEditBox

java.lang.Object
net.minecraft.client.gui.components.AbstractWidget
net.minecraft.client.gui.components.EditBox
com.pixelmonmod.pixelmon.client.gui.npc.widget.ExtendedEditBox
All Implemented Interfaces:
net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.Renderable, net.minecraft.client.gui.components.TabOrderedElement, net.minecraft.client.gui.layouts.LayoutElement, net.minecraft.client.gui.narration.NarratableEntry, net.minecraft.client.gui.narration.NarrationSupplier

public class ExtendedEditBox extends net.minecraft.client.gui.components.EditBox
  • Nested Class Summary

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

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

    Fields
    Modifier and Type
    Field
    Description
    boolean
     

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

    BACKWARDS, bordered, canLoseFocus, CURSOR_APPEND_CHARACTER, CURSOR_BLINK_INTERVAL_MS, CURSOR_INSERT_COLOR, CURSOR_INSERT_WIDTH, cursorPos, DEFAULT_TEXT_COLOR, displayPos, filter, focusedTime, font, formatter, FORWARDS, highlightPos, hint, isEditable, maxLength, responder, SPRITES, suggestion, textColor, textColorUneditable, value

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

    active, alpha, focused, height, hoverOrFocusedStartTime, isHovered, message, MIN_SCROLL_PERIOD, packedFGColor, PERIOD_PER_SCROLLED_PIXEL, tabOrderGroup, tooltip, tooltipMsDelay, UNSET_FG_COLOR, visible, wasHoveredOrFocused, width, x, y

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

    DOUBLE_CLICK_THRESHOLD_MS
  • Constructor Summary

    Constructors
    Constructor
    Description
    ExtendedEditBox(net.minecraft.client.gui.Font p_94106_, int p_94107_, int p_94108_, int p_94109_, int p_94110_, @Nullable net.minecraft.client.gui.components.EditBox p_94111_, net.minecraft.network.chat.Component p_94112_)
     
    ExtendedEditBox(net.minecraft.client.gui.Font p_94114_, int p_94115_, int p_94116_, int p_94117_, int p_94118_, net.minecraft.network.chat.Component p_94119_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onClick(double p_279417_, double p_279437_)
     
    void
    renderWidget(net.minecraft.client.gui.GuiGraphics p_283252_, int p_281594_, int p_282100_, float p_283101_)
     

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

    canConsumeInput, charTyped, createNarrationMessage, deleteChars, deleteWords, getCursorPosition, getHighlighted, getInnerWidth, getMaxLength, getScreenX, getValue, getWordPosition, insertText, isBordered, isMouseOver, isVisible, keyPressed, moveCursor, moveCursorTo, moveCursorToEnd, moveCursorToStart, nextFocusPath, playDownSound, renderHighlight, setBordered, setCanLoseFocus, setCursorPosition, setEditable, setFilter, setFocused, setFormatter, setHighlightPos, setHint, setMaxLength, setResponder, setSuggestion, setTextColor, setTextColorUneditable, setValue, setVisible, updateWidgetNarration

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

    clearFGColor, clicked, createTooltipPositioner, defaultButtonNarrationText, getFGColor, getHeight, getMessage, getRectangle, getTabOrderGroup, getTooltip, getWidth, getX, getY, isActive, isFocused, isHovered, isHoveredOrFocused, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrationPriority, onDrag, onRelease, render, renderScrollingString, renderScrollingString, renderScrollingString, setAlpha, setFGColor, setHeight, setMessage, setTabOrderGroup, setTooltip, setTooltipDelay, setWidth, setX, setY, updateNarration, visitWidgets, wrapDefaultNarrationMessage

    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

    getCurrentFocusPath, keyReleased, mouseMoved, mouseScrolled

    Methods inherited from interface net.minecraft.client.gui.layouts.LayoutElement

    setPosition

    Methods inherited from interface net.minecraft.client.gui.components.Renderable

    render
  • Field Details

    • dropShadow

      public boolean dropShadow
  • Constructor Details

    • ExtendedEditBox

      public ExtendedEditBox(net.minecraft.client.gui.Font p_94114_, int p_94115_, int p_94116_, int p_94117_, int p_94118_, net.minecraft.network.chat.Component p_94119_)
    • ExtendedEditBox

      public ExtendedEditBox(net.minecraft.client.gui.Font p_94106_, int p_94107_, int p_94108_, int p_94109_, int p_94110_, @Nullable @Nullable net.minecraft.client.gui.components.EditBox p_94111_, net.minecraft.network.chat.Component p_94112_)
  • Method Details

    • renderWidget

      public void renderWidget(net.minecraft.client.gui.GuiGraphics p_283252_, int p_281594_, int p_282100_, float p_283101_)
      Overrides:
      renderWidget in class net.minecraft.client.gui.components.EditBox
    • onClick

      public void onClick(double p_279417_, double p_279437_)
      Overrides:
      onClick in class net.minecraft.client.gui.components.EditBox