Class GuiMusicPlaylistList
java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.components.AbstractSelectionList<E>
net.minecraft.client.gui.components.ObjectSelectionList<T>
info.u_team.u_team_core.gui.elements.ScrollableList<T>
info.u_team.music_player.gui.BetterScrollableList<GuiMusicPlaylistListEntry>
info.u_team.music_player.gui.playlist.GuiMusicPlaylistList
- All Implemented Interfaces:
net.minecraft.client.gui.components.events.ContainerEventHandler,net.minecraft.client.gui.components.events.GuiEventListener,net.minecraft.client.gui.components.Widget,net.minecraft.client.gui.narration.NarratableEntry,net.minecraft.client.gui.narration.NarrationSupplier
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.components.ObjectSelectionList
net.minecraft.client.gui.components.ObjectSelectionList.Entry<E extends net.minecraft.client.gui.components.ObjectSelectionList.Entry<E>>Nested classes/interfaces inherited from class net.minecraft.client.gui.components.AbstractSelectionList
net.minecraft.client.gui.components.AbstractSelectionList.SelectionDirectionNested classes/interfaces inherited from interface net.minecraft.client.gui.narration.NarratableEntry
net.minecraft.client.gui.narration.NarratableEntry.NarrationPriority -
Field Summary
Fields inherited from class info.u_team.u_team_core.gui.elements.ScrollableList
renderTransparentBorder, sideDistance, transparentBorderSize, useScissorFields inherited from class net.minecraft.client.gui.components.AbstractSelectionList
centerListVertically, headerHeight, height, itemHeight, minecraft, scrolling, width, x0, x1, y0, y1Fields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATIONFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected booleanisSelectedItem(int index) voidvoidvoidsetSelectedEntryWhenMove(GuiMusicPlaylistListEntry entry, int indexOffset) voidtick()voidMethods inherited from class info.u_team.music_player.gui.BetterScrollableList
mouseDraggedMethods inherited from class info.u_team.u_team_core.gui.elements.ScrollableList
getRowWidth, getScrollbarPosition, getSideDistance, getTransparentBorderSize, isRenderTransparentBorder, isUseScissor, renderList, setRenderTransparentBorder, setSideDistance, setTransparentBorderSize, setUseScissor, updateSettings, updateSettingsMethods inherited from class net.minecraft.client.gui.components.ObjectSelectionList
changeFocus, updateNarrationMethods inherited from class net.minecraft.client.gui.components.AbstractSelectionList
addEntry, centerScrollOn, children, clearEntries, clickedHeader, ensureVisible, getEntry, getEntryAtPosition, getFocused, getHovered, getItemCount, getMaxPosition, getMaxScroll, getRowLeft, getRowRight, getRowTop, getScrollAmount, getScrollBottom, getSelected, isFocused, isMouseOver, keyPressed, mouseClicked, mouseReleased, mouseScrolled, moveSelection, moveSelection, narrateListElementPosition, narrationPriority, refreshSelection, remove, removeEntry, render, renderBackground, renderDecorations, renderHeader, replaceEntries, setLeftPos, setRenderBackground, setRenderHeader, setRenderSelection, setRenderTopAndBottom, setScrollAmount, updateScrollingState, updateSizeMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.GuiComponent
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, fill, fillGradient, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLineMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, setInitialFocusMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMovedMethods inherited from interface net.minecraft.client.gui.narration.NarratableEntry
isActive
-
Constructor Details
-
GuiMusicPlaylistList
-
-
Method Details
-
addAllEntries
public void addAllEntries() -
removeAllEntries
public void removeAllEntries() -
updateAllEntries
public void updateAllEntries() -
setSelectedEntryWhenMove
-
isSelectedItem
protected boolean isSelectedItem(int index) - Overrides:
isSelectedItemin classnet.minecraft.client.gui.components.AbstractSelectionList<GuiMusicPlaylistListEntry>
-
setSelected
- Overrides:
setSelectedin classnet.minecraft.client.gui.components.AbstractSelectionList<GuiMusicPlaylistListEntry>
-
tick
public void tick()
-