Class CustomTooltipTest.TooltipTestScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.neoforged.neoforge.oldtest.client.CustomTooltipTest.TooltipTestScreen
- All Implemented Interfaces:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
- Enclosing class:
CustomTooltipTest
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult
-
Field Summary
Fields inherited from class net.minecraft.client.gui.screens.Screen
CUBE_MAP, font, FOOTER_SEPARATOR, HEADER_SEPARATOR, height, INWORLD_FOOTER_SEPARATOR, INWORLD_HEADER_SEPARATOR, MENU_BACKGROUND, minecraft, PANORAMA, renderables, screenExecutor, title, width
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate Component
getTestComponent
(boolean testFont) protected void
init()
void
render
(GuiGraphics graphics, int mouseX, int mouseY, float partialTicks) Neo: mixins targeting this method won't fire for container screens asAbstractContainerScreen.render(net.minecraft.client.gui.GuiGraphics, int, int, float)
replicates this method in place of a super call to insert an event(package private) static void
show()
private void
test1
(GuiGraphics graphics, int mouseX, int mouseY) private void
test10
(GuiGraphics graphics, int mouseX, int mouseY) private void
test11
(GuiGraphics graphics, int mouseX, int mouseY) private void
test12
(GuiGraphics graphics, int mouseX, int mouseY) private void
test13
(GuiGraphics graphics, int mouseX, int mouseY) private void
test14
(GuiGraphics graphics, int mouseX, int mouseY) private void
test2
(GuiGraphics graphics, int mouseX, int mouseY) private void
test3
(GuiGraphics graphics, int mouseX, int mouseY) private void
test4
(GuiGraphics graphics, int mouseX, int mouseY) private void
test5
(GuiGraphics graphics, int mouseX, int mouseY) private void
test6
(GuiGraphics graphics, int mouseX, int mouseY) private void
test7
(GuiGraphics graphics, int mouseX, int mouseY) private void
test8
(GuiGraphics graphics, int mouseX, int mouseY) private void
test9
(GuiGraphics graphics, int mouseX, int mouseY) Methods inherited from class net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, advancePanoramaTime, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, clearTooltipForNextRenderPass, clearWidgets, findNarratableWidget, getBackgroundMusic, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, narrationEnabled, onClose, onFilesDrop, rebuildWidgets, removed, removeWidget, renderBackground, renderBlurredBackground, renderMenuBackground, renderMenuBackground, renderMenuBackgroundTexture, renderPanorama, renderTransparentBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, tick, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenError
Methods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, 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.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocused
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
testStack
-
testFont
private boolean testFont
-
-
Constructor Details
-
TooltipTestScreen
protected TooltipTestScreen()
-
-
Method Details
-
show
static void show() -
render
Description copied from class:Screen
Neo: mixins targeting this method won't fire for container screens asAbstractContainerScreen.render(net.minecraft.client.gui.GuiGraphics, int, int, float)
replicates this method in place of a super call to insert an event- Specified by:
render
in interfaceRenderable
- Overrides:
render
in classScreen
-
init
protected void init() -
getTestComponent
-
test1
-
test2
-
test3
-
test4
-
test5
-
test6
-
test7
-
test8
-
test9
-
test10
-
test11
-
test12
-
test13
-
test14
-