Class AbstractTestScreen.GroupableList.Entry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<AbstractTestScreen.GroupableList.Entry>
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
listFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanabstract voidenable(boolean enable) abstract booleanbooleanmouseClicked(double pMouseX, double pMouseY, int pButton) protected voidrenderTooltips(GuiGraphics poseStack, int mouseX, int mouseY) abstract voidreset()Methods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry
updateNarrationMethods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
isFocused, isMouseOver, render, renderBack, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
charTyped, getCurrentFocusPath, getRectangle, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPathMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Constructor Details
-
Entry
protected Entry()
-
-
Method Details
-
getNarration
- Specified by:
getNarrationin 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) - Specified by:
mouseClickedin interfaceGuiEventListener- Overrides:
mouseClickedin classObjectSelectionList.Entry<AbstractTestScreen.GroupableList.Entry>
-
renderTooltips
-