类 PageButton
java.lang.Object
net.minecraft.client.gui.components.AbstractWidget
net.minecraft.client.gui.components.AbstractButton
net.minecraft.client.gui.components.Button
net.minecraft.client.gui.screens.inventory.PageButton
- 所有已实现的接口:
GuiEventListener
,Renderable
,TabOrderedElement
,LayoutElement
,NarratableEntry
,NarrationSupplier
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.client.gui.components.Button
Button.Builder, Button.CreateNarration, Button.OnPress
从接口继承的嵌套类/接口 net.minecraft.client.gui.narration.NarratableEntry
NarratableEntry.NarrationPriority
-
字段概要
字段修饰符和类型字段说明private final boolean
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private static final ResourceLocation
private final boolean
从类继承的字段 net.minecraft.client.gui.components.Button
BIG_WIDTH, createNarration, DEFAULT_HEIGHT, DEFAULT_NARRATION, DEFAULT_SPACING, DEFAULT_WIDTH, onPress, SMALL_WIDTH
从类继承的字段 net.minecraft.client.gui.components.AbstractButton
SPRITES, TEXT_MARGIN
从类继承的字段 net.minecraft.client.gui.components.AbstractWidget
active, alpha, height, isHovered, packedFGColor, UNSET_FG_COLOR, visible, width
从接口继承的字段 net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
构造器概要
构造器构造器说明PageButton
(int p_99225_, int p_99226_, boolean p_99227_, Button.OnPress p_99228_, boolean p_99229_) -
方法概要
修饰符和类型方法说明void
playDownSound
(SoundManager p_99231_) void
renderWidget
(GuiGraphics p_283468_, int p_282922_, int p_283637_, float p_282459_) 从类继承的方法 net.minecraft.client.gui.components.Button
builder, createNarrationMessage, onPress, updateWidgetNarration
从类继承的方法 net.minecraft.client.gui.components.AbstractButton
keyPressed, onClick, renderString
从类继承的方法 net.minecraft.client.gui.components.AbstractWidget
clearFGColor, defaultButtonNarrationText, getBottom, getFGColor, getHeight, getMessage, getRectangle, getRight, getTabOrderGroup, getTooltip, getWidth, getX, getY, isActive, isFocused, isHovered, isHoveredOrFocused, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrationPriority, nextFocusPath, onDrag, onRelease, playButtonClickSound, render, renderScrollingString, renderScrollingString, renderScrollingString, setAlpha, setFGColor, setFocused, setHeight, setMessage, setRectangle, setSize, setTabOrderGroup, setTooltip, setTooltipDelay, setWidth, setX, setY, updateNarration, visitWidgets, wrapDefaultNarrationMessage
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.client.gui.components.events.GuiEventListener
charTyped, getBorderForArrowNavigation, getCurrentFocusPath, keyReleased, mouseMoved, mouseScrolled
从接口继承的方法 net.minecraft.client.gui.layouts.LayoutElement
setPosition
从接口继承的方法 net.minecraft.client.gui.narration.NarratableEntry
getNarratables
-
字段详细资料
-
PAGE_FORWARD_HIGHLIGHTED_SPRITE
-
PAGE_FORWARD_SPRITE
-
PAGE_BACKWARD_HIGHLIGHTED_SPRITE
-
PAGE_BACKWARD_SPRITE
-
isForward
private final boolean isForward -
playTurnSound
private final boolean playTurnSound
-
-
构造器详细资料
-
PageButton
public PageButton(int p_99225_, int p_99226_, boolean p_99227_, Button.OnPress p_99228_, boolean p_99229_)
-
-
方法详细资料
-
renderWidget
- 覆盖:
renderWidget
在类中AbstractButton
-
playDownSound
- 覆盖:
playDownSound
在类中AbstractWidget
-