Class ResourcePackListWidget
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.class_4121
net.minecraft.client.gui.widget.ListWidget
net.minecraft.client.gui.widget.EntryListWidget<ResourcePackEntryWidget>
net.minecraft.client.gui.screen.resourcepack.ResourcePackListWidget
- All Implemented Interfaces:
class_4122,class_4123
- Direct Known Subclasses:
AvailableResourcePackListWidget,SelectedResourcePackListWidget
@Environment(CLIENT)
public abstract class ResourcePackListWidget
extends EntryListWidget<ResourcePackEntryWidget>
- Mappings:
Namespace Name official cmtintermediary 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<E extends EntryListWidget.Entry<E>> -
Field Summary
FieldsFields inherited from class net.minecraft.client.gui.widget.ListWidget
client, entryHeight, field_1256, field_20083, field_7735, headerHeight, height, renderHeader, renderSelection, time, visible, width, xEnd, xStart, yDrag, yEnd, yStartFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE, zOffset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintprotected intprotected abstract StringgetTitle()voidmethod_18829(ResourcePackEntryWidget resourcePackEntryWidget) protected voidrenderHeader(int x, int y, Tessellator tessellator) Methods inherited from class net.minecraft.client.gui.widget.EntryListWidget
getEntryCount, isEntrySelected, method_1055, method_18398, method_18399, method_18414, method_18416, method_18423, method_9528, renderBackgroundMethods inherited from class net.minecraft.client.gui.widget.ListWidget
capYPosition, charTyped, clickedHeader, getItemHeight, getMaxPosition, getMaxScroll, getScrollAmount, keyPressed, method_18411, method_18412, method_18415, method_18417, method_6704, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, render, renderDecorations, renderHoleBackground, scroll, setHeader, setRenderSelection, setXPos, updateBoundsMethods 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
-
clientInstance
- Mappings:
Namespace Name Mixin selector official vLcmt;v:Lcft;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;
-
-
Constructor Details
-
ResourcePackListWidget
-
-
Method Details
-
renderHeader
- Overrides:
renderHeaderin classListWidget- 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
-
getTitle
- Mappings:
Namespace Name Mixin selector official gLcmt;g()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;
-
getRowWidth
public int getRowWidth()- Overrides:
getRowWidthin classListWidget- 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
-
getScrollbarPosition
protected int getScrollbarPosition()- Overrides:
getScrollbarPositionin classListWidget- 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
-
method_18829
- Mappings:
Namespace Name Mixin selector official aLcmt;a(Lcmq;)Vintermediary method_18829Lnet/minecraft/class_1832;method_18829(Lnet/minecraft/class_1830;)Vnamed method_18829Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackListWidget;method_18829(Lnet/minecraft/client/gui/screen/resourcepack/ResourcePackEntryWidget;)V
-