Class BattleRulesScreen.InfoPanel
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.neoforged.neoforge.client.gui.widget.ScrollPanel
com.pixelmonmod.pixelmon.client.gui.battles.rules.BattleRulesScreen.InfoPanel
- All Implemented Interfaces:
net.minecraft.client.gui.components.events.ContainerEventHandler
,net.minecraft.client.gui.components.events.GuiEventListener
,net.minecraft.client.gui.components.Renderable
,net.minecraft.client.gui.components.TabOrderedElement
,net.minecraft.client.gui.narration.NarratableEntry
,net.minecraft.client.gui.narration.NarrationSupplier
- Enclosing class:
BattleRulesScreen
public static class BattleRulesScreen.InfoPanel
extends net.neoforged.neoforge.client.gui.widget.ScrollPanel
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.narration.NarratableEntry
net.minecraft.client.gui.narration.NarratableEntry.NarrationPriority
-
Field Summary
Fields inherited from class net.neoforged.neoforge.client.gui.widget.ScrollPanel
border, bottom, captureMouse, height, left, right, scrollDistance, top, width
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
drawPanel
(net.minecraft.client.gui.GuiGraphics guiGraphics, int entryRight, int relativeY, com.mojang.blaze3d.vertex.Tesselator tess, int mouseX, int mouseY) int
protected int
net.minecraft.client.gui.narration.NarratableEntry.NarrationPriority
void
updateNarration
(net.minecraft.client.gui.narration.NarrationElementOutput p_169152_) Methods inherited from class net.neoforged.neoforge.client.gui.widget.ScrollPanel
children, clickPanel, drawBackground, drawGradientRect, isMouseOver, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, render
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, keyPressed, keyReleased, nextFocusPath, setFocused
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
getRectangle, mouseMoved
Methods inherited from interface net.minecraft.client.gui.narration.NarratableEntry
isActive
Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Method Details
-
getContentHeight
public int getContentHeight()- Specified by:
getContentHeight
in classnet.neoforged.neoforge.client.gui.widget.ScrollPanel
-
getScrollAmount
protected int getScrollAmount()- Overrides:
getScrollAmount
in classnet.neoforged.neoforge.client.gui.widget.ScrollPanel
-
drawPanel
protected void drawPanel(net.minecraft.client.gui.GuiGraphics guiGraphics, int entryRight, int relativeY, com.mojang.blaze3d.vertex.Tesselator tess, int mouseX, int mouseY) - Specified by:
drawPanel
in classnet.neoforged.neoforge.client.gui.widget.ScrollPanel
-
narrationPriority
public net.minecraft.client.gui.narration.NarratableEntry.NarrationPriority narrationPriority() -
updateNarration
public void updateNarration(net.minecraft.client.gui.narration.NarrationElementOutput p_169152_)
-