Class AbstractTestScreen.GroupableList.Entry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<E>
net.minecraft.client.gui.components.ObjectSelectionList.Entry<AbstractTestScreen.GroupableList.Entry>
net.neoforged.testframework.client.AbstractTestScreen.GroupableList.Entry
- All Implemented Interfaces:
GuiEventListener
,TabOrderedElement
,NarrationSupplier
- Direct Known Subclasses:
AbstractTestScreen.GroupableList.GroupEntry
,AbstractTestScreen.GroupableList.TestEntry
- Enclosing class:
AbstractTestScreen.GroupableList
protected abstract sealed class AbstractTestScreen.GroupableList.Entry
extends ObjectSelectionList.Entry<AbstractTestScreen.GroupableList.Entry>
permits AbstractTestScreen.GroupableList.TestEntry, AbstractTestScreen.GroupableList.GroupEntry
-
Field Summary
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
abstract void
enable
(boolean enable) abstract boolean
boolean
mouseClicked
(double pMouseX, double pMouseY, int pButton) protected void
renderTooltips
(GuiGraphics poseStack, int mouseX, int mouseY) abstract void
reset()
Methods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry
updateNarration
Methods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
isFocused, isMouseOver, render, renderBack, 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.GuiEventListener
charTyped, 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
- Specified by:
getNarration
in classObjectSelectionList.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) -
renderTooltips
-