类 ModListScreen.InfoPanel
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraftforge.client.gui.widget.ScrollPanel
net.minecraftforge.client.gui.ModListScreen.InfoPanel
- 所有已实现的接口:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
,NarratableEntry
,NarrationSupplier
- 封闭类:
ModListScreen
-
嵌套类概要
从接口继承的嵌套类/接口 net.minecraft.client.gui.narration.NarratableEntry
NarratableEntry.NarrationPriority
-
字段概要
字段从类继承的字段 net.minecraftforge.client.gui.widget.ScrollPanel
border, bottom, captureMouse, height, left, right, scrollDistance, top, width
从接口继承的字段 net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明(专用程序包) void
protected void
drawPanel
(GuiGraphics guiGraphics, int entryRight, int relativeY, Tesselator tess, int mouseX, int mouseY) Draw anything special on the screen.private Style
findTextLine
(int mouseX, int mouseY) int
protected int
boolean
mouseClicked
(double mouseX, double mouseY, int button) private List
<FormattedCharSequence> resizeContent
(List<String> lines) (专用程序包) void
setInfo
(List<String> lines, ResourceLocation logoPath, Size2i logoDims) void
updateNarration
(NarrationElementOutput p_169152_) 从类继承的方法 net.minecraftforge.client.gui.widget.ScrollPanel
children, clickPanel, drawBackground, drawGradientRect, isMouseOver, mouseDragged, mouseReleased, mouseScrolled, render
从类继承的方法 net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocused
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, nextFocusPath, setFocused
从接口继承的方法 net.minecraft.client.gui.components.events.GuiEventListener
getBorderForArrowNavigation, getRectangle, mouseMoved
从接口继承的方法 net.minecraft.client.gui.narration.NarratableEntry
getNarratables, isActive
从接口继承的方法 net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
字段详细资料
-
logoPath
-
logoDims
-
lines
-
-
构造器详细资料
-
InfoPanel
InfoPanel(Minecraft mcIn, int widthIn, int heightIn, int topIn)
-
-
方法详细资料
-
setInfo
-
clearInfo
void clearInfo() -
resizeContent
-
getContentHeight
public int getContentHeight()- 指定者:
getContentHeight
在类中ScrollPanel
-
getScrollAmount
protected int getScrollAmount()- 覆盖:
getScrollAmount
在类中ScrollPanel
-
drawPanel
protected void drawPanel(GuiGraphics guiGraphics, int entryRight, int relativeY, Tesselator tess, int mouseX, int mouseY) 从类复制的说明:ScrollPanel
Draw anything special on the screen. Scissor (RenderSystem.enableScissor) is enabled for anything that is rendered outside the view box. Do not mess with Scissor unless you support this.- 指定者:
drawPanel
在类中ScrollPanel
-
findTextLine
-
mouseClicked
public boolean mouseClicked(double mouseX, double mouseY, int button) - 指定者:
mouseClicked
在接口中ContainerEventHandler
- 指定者:
mouseClicked
在接口中GuiEventListener
- 覆盖:
mouseClicked
在类中ScrollPanel
-
narrationPriority
-
updateNarration
-