Class ScrollableListEntry<T extends ScrollableListEntry<T>>

java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<E>
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.narration.NarrationSupplier

public abstract class ScrollableListEntry<T extends ScrollableListEntry<T>> extends net.minecraft.client.gui.components.ObjectSelectionList.Entry<T>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final net.minecraft.client.Minecraft
     

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

    list

    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
    protected <B extends net.minecraft.client.gui.components.events.GuiEventListener>
    B
    addChildren(B listener)
     
    protected net.minecraft.client.gui.components.AbstractSelectionList<T>
     
    boolean
    mouseClicked(double mouseX, double mouseY, int button)
     
    boolean
    mouseDragged(double mouseX, double mouseY, int button, double dragX, double dragY)
     
    boolean
    mouseReleased(double mouseX, double mouseY, int button)
     
    abstract void
    render(com.mojang.blaze3d.vertex.PoseStack poseStack, int index, int top, int left, int width, int height, int mouseX, int mouseY, boolean hovered, float partialTicks)
     

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

    changeFocus, getNarration, updateNarration

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

    isMouseOver

    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.GuiEventListener

    charTyped, keyPressed, keyReleased, mouseMoved, mouseScrolled
  • Field Details

    • minecraft

      protected final net.minecraft.client.Minecraft minecraft
  • Constructor Details

    • ScrollableListEntry

      public ScrollableListEntry()
  • Method Details

    • addChildren

      protected <B extends net.minecraft.client.gui.components.events.GuiEventListener> B addChildren(B listener)
    • mouseClicked

      public boolean mouseClicked(double mouseX, double mouseY, int button)
    • mouseReleased

      public boolean mouseReleased(double mouseX, double mouseY, int button)
    • mouseDragged

      public boolean mouseDragged(double mouseX, double mouseY, int button, double dragX, double dragY)
    • render

      public abstract void render(com.mojang.blaze3d.vertex.PoseStack poseStack, int index, int top, int left, int width, int height, int mouseX, int mouseY, boolean hovered, float partialTicks)
      Specified by:
      render in class net.minecraft.client.gui.components.AbstractSelectionList.Entry<T extends ScrollableListEntry<T>>
    • getList

      protected net.minecraft.client.gui.components.AbstractSelectionList<T> getList()