Class GuiMusicPlayerList

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<info.u_team.music_player.gui.GuiMusicPlayerListEntry>
info.u_team.music_player.gui.GuiMusicPlayerList
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 GuiMusicPlayerList extends BetterScrollableList<info.u_team.music_player.gui.GuiMusicPlayerListEntry>
  • 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
    GuiMusicPlayerList(int width, int height, int top, int bottom, int left, int right)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
     
    void
    removePlaylist(info.u_team.music_player.gui.GuiMusicPlayerListEntry entry)
     

    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, isSelectedItem, 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, setSelected, 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

    • GuiMusicPlayerList

      public GuiMusicPlayerList(int width, int height, int top, int bottom, int left, int right)
  • Method Details

    • addPlaylist

      public void addPlaylist(String name)
    • removePlaylist

      public void removePlaylist(info.u_team.music_player.gui.GuiMusicPlayerListEntry entry)
    • getPlaylists

      public Playlists getPlaylists()