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.Renderable, net.minecraft.client.gui.components.TabOrderedElement, net.minecraft.client.gui.narration.NarratableEntry, net.minecraft.client.gui.narration.NarrationSupplier

public class GuiMusicPlaylistList extends BetterScrollableList<GuiMusicPlaylistListEntry>
  • 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 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

    Fields inherited from class net.minecraft.client.gui.components.AbstractSelectionList

    centerListVertically, headerHeight, height, itemHeight, minecraft, scrolling, width, x0, x1, y0, y1

    Fields inherited from class net.minecraft.client.gui.GuiComponent

    BACKGROUND_LOCATION, GUI_ICONS_LOCATION, LIGHT_DIRT_BACKGROUND, STATS_ICON_LOCATION

    Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener

    DOUBLE_CLICK_THRESHOLD_MS
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected boolean
    isSelectedItem(int index)
     
    void
     
    void
     
    void
     
    void
     
    void
     

    Methods inherited from class info.u_team.music_player.gui.BetterScrollableList

    mouseDragged

    Methods inherited from class info.u_team.u_team_core.gui.elements.ScrollableList

    getRowWidth, getScrollbarPosition, getSideDistance, getTransparentBorderSize, isRenderTransparentBorder, renderList, setRenderTransparentBorder, setSideDistance, setTransparentBorderSize, updateSettings, updateSettings

    Methods inherited from class net.minecraft.client.gui.components.ObjectSelectionList

    nextFocusPath, updateNarration

    Methods inherited from class net.minecraft.client.gui.components.AbstractSelectionList

    addEntry, addEntryToTop, centerScrollOn, children, clearEntries, clickedHeader, enableScissor, ensureVisible, getEntry, getEntryAtPosition, getFirstElement, getFocused, getHovered, getItemCount, getMaxPosition, getMaxScroll, getRectangle, getRowBottom, getRowLeft, getRowRight, getRowTop, getScrollAmount, getScrollBottom, getSelected, isMouseOver, mouseClicked, mouseReleased, mouseScrolled, narrateListElementPosition, narrationPriority, nextEntry, nextEntry, nextEntry, remove, removeEntry, removeEntryFromTop, render, renderBackground, renderDecorations, renderHeader, renderItem, renderSelection, replaceEntries, setFocused, setLeftPos, setRenderBackground, setRenderHeader, setRenderSelection, setRenderTopAndBottom, setScrollAmount, updateScrollingState, updateSize

    Methods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler

    isDragging, setDragging

    Methods inherited from class net.minecraft.client.gui.GuiComponent

    blit, blit, blit, blit, blit, blit, blitNineSliced, blitNineSliced, blitNineSliced, blitOutlineBlack, blitRepeating, disableScissor, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, enableScissor, fill, fill, fillGradient, fillGradient, fillGradient, hLine, renderOutline, 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.components.events.ContainerEventHandler

    charTyped, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, magicalSpecialHackyFocus, setFocused

    Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener

    mouseMoved

    Methods inherited from interface net.minecraft.client.gui.narration.NarratableEntry

    isActive

    Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement

    getTabOrderGroup
  • Constructor Details

    • GuiMusicPlaylistList

      public GuiMusicPlaylistList(Playlist playlist)
  • Method Details

    • addAllEntries

      public void addAllEntries()
    • removeAllEntries

      public void removeAllEntries()
    • updateAllEntries

      public void updateAllEntries()
    • setSelectedEntryWhenMove

      public void setSelectedEntryWhenMove(GuiMusicPlaylistListEntry entry, int indexOffset)
    • isSelectedItem

      protected boolean isSelectedItem(int index)
      Overrides:
      isSelectedItem in class net.minecraft.client.gui.components.AbstractSelectionList<GuiMusicPlaylistListEntry>
    • setSelected

      public void setSelected(GuiMusicPlaylistListEntry entry)
      Overrides:
      setSelected in class net.minecraft.client.gui.components.AbstractSelectionList<GuiMusicPlaylistListEntry>
    • tick

      public void tick()