Class AbstractTestScreen.GroupableList.Entry

java.lang.Object
net.minecraft.client.gui.components.ObjectSelectionList.Entry<AbstractTestScreen.GroupableList.Entry>
net.neoforged.testframework.client.AbstractTestScreen.GroupableList.Entry
All Implemented Interfaces:
net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.TabOrderedElement, net.minecraft.client.gui.narration.NarrationSupplier
Direct Known Subclasses:
AbstractTestScreen.GroupableList.GroupEntry, AbstractTestScreen.GroupableList.TestEntry
Enclosing class:
AbstractTestScreen.GroupableList

protected abstract sealed class AbstractTestScreen.GroupableList.Entry extends net.minecraft.client.gui.components.ObjectSelectionList.Entry<AbstractTestScreen.GroupableList.Entry> permits AbstractTestScreen.GroupableList.TestEntry, AbstractTestScreen.GroupableList.GroupEntry
  • Field Summary

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

    DOUBLE_CLICK_THRESHOLD_MS
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
     
    abstract void
    enable(boolean enable)
     
    net.minecraft.network.chat.Component
     
    abstract boolean
     
    boolean
    mouseClicked(double pMouseX, double pMouseY, int pButton)
     
    protected void
    renderTooltips(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY)
     
    abstract void
     

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

    updateNarration

    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, getBorderForArrowNavigation, getCurrentFocusPath, getRectangle, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath

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

    getTabOrderGroup
  • Constructor Details

    • Entry

      protected Entry()
  • Method Details

    • getNarration

      public net.minecraft.network.chat.Component getNarration()
      Specified by:
      getNarration in class net.minecraft.client.gui.components.ObjectSelectionList.Entry<AbstractTestScreen.GroupableList.Entry>
    • isEnabled

      public abstract boolean isEnabled()
    • canDisable

      public boolean canDisable()
    • canEnable

      public boolean canEnable()
    • enable

      public abstract void enable(boolean enable)
    • reset

      public abstract void reset()
    • mouseClicked

      public boolean mouseClicked(double pMouseX, double pMouseY, int pButton)
      Specified by:
      mouseClicked in interface net.minecraft.client.gui.components.events.GuiEventListener
      Overrides:
      mouseClicked in class net.minecraft.client.gui.components.ObjectSelectionList.Entry<AbstractTestScreen.GroupableList.Entry>
    • renderTooltips

      protected void renderTooltips(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY)