Package net.minecraft.client.gui.widget
Class PageTurnWidget
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.PressableWidget
net.minecraft.client.gui.widget.ButtonWidget
net.minecraft.client.gui.widget.PageTurnWidget
- All Implemented Interfaces:
Drawable
,Element
,Narratable
,Navigable
,Selectable
,Widget
- Mappings:
Namespace Name named net/minecraft/client/gui/widget/PageTurnWidget
intermediary net/minecraft/class_474
official fpl
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.widget.ButtonWidget
ButtonWidget.Builder, ButtonWidget.NarrationSupplier, ButtonWidget.PressAction
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
private static final Identifier
private static final Identifier
private static final Identifier
private static final Identifier
private final boolean
Fields inherited from class net.minecraft.client.gui.widget.ButtonWidget
DEFAULT_HEIGHT, DEFAULT_NARRATION_SUPPLIER, DEFAULT_WIDTH, DEFAULT_WIDTH_SMALL, field_46856, field_49479, narrationSupplier, onPress
Fields inherited from class net.minecraft.client.gui.widget.PressableWidget
field_43050
Fields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorDescriptionPageTurnWidget
(int x, int y, boolean isNextPageButton, ButtonWidget.PressAction action, boolean playPageTurnSound) -
Method Summary
Modifier and TypeMethodDescriptionvoid
playDownSound
(SoundManager soundManager) void
renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) Methods inherited from class net.minecraft.client.gui.widget.ButtonWidget
appendClickableNarrations, builder, getNarrationMessage, onPress
Methods inherited from class net.minecraft.client.gui.widget.PressableWidget
drawMessage, keyPressed, onClick
Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, clicked, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getNavigationPath, getRight, getTooltip, getType, getWidth, getX, getY, isFocused, isHovered, isMouseOver, isNarratable, isSelected, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, onDrag, onRelease, render, setAlpha, setDimensions, setDimensionsAndPosition, setFocused, setHeight, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, setX, setY
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.Element
charTyped, getFocusedPath, keyReleased, mouseMoved, mouseScrolled
Methods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
PAGE_FORWARD_HIGHLIGHTED_TEXTURE
- Mappings:
Namespace Name Mixin selector named PAGE_FORWARD_HIGHLIGHTED_TEXTURE
Lnet/minecraft/client/gui/widget/PageTurnWidget;PAGE_FORWARD_HIGHLIGHTED_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45493
Lnet/minecraft/class_474;field_45493:Lnet/minecraft/class_2960;
official a
Lfpl;a:Lalf;
-
PAGE_FORWARD_TEXTURE
- Mappings:
Namespace Name Mixin selector named PAGE_FORWARD_TEXTURE
Lnet/minecraft/client/gui/widget/PageTurnWidget;PAGE_FORWARD_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45494
Lnet/minecraft/class_474;field_45494:Lnet/minecraft/class_2960;
official b
Lfpl;b:Lalf;
-
PAGE_BACKWARD_HIGHLIGHTED_TEXTURE
- Mappings:
Namespace Name Mixin selector named PAGE_BACKWARD_HIGHLIGHTED_TEXTURE
Lnet/minecraft/client/gui/widget/PageTurnWidget;PAGE_BACKWARD_HIGHLIGHTED_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45495
Lnet/minecraft/class_474;field_45495:Lnet/minecraft/class_2960;
official c
Lfpl;c:Lalf;
-
PAGE_BACKWARD_TEXTURE
- Mappings:
Namespace Name Mixin selector named PAGE_BACKWARD_TEXTURE
Lnet/minecraft/client/gui/widget/PageTurnWidget;PAGE_BACKWARD_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45496
Lnet/minecraft/class_474;field_45496:Lnet/minecraft/class_2960;
official d
Lfpl;d:Lalf;
-
isNextPageButton
private final boolean isNextPageButton- Mappings:
Namespace Name Mixin selector named isNextPageButton
Lnet/minecraft/client/gui/widget/PageTurnWidget;isNextPageButton:Z
intermediary field_2851
Lnet/minecraft/class_474;field_2851:Z
official u
Lfpl;u:Z
-
playPageTurnSound
private final boolean playPageTurnSound- Mappings:
Namespace Name Mixin selector named playPageTurnSound
Lnet/minecraft/client/gui/widget/PageTurnWidget;playPageTurnSound:Z
intermediary field_18977
Lnet/minecraft/class_474;field_18977:Z
official v
Lfpl;v:Z
-
-
Constructor Details
-
PageTurnWidget
public PageTurnWidget(int x, int y, boolean isNextPageButton, ButtonWidget.PressAction action, boolean playPageTurnSound) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/widget/PageTurnWidget;<init>(IIZLnet/minecraft/client/gui/widget/ButtonWidget$PressAction;Z)V
intermediary <init>
Lnet/minecraft/class_474;<init>(IIZLnet/minecraft/class_4185$class_4241;Z)V
official <init>
Lfpl;<init>(IIZLfhf$c;Z)V
-
-
Method Details
-
renderWidget
- Overrides:
renderWidget
in classPressableWidget
- Mappings:
Namespace Name Mixin selector named renderWidget
Lnet/minecraft/client/gui/widget/ClickableWidget;renderWidget(Lnet/minecraft/client/gui/DrawContext;IIF)V
intermediary method_48579
Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)V
official b
Lfhd;b(Lfgs;IIF)V
-
playDownSound
- Overrides:
playDownSound
in classClickableWidget
- Mappings:
Namespace Name Mixin selector named playDownSound
Lnet/minecraft/client/gui/widget/ClickableWidget;playDownSound(Lnet/minecraft/client/sound/SoundManager;)V
intermediary method_25354
Lnet/minecraft/class_339;method_25354(Lnet/minecraft/class_1144;)V
official a
Lfhd;a(Lgtw;)V
-