Class ResourcePackListWidget
java.lang.Object
net.minecraft.client.gui.widget.ListWidget
net.minecraft.client.gui.widget.EntryListWidget
net.minecraft.client.gui.screen.resourcepack.ResourcePackListWidget
- Direct Known Subclasses:
AvailableResourcePackListWidget,SelectedResourcePackListWidget
- Mappings:
Namespace Name official bjtintermediary net/minecraft/class_1832named net/minecraft/client/gui/screen/resourcepack/ResourcePackListWidget
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.widget.EntryListWidget
EntryListWidget.Entry -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final MinecraftClientprotected final List<ResourcePackWidget>Fields inherited from class net.minecraft.client.gui.widget.ListWidget
client, entryHeight, field_1254, field_1256, field_7735, headerHeight, height, lastMouseX, lastMouseY, renderHeader, renderSelection, scrollAmount, time, visible, width, xEnd, xStart, yDrag, yEnd, yStart -
Constructor Summary
ConstructorsConstructorDescriptionResourcePackListWidget(MinecraftClient client, int x, int y, List<ResourcePackWidget> widgets) -
Method Summary
Modifier and TypeMethodDescriptiongetEntry(int int2) protected intintprotected intprotected abstract StringgetTitle()protected voidrenderHeader(int x, int y, Tessellator tessellator) Methods inherited from class net.minecraft.client.gui.widget.EntryListWidget
isEntrySelected, mouseClicked, mouseReleased, renderBackground, renderEntry, selectEntry, updateItemPositionMethods inherited from class net.minecraft.client.gui.widget.ListWidget
buttonClicked, capYPosition, clickedHeader, getEntryAt, getItemHeight, getMaxPosition, getMaxScroll, getScrollAmount, handleMouse, isDragging, isMouseInList, render, renderDecorations, renderHoleBackground, renderList, scroll, setButtonIds, setDragging, setHeader, setRenderSelection, setXPos, updateBounds
-
Field Details
-
clientInstance
- Mappings:
Namespace Name Mixin selector official uLbjt;u:Lbes;intermediary field_7857Lnet/minecraft/class_1832;field_7857:Lnet/minecraft/class_1600;named clientInstanceLnet/minecraft/client/gui/screen/resourcepack/ResourcePackListWidget;clientInstance:Lnet/minecraft/client/MinecraftClient;
-
widgets
- Mappings:
Namespace Name Mixin selector official vLbjt;v:Ljava/util/List;intermediary field_7858Lnet/minecraft/class_1832;field_7858:Ljava/util/List;named widgetsLnet/minecraft/client/gui/screen/resourcepack/ResourcePackListWidget;widgets:Ljava/util/List;
-
-
Constructor Details
-
ResourcePackListWidget
public ResourcePackListWidget(MinecraftClient client, int x, int y, List<ResourcePackWidget> widgets) - Mappings:
Namespace Name Mixin selector official <init>Lbjt;<init>(Lbes;IILjava/util/List;)Vintermediary <init>Lnet/minecraft/class_1832;<init>(Lnet/minecraft/class_1600;IILjava/util/List;)Vnamed <init>Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackListWidget;<init>(Lnet/minecraft/client/MinecraftClient;IILjava/util/List;)V
-
-
Method Details
-
renderHeader
- Overrides:
renderHeaderin classListWidget- Mappings:
Namespace Name Mixin selector official aLbgd;a(IILbqs;)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
-
getTitle
- Mappings:
Namespace Name Mixin selector official eLbjt;e()Ljava/lang/String;intermediary method_6809Lnet/minecraft/class_1832;method_6809()Ljava/lang/String;named getTitleLnet/minecraft/client/gui/screen/resourcepack/ResourcePackListWidget;getTitle()Ljava/lang/String;
-
getWidgets
- Mappings:
Namespace Name Mixin selector official fLbjt;f()Ljava/util/List;intermediary method_6810Lnet/minecraft/class_1832;method_6810()Ljava/util/List;named getWidgetsLnet/minecraft/client/gui/screen/resourcepack/ResourcePackListWidget;getWidgets()Ljava/util/List;
-
getEntryCount
protected int getEntryCount()- Specified by:
getEntryCountin classListWidget- Mappings:
Namespace Name Mixin selector official bLbgd;b()Iintermediary method_1050Lnet/minecraft/class_390;method_1050()Inamed getEntryCountLnet/minecraft/client/gui/widget/ListWidget;getEntryCount()I
-
getEntry
- Specified by:
getEntryin classEntryListWidget- Mappings:
Namespace Name Mixin selector official cLbjt;c(I)Lbjn;intermediary method_6808Lnet/minecraft/class_1832;method_6808(I)Lnet/minecraft/class_1828;named getEntryLnet/minecraft/client/gui/screen/resourcepack/ResourcePackListWidget;getEntry(I)Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackWidget;
-
getRowWidth
public int getRowWidth()- Overrides:
getRowWidthin classListWidget- Mappings:
Namespace Name Mixin selector official cLbgd;c()Iintermediary method_6706Lnet/minecraft/class_390;method_6706()Inamed getRowWidthLnet/minecraft/client/gui/widget/ListWidget;getRowWidth()I
-
getScrollbarPosition
protected int getScrollbarPosition()- Overrides:
getScrollbarPositionin classListWidget- Mappings:
Namespace Name Mixin selector official dLbgd;d()Iintermediary method_1069Lnet/minecraft/class_390;method_1069()Inamed getScrollbarPositionLnet/minecraft/client/gui/widget/ListWidget;getScrollbarPosition()I
-