Class ResourcePackList
java.lang.Object
net.minecraft.client.gui.AbstractGui
net.minecraft.client.gui.FocusableGui
net.minecraft.client.gui.widget.list.AbstractList<E>
net.minecraft.client.gui.widget.list.ExtendedList<ResourcePackList.ResourcePackEntry>
net.minecraft.client.gui.widget.list.ResourcePackList
- All Implemented Interfaces:
IGuiEventListener
,INestedGuiEventHandler
,IRenderable
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.widget.list.ExtendedList
ExtendedList.AbstractListEntry<E extends ExtendedList.AbstractListEntry<E>>
Nested classes/interfaces inherited from class net.minecraft.client.gui.widget.list.AbstractList
AbstractList.Ordering, AbstractList.SimpleArrayList
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
private static final ITextComponent
private static final ITextComponent
private final ITextComponent
Fields inherited from class net.minecraft.client.gui.widget.list.AbstractList
centerListVertically, headerHeight, height, itemHeight, minecraft, width, x0, x1, y0, y1
Fields inherited from class net.minecraft.client.gui.AbstractGui
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
Constructor Summary
ConstructorDescriptionResourcePackList
(Minecraft p_i241200_1_, int p_i241200_2_, int p_i241200_3_, ITextComponent p_i241200_4_) -
Method Summary
Modifier and TypeMethodDescriptionint
protected int
protected void
renderHeader
(MatrixStack p_230448_1_, int p_230448_2_, int p_230448_3_, Tessellator p_230448_4_) Methods inherited from class net.minecraft.client.gui.widget.list.ExtendedList
changeFocus
Methods inherited from class net.minecraft.client.gui.widget.list.AbstractList
addEntry, centerScrollOn, children, clearEntries, clickedHeader, ensureVisible, getBottom, getEntry, getEntryAtPosition, getFocused, getHeight, getItemCount, getLeft, getMaxPosition, getMaxScroll, getRight, getRowLeft, getRowRight, getRowTop, getScrollAmount, getSelected, getTop, getWidth, isFocused, isMouseOver, isSelectedItem, keyPressed, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, moveSelection, moveSelection, refreshSelection, remove, removeEntry, render, renderBackground, renderDecorations, renderList, replaceEntries, setLeftPos, setRenderBackground, setRenderHeader, setRenderSelection, setRenderTopAndBottom, setScrollAmount, setSelected, updateScrollingState, updateSize
Methods inherited from class net.minecraft.client.gui.FocusableGui
isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.AbstractGui
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.IGuiEventListener
mouseMoved
Methods inherited from interface net.minecraft.client.gui.INestedGuiEventHandler
charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, setInitialFocus
-
Field Details
-
ICON_OVERLAY_LOCATION
-
INCOMPATIBLE_TITLE
-
INCOMPATIBLE_CONFIRM_TITLE
-
title
-
-
Constructor Details
-
ResourcePackList
public ResourcePackList(Minecraft p_i241200_1_, int p_i241200_2_, int p_i241200_3_, ITextComponent p_i241200_4_)
-
-
Method Details
-
renderHeader
protected void renderHeader(MatrixStack p_230448_1_, int p_230448_2_, int p_230448_3_, Tessellator p_230448_4_) - Overrides:
renderHeader
in classAbstractList<ResourcePackList.ResourcePackEntry>
-
getRowWidth
public int getRowWidth()- Overrides:
getRowWidth
in classAbstractList<ResourcePackList.ResourcePackEntry>
-
getScrollbarPosition
protected int getScrollbarPosition()- Overrides:
getScrollbarPosition
in classAbstractList<ResourcePackList.ResourcePackEntry>
-