Package net.minecraft.client.gui.widget
Class ListWidget
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.class_4121
net.minecraft.client.gui.widget.ListWidget
- All Implemented Interfaces:
class_4122,class_4123
- Direct Known Subclasses:
class_4156.class_2316,CustomizeFlatLevelScreen.CustomizeFlatLevelListWidget,DelegatingRealmsClickableScrolledSelectionListWidget,DelegatingRealmsScrolledSelectionListWidget,DelegatingRealmsSimpleScrolledSelectionListWidget,EntryListWidget,LanguageOptionsScreen.LanguageSelectionListWidget,SnooperScreen.SnooperEntryListWidget,StatsScreen.EntityStatsListWidget,StatsScreen.GeneralStatsListWidget,StatsScreen.ItemStatsListWidget,SuperflatPresetScreen.SuperflatPresetsListWidget
- Mappings:
Namespace Name official chlintermediary net/minecraft/class_390named net/minecraft/client/gui/widget/ListWidget
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final MinecraftClientprivate booleanprotected final intprotected intprotected doubleprotected booleanprotected intprotected intprotected booleanprotected booleanprotected longprotected booleanprotected intprotected intprotected intprotected intprotected intprotected intFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE, zOffset -
Constructor Summary
ConstructorsConstructorDescriptionListWidget(MinecraftClient client, int width, int height, int top, int bottom, int entryHeight) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbooleancharTyped(char char2, int int2) protected voidclickedHeader(int mouseX, int mouseY) protected abstract intintprotected intintintintprotected intprotected abstract booleanisEntrySelected(int index) booleankeyPressed(int int2, int int3, int int4) protected abstract voidmethod_1055(int int2, int int3, int int4, int int5, int int6, int int7, float float2) intmethod_18411(double double2, double double3) protected voidmethod_18412(double double2, double double3, int int2) protected booleanmethod_18414(int int2, int int3, double double2, double double3) booleanmethod_18415(double double2, double double3) voidmethod_18416(int int2) booleanprotected List<? extends class_4122>protected voidmethod_6704(int int2, int int3, int int4, int int5, float float2) protected voidmethod_9528(int int2, int int3, int int4, float float2) booleanmouseClicked(double double2, double double3, int int2) booleanmouseDragged(double double2, double double3, int int2, double double4, double double5) booleanmouseReleased(double double2, double double3, int int2) booleanmouseScrolled(double double2) voidrender(int mouseX, int mouseY, float delta) protected abstract voidprotected voidrenderDecorations(int mouseX, int mouseY) protected voidrenderHeader(int x, int y, Tessellator tessellator) protected voidrenderHoleBackground(int top, int bottom, int topAlpha, int bottomAlpha) voidscroll(int amount) protected voidsetHeader(boolean renderHeader, int headerHeight) voidsetRenderSelection(boolean renderSelection) voidsetXPos(int x) voidupdateBounds(int right, int height, int top, int bottom) Methods inherited from class net.minecraft.class_4121
getFocused, method_18421, method_18424, method_18425, method_18426Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawHorizontalLine, drawSprite, drawTexture, drawTexture, drawTexture, drawTexture, drawVerticalLine, drawWithShadow, fill, fillGradientMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.class_4122
method_18427, method_18428Methods inherited from interface net.minecraft.class_4123
keyReleased
-
Field Details
-
client
- Mappings:
Namespace Name Mixin selector official aLchl;a:Lcft;intermediary field_1241Lnet/minecraft/class_390;field_1241:Lnet/minecraft/class_1600;named clientLnet/minecraft/client/gui/widget/ListWidget;client:Lnet/minecraft/client/MinecraftClient;
-
width
protected int width- Mappings:
Namespace Name Mixin selector official fLchl;f:Iintermediary field_7733Lnet/minecraft/class_390;field_7733:Inamed widthLnet/minecraft/client/gui/widget/ListWidget;width:I
-
height
protected int height- Mappings:
Namespace Name Mixin selector official gLchl;g:Iintermediary field_1248Lnet/minecraft/class_390;field_1248:Inamed heightLnet/minecraft/client/gui/widget/ListWidget;height:I
-
yStart
protected int yStart- Mappings:
Namespace Name Mixin selector official hLchl;h:Iintermediary field_1242Lnet/minecraft/class_390;field_1242:Inamed yStartLnet/minecraft/client/gui/widget/ListWidget;yStart:I
-
yEnd
protected int yEnd- Mappings:
Namespace Name Mixin selector official iLchl;i:Iintermediary field_1243Lnet/minecraft/class_390;field_1243:Inamed yEndLnet/minecraft/client/gui/widget/ListWidget;yEnd:I
-
xEnd
protected int xEnd- Mappings:
Namespace Name Mixin selector official jLchl;j:Iintermediary field_1249Lnet/minecraft/class_390;field_1249:Inamed xEndLnet/minecraft/client/gui/widget/ListWidget;xEnd:I
-
xStart
protected int xStart- Mappings:
Namespace Name Mixin selector official kLchl;k:Iintermediary field_7734Lnet/minecraft/class_390;field_7734:Inamed xStartLnet/minecraft/client/gui/widget/ListWidget;xStart:I
-
entryHeight
protected final int entryHeight- Mappings:
Namespace Name Mixin selector official lLchl;l:Iintermediary field_1244Lnet/minecraft/class_390;field_1244:Inamed entryHeightLnet/minecraft/client/gui/widget/ListWidget;entryHeight:I
-
field_7735
protected boolean field_7735- Mappings:
Namespace Name Mixin selector official mLchl;m:Zintermediary field_7735Lnet/minecraft/class_390;field_7735:Znamed field_7735Lnet/minecraft/client/gui/widget/ListWidget;field_7735:Z
-
yDrag
protected int yDrag- Mappings:
Namespace Name Mixin selector official nLchl;n:Iintermediary field_10407Lnet/minecraft/class_390;field_10407:Inamed yDragLnet/minecraft/client/gui/widget/ListWidget;yDrag:I
-
field_20083
protected double field_20083- Mappings:
Namespace Name Mixin selector official oLchl;o:Dintermediary field_20083Lnet/minecraft/class_390;field_20083:Dnamed field_20083Lnet/minecraft/client/gui/widget/ListWidget;field_20083:D
-
field_1256
protected int field_1256- Mappings:
Namespace Name Mixin selector official pLchl;p:Iintermediary field_1256Lnet/minecraft/class_390;field_1256:Inamed field_1256Lnet/minecraft/client/gui/widget/ListWidget;field_1256:I
-
time
protected long time- Mappings:
Namespace Name Mixin selector official qLchl;q:Jintermediary field_1257Lnet/minecraft/class_390;field_1257:Jnamed timeLnet/minecraft/client/gui/widget/ListWidget;time:J
-
visible
protected boolean visible- Mappings:
Namespace Name Mixin selector official rLchl;r:Zintermediary field_10408Lnet/minecraft/class_390;field_10408:Znamed visibleLnet/minecraft/client/gui/widget/ListWidget;visible:Z
-
renderSelection
protected boolean renderSelection- Mappings:
Namespace Name Mixin selector official sLchl;s:Zintermediary field_7736Lnet/minecraft/class_390;field_7736:Znamed renderSelectionLnet/minecraft/client/gui/widget/ListWidget;renderSelection:Z
-
renderHeader
protected boolean renderHeader- Mappings:
Namespace Name Mixin selector official tLchl;t:Zintermediary field_1259Lnet/minecraft/class_390;field_1259:Znamed renderHeaderLnet/minecraft/client/gui/widget/ListWidget;renderHeader:Z
-
headerHeight
protected int headerHeight- Mappings:
Namespace Name Mixin selector official uLchl;u:Iintermediary field_1260Lnet/minecraft/class_390;field_1260:Inamed headerHeightLnet/minecraft/client/gui/widget/ListWidget;headerHeight:I
-
dragging
private boolean dragging- Mappings:
Namespace Name Mixin selector official vLchl;v:Zintermediary field_7737Lnet/minecraft/class_390;field_7737:Znamed draggingLnet/minecraft/client/gui/widget/ListWidget;dragging:Z
-
-
Constructor Details
-
ListWidget
public ListWidget(MinecraftClient client, int width, int height, int top, int bottom, int entryHeight) - Mappings:
Namespace Name Mixin selector official <init>Lchl;<init>(Lcft;IIIII)Vintermediary <init>Lnet/minecraft/class_390;<init>(Lnet/minecraft/class_1600;IIIII)Vnamed <init>Lnet/minecraft/client/gui/widget/ListWidget;<init>(Lnet/minecraft/client/MinecraftClient;IIIII)V
-
-
Method Details
-
updateBounds
public void updateBounds(int right, int height, int top, int bottom) - Mappings:
Namespace Name Mixin selector official cLchl;c(IIII)Vintermediary method_1054Lnet/minecraft/class_390;method_1054(IIII)Vnamed updateBoundsLnet/minecraft/client/gui/widget/ListWidget;updateBounds(IIII)V
-
setRenderSelection
public void setRenderSelection(boolean renderSelection) - Mappings:
Namespace Name Mixin selector official cLchl;c(Z)Vintermediary method_1060Lnet/minecraft/class_390;method_1060(Z)Vnamed setRenderSelectionLnet/minecraft/client/gui/widget/ListWidget;setRenderSelection(Z)V
-
setHeader
protected void setHeader(boolean renderHeader, int headerHeight) - Mappings:
Namespace Name Mixin selector official aLchl;a(ZI)Vintermediary method_1061Lnet/minecraft/class_390;method_1061(ZI)Vnamed setHeaderLnet/minecraft/client/gui/widget/ListWidget;setHeader(ZI)V
-
method_18417
public boolean method_18417()- Mappings:
Namespace Name Mixin selector official mLchl;m()Zintermediary method_18417Lnet/minecraft/class_390;method_18417()Znamed method_18417Lnet/minecraft/client/gui/widget/ListWidget;method_18417()Z
-
getEntryCount
protected abstract int getEntryCount()- Mappings:
Namespace Name Mixin selector official dLchl;d()Iintermediary method_1050Lnet/minecraft/class_390;method_1050()Inamed getEntryCountLnet/minecraft/client/gui/widget/ListWidget;getEntryCount()I
-
method_18416
public void method_18416(int int2) - Mappings:
Namespace Name Mixin selector official bLchl;b(I)Vintermediary method_18416Lnet/minecraft/class_390;method_18416(I)Vnamed method_18416Lnet/minecraft/client/gui/widget/ListWidget;method_18416(I)V
-
method_18423
- Specified by:
method_18423in classclass_4121- Mappings:
Namespace Name Mixin selector official bLchq;b()Ljava/util/List;intermediary method_18423Lnet/minecraft/class_4121;method_18423()Ljava/util/List;named method_18423Lnet/minecraft/class_4121;method_18423()Ljava/util/List;
-
method_18414
protected boolean method_18414(int int2, int int3, double double2, double double3) - Mappings:
Namespace Name Mixin selector official aLchl;a(IIDD)Zintermediary method_18414Lnet/minecraft/class_390;method_18414(IIDD)Znamed method_18414Lnet/minecraft/client/gui/widget/ListWidget;method_18414(IIDD)Z
-
isEntrySelected
protected abstract boolean isEntrySelected(int index) - Mappings:
Namespace Name Mixin selector official aLchl;a(I)Zintermediary method_1051Lnet/minecraft/class_390;method_1051(I)Znamed isEntrySelectedLnet/minecraft/client/gui/widget/ListWidget;isEntrySelected(I)Z
-
getMaxPosition
protected int getMaxPosition()- Mappings:
Namespace Name Mixin selector official nLchl;n()Iintermediary method_1062Lnet/minecraft/class_390;method_1062()Inamed getMaxPositionLnet/minecraft/client/gui/widget/ListWidget;getMaxPosition()I
-
renderBackground
protected abstract void renderBackground()- Mappings:
Namespace Name Mixin selector official aLchl;a()Vintermediary method_1066Lnet/minecraft/class_390;method_1066()Vnamed renderBackgroundLnet/minecraft/client/gui/widget/ListWidget;renderBackground()V
-
method_9528
protected void method_9528(int int2, int int3, int int4, float float2) - Mappings:
Namespace Name Mixin selector official aLchl;a(IIIF)Vintermediary method_9528Lnet/minecraft/class_390;method_9528(IIIF)Vnamed method_9528Lnet/minecraft/client/gui/widget/ListWidget;method_9528(IIIF)V
-
method_1055
protected abstract void method_1055(int int2, int int3, int int4, int int5, int int6, int int7, float float2) - Mappings:
Namespace Name Mixin selector official aLchl;a(IIIIIIF)Vintermediary method_1055Lnet/minecraft/class_390;method_1055(IIIIIIF)Vnamed method_1055Lnet/minecraft/client/gui/widget/ListWidget;method_1055(IIIIIIF)V
-
renderHeader
- Mappings:
Namespace Name Mixin selector official aLchl;a(IILcum;)Vintermediary method_1056Lnet/minecraft/class_390;method_1056(IILnet/minecraft/class_533;)Vnamed renderHeaderLnet/minecraft/client/gui/widget/ListWidget;renderHeader(IILnet/minecraft/client/render/Tessellator;)V
-
clickedHeader
protected void clickedHeader(int mouseX, int mouseY) - Mappings:
Namespace Name Mixin selector official aLchl;a(II)Vintermediary method_1052Lnet/minecraft/class_390;method_1052(II)Vnamed clickedHeaderLnet/minecraft/client/gui/widget/ListWidget;clickedHeader(II)V
-
renderDecorations
protected void renderDecorations(int mouseX, int mouseY) - Mappings:
Namespace Name Mixin selector official bLchl;b(II)Vintermediary method_1064Lnet/minecraft/class_390;method_1064(II)Vnamed renderDecorationsLnet/minecraft/client/gui/widget/ListWidget;renderDecorations(II)V
-
method_18411
public int method_18411(double double2, double double3) - Mappings:
Namespace Name Mixin selector official aLchl;a(DD)Iintermediary method_18411Lnet/minecraft/class_390;method_18411(DD)Inamed method_18411Lnet/minecraft/client/gui/widget/ListWidget;method_18411(DD)I
-
capYPosition
protected void capYPosition()- Mappings:
Namespace Name Mixin selector official oLchl;o()Vintermediary method_1070Lnet/minecraft/class_390;method_1070()Vnamed capYPositionLnet/minecraft/client/gui/widget/ListWidget;capYPosition()V
-
getMaxScroll
public int getMaxScroll()- Mappings:
Namespace Name Mixin selector official pLchl;p()Iintermediary method_1068Lnet/minecraft/class_390;method_1068()Inamed getMaxScrollLnet/minecraft/client/gui/widget/ListWidget;getMaxScroll()I
-
getScrollAmount
public int getScrollAmount()- Mappings:
Namespace Name Mixin selector official qLchl;q()Iintermediary method_6708Lnet/minecraft/class_390;method_6708()Inamed getScrollAmountLnet/minecraft/client/gui/widget/ListWidget;getScrollAmount()I
-
method_18415
public boolean method_18415(double double2, double double3) - Mappings:
Namespace Name Mixin selector official bLchl;b(DD)Zintermediary method_18415Lnet/minecraft/class_390;method_18415(DD)Znamed method_18415Lnet/minecraft/client/gui/widget/ListWidget;method_18415(DD)Z
-
scroll
public void scroll(int amount) - Mappings:
Namespace Name Mixin selector official eLchl;e(I)Vintermediary method_1063Lnet/minecraft/class_390;method_1063(I)Vnamed scrollLnet/minecraft/client/gui/widget/ListWidget;scroll(I)V
-
render
public void render(int mouseX, int mouseY, float delta) - Mappings:
Namespace Name Mixin selector official aLchl;a(IIF)Vintermediary method_1053Lnet/minecraft/class_390;method_1053(IIF)Vnamed renderLnet/minecraft/client/gui/widget/ListWidget;render(IIF)V
-
method_18412
protected void method_18412(double double2, double double3, int int2) - Mappings:
Namespace Name Mixin selector official aLchl;a(DDI)Vintermediary method_18412Lnet/minecraft/class_390;method_18412(DDI)Vnamed method_18412Lnet/minecraft/client/gui/widget/ListWidget;method_18412(DDI)V
-
mouseClicked
public boolean mouseClicked(double double2, double double3, int int2) - Specified by:
mouseClickedin interfaceclass_4122- Specified by:
mouseClickedin interfaceclass_4123- Overrides:
mouseClickedin classclass_4121- Mappings:
Namespace Name Mixin selector official mouseClickedLchr;mouseClicked(DDI)Zintermediary mouseClickedLnet/minecraft/class_4122;mouseClicked(DDI)Znamed mouseClickedLnet/minecraft/class_4122;mouseClicked(DDI)Z
-
mouseReleased
public boolean mouseReleased(double double2, double double3, int int2) - Specified by:
mouseReleasedin interfaceclass_4122- Specified by:
mouseReleasedin interfaceclass_4123- Overrides:
mouseReleasedin classclass_4121- Mappings:
Namespace Name Mixin selector official mouseReleasedLchr;mouseReleased(DDI)Zintermediary mouseReleasedLnet/minecraft/class_4122;mouseReleased(DDI)Znamed mouseReleasedLnet/minecraft/class_4122;mouseReleased(DDI)Z
-
mouseDragged
public boolean mouseDragged(double double2, double double3, int int2, double double4, double double5) - Specified by:
mouseDraggedin interfaceclass_4122- Specified by:
mouseDraggedin interfaceclass_4123- Overrides:
mouseDraggedin classclass_4121- Mappings:
Namespace Name Mixin selector official mouseDraggedLchr;mouseDragged(DDIDD)Zintermediary mouseDraggedLnet/minecraft/class_4122;mouseDragged(DDIDD)Znamed mouseDraggedLnet/minecraft/class_4122;mouseDragged(DDIDD)Z
-
mouseScrolled
public boolean mouseScrolled(double double2) - Mappings:
Namespace Name Mixin selector official mouseScrolledLchr;mouseScrolled(D)Zintermediary mouseScrolledLnet/minecraft/class_4122;mouseScrolled(D)Znamed mouseScrolledLnet/minecraft/class_4122;mouseScrolled(D)Z
-
keyPressed
public boolean keyPressed(int int2, int int3, int int4) - Specified by:
keyPressedin interfaceclass_4122- Specified by:
keyPressedin interfaceclass_4123- Overrides:
keyPressedin classclass_4121- Mappings:
Namespace Name Mixin selector official keyPressedLchr;keyPressed(III)Zintermediary keyPressedLnet/minecraft/class_4122;keyPressed(III)Znamed keyPressedLnet/minecraft/class_4122;keyPressed(III)Z
-
charTyped
public boolean charTyped(char char2, int int2) - Mappings:
Namespace Name Mixin selector official charTypedLchr;charTyped(CI)Zintermediary charTypedLnet/minecraft/class_4122;charTyped(CI)Znamed charTypedLnet/minecraft/class_4122;charTyped(CI)Z
-
getRowWidth
public int getRowWidth()- Mappings:
Namespace Name Mixin selector official eLchl;e()Iintermediary method_6706Lnet/minecraft/class_390;method_6706()Inamed getRowWidthLnet/minecraft/client/gui/widget/ListWidget;getRowWidth()I
-
method_6704
protected void method_6704(int int2, int int3, int int4, int int5, float float2) - Mappings:
Namespace Name Mixin selector official aLchl;a(IIIIF)Vintermediary method_6704Lnet/minecraft/class_390;method_6704(IIIIF)Vnamed method_6704Lnet/minecraft/client/gui/widget/ListWidget;method_6704(IIIIF)V
-
getScrollbarPosition
protected int getScrollbarPosition()- Mappings:
Namespace Name Mixin selector official fLchl;f()Iintermediary method_1069Lnet/minecraft/class_390;method_1069()Inamed getScrollbarPositionLnet/minecraft/client/gui/widget/ListWidget;getScrollbarPosition()I
-
renderHoleBackground
protected void renderHoleBackground(int top, int bottom, int topAlpha, int bottomAlpha) - Mappings:
Namespace Name Mixin selector official dLchl;d(IIII)Vintermediary method_1065Lnet/minecraft/class_390;method_1065(IIII)Vnamed renderHoleBackgroundLnet/minecraft/client/gui/widget/ListWidget;renderHoleBackground(IIII)V
-
setXPos
public void setXPos(int x) - Mappings:
Namespace Name Mixin selector official fLchl;f(I)Vintermediary method_6709Lnet/minecraft/class_390;method_6709(I)Vnamed setXPosLnet/minecraft/client/gui/widget/ListWidget;setXPos(I)V
-
getItemHeight
public int getItemHeight()- Mappings:
Namespace Name Mixin selector official sLchl;s()Iintermediary method_6711Lnet/minecraft/class_390;method_6711()Inamed getItemHeightLnet/minecraft/client/gui/widget/ListWidget;getItemHeight()I
-