类 PackListWidget
- java.lang.Object
-
- net.minecraft.client.gui.DrawableHelper
-
- net.minecraft.client.gui.AbstractParentElement
-
- net.minecraft.client.gui.widget.EntryListWidget<E>
-
- net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget<PackListWidget.ResourcePackEntry>
-
- net.minecraft.client.gui.screen.pack.PackListWidget
-
- 所有已实现的接口:
Drawable,Element,ParentElement
@Environment(CLIENT) public class PackListWidget extends AlwaysSelectedEntryListWidget<PackListWidget.ResourcePackEntry>
- Mappings:
Namespace Name official ebyintermediary net/minecraft/class_521named net/minecraft/client/gui/screen/pack/PackListWidget
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classPackListWidget.ResourcePackEntry-
从类继承的嵌套类/接口 net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget
AlwaysSelectedEntryListWidget.Entry<E extends AlwaysSelectedEntryListWidget.Entry<E>>
-
从类继承的嵌套类/接口 net.minecraft.client.gui.widget.EntryListWidget
EntryListWidget.MoveDirection
-
-
字段概要
字段 修饰符和类型 字段 说明 private static TextINCOMPATIBLEprivate static TextINCOMPATIBLE_CONFIRMprivate static IdentifierRESOURCE_PACKS_TEXTUREprivate Texttitle-
从类继承的字段 net.minecraft.client.gui.widget.EntryListWidget
bottom, centerListVertically, client, headerHeight, height, itemHeight, left, right, top, WHITE_TEXTURE, width
-
从类继承的字段 net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
-
构造器概要
构造器 构造器 说明 PackListWidget(MinecraftClient client, int width, int height, Text title)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 intgetRowWidth()protected intgetScrollbarPositionX()protected voidrenderHeader(MatrixStack matrices, int x, int y, Tessellator tessellator)-
从类继承的方法 net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget
changeFocus
-
从类继承的方法 net.minecraft.client.gui.widget.EntryListWidget
addEntry, centerScrollOn, children, clearEntries, clickedHeader, ensureSelectedEntryVisible, ensureVisible, getEntry, getEntryAtPosition, getEntryCount, getFocused, getMaxPosition, getMaxScroll, getRowLeft, getRowRight, getRowTop, getScrollAmount, getSelected, isFocused, isMouseOver, isSelectedEntry, keyPressed, method_31322, method_31323, method_35721, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, moveSelection, moveSelectionIf, remove, removeEntry, render, renderBackground, renderDecorations, renderList, replaceEntries, setLeftPos, setRenderHeader, setRenderSelection, setScrollAmount, setSelected, updateScrollingState, updateSize
-
从类继承的方法 net.minecraft.client.gui.AbstractParentElement
isDragging, setDragging, setFocused
-
从类继承的方法 net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, method_35719, method_35720, setZOffset
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.client.gui.Element
mouseMoved
-
从接口继承的方法 net.minecraft.client.gui.ParentElement
charTyped, focusOn, hoveredElement, keyReleased, setInitialFocus
-
-
-
-
字段详细资料
-
RESOURCE_PACKS_TEXTURE
private static final Identifier RESOURCE_PACKS_TEXTURE
- Mappings:
Namespace Name Mixin selector official aLeby;a:Lwp;intermediary field_19125Lnet/minecraft/class_521;field_19125:Lnet/minecraft/class_2960;named RESOURCE_PACKS_TEXTURELnet/minecraft/client/gui/screen/pack/PackListWidget;RESOURCE_PACKS_TEXTURE:Lnet/minecraft/util/Identifier;
-
INCOMPATIBLE
private static final Text INCOMPATIBLE
- Mappings:
Namespace Name Mixin selector official pLeby;p:Lon;intermediary field_19126Lnet/minecraft/class_521;field_19126:Lnet/minecraft/class_2561;named INCOMPATIBLELnet/minecraft/client/gui/screen/pack/PackListWidget;INCOMPATIBLE:Lnet/minecraft/text/Text;
-
INCOMPATIBLE_CONFIRM
private static final Text INCOMPATIBLE_CONFIRM
- Mappings:
Namespace Name Mixin selector official qLeby;q:Lon;intermediary field_19127Lnet/minecraft/class_521;field_19127:Lnet/minecraft/class_2561;named INCOMPATIBLE_CONFIRMLnet/minecraft/client/gui/screen/pack/PackListWidget;INCOMPATIBLE_CONFIRM:Lnet/minecraft/text/Text;
-
title
private final Text title
- Mappings:
Namespace Name Mixin selector official rLeby;r:Lon;intermediary field_18978Lnet/minecraft/class_521;field_18978:Lnet/minecraft/class_2561;named titleLnet/minecraft/client/gui/screen/pack/PackListWidget;title:Lnet/minecraft/text/Text;
-
-
构造器详细资料
-
PackListWidget
public PackListWidget(MinecraftClient client, int width, int height, Text title)
- Mappings:
Namespace Name Mixin selector official <init>Leby;<init>(Ldum;IILon;)Vintermediary <init>Lnet/minecraft/class_521;<init>(Lnet/minecraft/class_310;IILnet/minecraft/class_2561;)Vnamed <init>Lnet/minecraft/client/gui/screen/pack/PackListWidget;<init>(Lnet/minecraft/client/MinecraftClient;IILnet/minecraft/text/Text;)V
-
-
方法详细资料
-
renderHeader
protected void renderHeader(MatrixStack matrices, int x, int y, Tessellator tessellator)
- 覆盖:
renderHeader在类中EntryListWidget<PackListWidget.ResourcePackEntry>- Mappings:
Namespace Name Mixin selector official aLdvs;a(Ldpi;IILdpk;)Vintermediary method_25312Lnet/minecraft/class_350;method_25312(Lnet/minecraft/class_4587;IILnet/minecraft/class_289;)Vnamed renderHeaderLnet/minecraft/client/gui/widget/EntryListWidget;renderHeader(Lnet/minecraft/client/util/math/MatrixStack;IILnet/minecraft/client/render/Tessellator;)V
-
getRowWidth
public int getRowWidth()
- 覆盖:
getRowWidth在类中EntryListWidget<PackListWidget.ResourcePackEntry>- Mappings:
Namespace Name Mixin selector official dLdvs;d()Iintermediary method_25322Lnet/minecraft/class_350;method_25322()Inamed getRowWidthLnet/minecraft/client/gui/widget/EntryListWidget;getRowWidth()I
-
getScrollbarPositionX
protected int getScrollbarPositionX()
- 覆盖:
getScrollbarPositionX在类中EntryListWidget<PackListWidget.ResourcePackEntry>- Mappings:
Namespace Name Mixin selector official eLdvs;e()Iintermediary method_25329Lnet/minecraft/class_350;method_25329()Inamed getScrollbarPositionXLnet/minecraft/client/gui/widget/EntryListWidget;getScrollbarPositionX()I
-
-