Class StyledList.Entry<E extends StyledList.Entry<E>>

java.lang.Object
net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<E>
net.ixdarklord.coolcatcore.internal.config.client.gui.style.StyledList.Entry<E>
All Implemented Interfaces:
net.minecraft.client.gui.components.events.ContainerEventHandler, net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.TabOrderedElement
Direct Known Subclasses:
ConfigEntryList.Entry
Enclosing class:
StyledList<E extends StyledList.Entry<E>>

public abstract static class StyledList.Entry<E extends StyledList.Entry<E>> extends net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<E>
A row, with its own height; the list sets its bounds as it lays the rows out.
  • Field Summary

    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
    int
     
    int
     
    int
     
    int
     
    boolean
    isMouseOver(double mouseX, double mouseY)
     
    final void
    render(net.minecraft.client.gui.GuiGraphics graphics, int index, int top, int left, int width, int height, int mouseX, int mouseY, boolean hovering, float partialTick)
     
    abstract void
    renderContent(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, boolean hovered, float partialTick)
    Draws the row within its bounds.

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

    focusPathAtIndex, getFocused, isDragging, mouseClicked, narratables, nextFocusPath, setDragging, setFocused

    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, children, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, magicalSpecialHackyFocus, mouseDragged, mouseReleased, mouseScrolled, setFocused

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

    getRectangle, mouseMoved

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

    getTabOrderGroup
  • Constructor Details

    • Entry

      public Entry()
  • Method Details

    • getX

      public int getX()
    • getY

      public int getY()
    • getWidth

      public int getWidth()
    • getHeight

      public int getHeight()
    • renderContent

      public abstract void renderContent(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, boolean hovered, float partialTick)
      Draws the row within its bounds.
    • render

      public final void render(net.minecraft.client.gui.GuiGraphics graphics, int index, int top, int left, int width, int height, int mouseX, int mouseY, boolean hovering, float partialTick)
    • isMouseOver

      public boolean isMouseOver(double mouseX, double mouseY)
      Specified by:
      isMouseOver in interface net.minecraft.client.gui.components.events.GuiEventListener