net.minecraft.client.gui.widget

public abstract class ScrollableTextFieldWidget

extends ScrollableWidget

All mapped superinterfaces:

Widget, Drawable, Element, Navigable, Selectable, Narratable

net.minecraft.client.gui.components.AbstractTextAreaWidget
net.minecraft.class_10415
net.minecraft.client.gui.widget.ScrollableTextFieldWidget

Field summary

Modifier and TypeField
private static final ButtonTextures
BACKGROUND_SPRITES
field_55260
TEXTURES
private static final int
INNER_PADDING
field_55261
field_55261
public static final int
DEFAULT_TOTAL_PADDING
field_60867
field_60867
private boolean
showBackground
field_60433
hasBackground
private boolean
showDecorations
field_60434
hasOverlay

Constructor summary

ModifierConstructor
public (int x, int y, int width, int height, Text narration)
public (int x, int y, int width, int height, Text message, boolean hasBackground, boolean hasOverlay)

Method summary

Modifier and TypeMethod
public boolean
mouseClicked(MouseButtonEvent event, boolean doubleClick)
method_25402(class_11909 arg0, boolean arg1)
mouseClicked(Click arg0, boolean arg1)
public boolean
keyPressed(KeyEvent event)
method_25404(class_11908 arg0)
keyPressed(KeyInput arg0)
public void
renderWidget(GuiGraphics graphics, int mouseX, int mouseY, float a)
method_48579(class_332 arg0, int arg1, int arg2, float arg3)
renderWidget(DrawContext arg0, int arg1, int arg2, float arg3)
protected void
renderDecorations(GuiGraphics graphics)
method_44384(class_332 arg0)
renderOverlay(DrawContext context)
protected int
innerPadding()
method_65509()
getTextMargin()
protected int
totalInnerPadding()
method_65512()
getPadding()
public boolean
isMouseOver(double mouseX, double mouseY)
method_25405(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
protected int
scrollBarX()
method_65507()
getScrollbarX()
protected int
contentHeight()
method_44395()
getContentsHeightWithPadding()
protected void
renderBackground(GuiGraphics graphics)
method_44386(class_332 arg0)
drawBox(DrawContext context)
protected void
renderBorder(GuiGraphics graphics, int x, int y, int width, int height)
method_65511(class_332 arg0, int arg1, int arg2, int arg3, int arg4)
draw(DrawContext context, int x, int y, int width, int height)
protected boolean
withinContentAreaTopBottom(int top, int bottom)
method_65510(int arg0, int arg1)
isVisible(int textTop, int textBottom)
protected abstract int
getInnerHeight()
method_44391()
getContentsHeight()
protected abstract void
renderContents(GuiGraphics graphics, int mouseX, int mouseY, float a)
method_44389(class_332 arg0, int arg1, int arg2, float arg3)
renderContents(DrawContext context, int mouseX, int mouseY, float deltaTicks)
protected int
getInnerLeft()
method_65513()
getTextX()
protected int
getInnerTop()
method_65514()
getTextY()
public void
playDownSound(SoundManager soundManager)
method_25354(class_1144 arg0)
playDownSound(SoundManager arg0)