Class PageTurnWidget

All Implemented Interfaces:
Drawable, Element, Narratable, Navigable, Selectable, Widget

@Environment(CLIENT) public class PageTurnWidget extends ButtonWidget
Mappings:
Namespace Name
named net/minecraft/client/gui/widget/PageTurnWidget
intermediary net/minecraft/class_474
official fpm
  • Field Details

    • PAGE_FORWARD_HIGHLIGHTED_TEXTURE

      private static final Identifier 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 Lfpm;a:Lalf;
    • PAGE_FORWARD_TEXTURE

      private static final Identifier 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 Lfpm;b:Lalf;
    • PAGE_BACKWARD_HIGHLIGHTED_TEXTURE

      private static final Identifier 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 Lfpm;c:Lalf;
    • PAGE_BACKWARD_TEXTURE

      private static final Identifier 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 Lfpm;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 Lfpm;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 Lfpm;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> Lfpm;<init>(IIZLfhg$c;Z)V
  • Method Details

    • renderWidget

      public void renderWidget(DrawContext context, int mouseX, int mouseY, float delta)
      Overrides:
      renderWidget in class PressableWidget
      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 Lfhe;b(Lfgt;IIF)V
    • playDownSound

      public void playDownSound(SoundManager soundManager)
      Overrides:
      playDownSound in class ClickableWidget
      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 Lfhe;a(Lgtx;)V