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
FieldsFields 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 TypeMethodDescriptionvoidenable(boolean enable) booleanvoidrender(GuiGraphics pPoseStack, int pIndex, int pTop, int pLeft, int pWidth, int pHeight, int pMouseX, int pMouseY, boolean pIsMouseOver, float pPartialTick) protected voidrenderTooltips(GuiGraphics poseStack, int mouseX, int mouseY) voidreset()Methods inherited from class net.neoforged.testframework.client.AbstractTestScreen.GroupableList.Entry
canDisable, canEnable, getNarration, mouseClickedMethods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry
updateNarrationMethods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
isFocused, isMouseOver, 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
-
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:
renderin classAbstractSelectionList.Entry<AbstractTestScreen.GroupableList.Entry>
-
renderTooltips
- Overrides:
renderTooltipsin classAbstractTestScreen.GroupableList.Entry
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin classAbstractTestScreen.GroupableList.Entry
-
enable
public void enable(boolean enable) - Specified by:
enablein classAbstractTestScreen.GroupableList.Entry
-
reset
public void reset()- Specified by:
resetin classAbstractTestScreen.GroupableList.Entry
-