Class GuiMusicPlaylistListEntryPlaylistStart

java.lang.Object
net.minecraft.client.gui.components.ObjectSelectionList.Entry<T>
info.u_team.u_team_core.gui.elements.ScrollableListEntry<T>
All Implemented Interfaces:
net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.TabOrderedElement, net.minecraft.client.gui.narration.NarrationSupplier

public class GuiMusicPlaylistListEntryPlaylistStart extends GuiMusicPlaylistListEntryPlayable
  • Field Details

    • playlist

      protected final Playlist playlist
    • uri

      protected final WrappedObject<String> uri
    • deleteTrackButton

      protected final info.u_team.u_team_core.gui.elements.ImageButton deleteTrackButton
    • upButton

      protected final info.u_team.u_team_core.gui.elements.ImageButton upButton
    • downButton

      protected final info.u_team.u_team_core.gui.elements.ImageButton downButton
  • Constructor Details

  • Method Details

    • drawEntryExtended

      public void drawEntryExtended(com.mojang.blaze3d.vertex.PoseStack matrixStack, int entryX, int entryY, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean mouseInList, float partialTicks)
    • addEntry

      public void addEntry(GuiMusicPlaylistListEntryPlaylistTrack entry)
    • isPlaying

      protected boolean isPlaying()
      Overrides:
      isPlaying in class GuiMusicPlaylistListEntryPlayable
    • render

      public void render(com.mojang.blaze3d.vertex.PoseStack matrixStack, int slotIndex, int entryY, int entryX, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float partialTicks)
      Overrides:
      render in class GuiMusicPlaylistListEntryPlayable