Class AbstractTestScreen.GroupableList.TestEntry
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
net.neoforged.testframework.client.AbstractTestScreen.GroupableList.TestEntry
- All Implemented Interfaces:
GuiEventListener
,TabOrderedElement
,NarrationSupplier
- Enclosing class:
AbstractTestScreen.GroupableList
protected final class AbstractTestScreen.GroupableList.TestEntry
extends AbstractTestScreen.GroupableList.Entry
-
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 TypeMethodDescriptionvoid
enable
(boolean enable) boolean
void
render
(GuiGraphics pPoseStack, int pIndex, int pTop, int pLeft, int pWidth, int pHeight, int pMouseX, int pMouseY, boolean pIsMouseOver, float pPartialTick) protected void
renderTooltips
(GuiGraphics poseStack, int mouseX, int mouseY) void
reset()
Methods inherited from class net.neoforged.testframework.client.AbstractTestScreen.GroupableList.Entry
canDisable, canEnable, getNarration, mouseClicked
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, 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
-
Field Details
-
test
-
-
Constructor Details
-
TestEntry
-
-
Method Details
-
render
public void render(GuiGraphics pPoseStack, int pIndex, int pTop, int pLeft, int pWidth, int pHeight, int pMouseX, int pMouseY, boolean pIsMouseOver, float pPartialTick) - Specified by:
render
in classAbstractSelectionList.Entry<AbstractTestScreen.GroupableList.Entry>
-
renderTooltips
- Overrides:
renderTooltips
in classAbstractTestScreen.GroupableList.Entry
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in classAbstractTestScreen.GroupableList.Entry
-
enable
public void enable(boolean enable) - Specified by:
enable
in classAbstractTestScreen.GroupableList.Entry
-
reset
public void reset()- Specified by:
reset
in classAbstractTestScreen.GroupableList.Entry
-