public class ColouredTextFieldWidget
extends net.minecraft.client.gui.widget.TextFieldWidget
bordered, canLoseFocus, cursorPos, displayPos, filter, font, formatter, frame, highlightPos, isEditable, maxLength, responder, shiftPressed, suggestion, textColor, textColorUneditable, value
Constructor and Description |
---|
ColouredTextFieldWidget(net.minecraft.client.gui.FontRenderer fontRenderer,
int x,
int y,
int width,
int height,
net.minecraft.util.text.ITextComponent message) |
ColouredTextFieldWidget(net.minecraft.client.gui.FontRenderer fontRenderer,
int x,
int y,
int width,
int height,
net.minecraft.client.gui.widget.TextFieldWidget origin,
net.minecraft.util.text.ITextComponent message) |
Modifier and Type | Method and Description |
---|---|
void |
renderButton(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int mouseX,
int mouseY,
float partialTicks) |
void |
setHighlightColor(int highlightColor) |
canConsumeInput, changeFocus, charTyped, createNarrationMessage, deleteChars, deleteWords, getCursorPosition, getHighlighted, getInnerWidth, getMaxLength, getScreenX, getValue, getWordPosition, insertText, isBordered, isMouseOver, isVisible, keyPressed, mouseClicked, moveCursor, moveCursorTo, moveCursorToEnd, moveCursorToStart, onFocusedChanged, renderHighlight, setBordered, setCanLoseFocus, setCursorPosition, setEditable, setFilter, setFocus, setFormatter, setHighlightPos, setMaxLength, setResponder, setSuggestion, setTextColor, setTextColorUneditable, setValue, setVisible, setX, tick
clearFGColor, clicked, getFGColor, getHeight, getMessage, getWidth, getYImage, isFocused, isHovered, isValidClickButton, mouseDragged, mouseReleased, narrate, onClick, onDrag, onRelease, playDownSound, queueNarration, render, renderBg, renderToolTip, setAlpha, setFGColor, setFocused, setHeight, setMessage, setWidth
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
public ColouredTextFieldWidget(net.minecraft.client.gui.FontRenderer fontRenderer, int x, int y, int width, int height, net.minecraft.util.text.ITextComponent message)
public ColouredTextFieldWidget(net.minecraft.client.gui.FontRenderer fontRenderer, int x, int y, int width, int height, @Nullable net.minecraft.client.gui.widget.TextFieldWidget origin, net.minecraft.util.text.ITextComponent message)