Class PageTurnWidget

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

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

    • PAGE_FORWARD_HIGHLIGHTED_TEXTURE

      private static final Identifier PAGE_FORWARD_HIGHLIGHTED_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official a Lffi;a:Lahg;
      intermediary field_45493 Lnet/minecraft/class_474;field_45493:Lnet/minecraft/class_2960;
      named PAGE_FORWARD_HIGHLIGHTED_TEXTURE Lnet/minecraft/client/gui/widget/PageTurnWidget;PAGE_FORWARD_HIGHLIGHTED_TEXTURE:Lnet/minecraft/util/Identifier;
    • PAGE_FORWARD_TEXTURE

      private static final Identifier PAGE_FORWARD_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official b Lffi;b:Lahg;
      intermediary field_45494 Lnet/minecraft/class_474;field_45494:Lnet/minecraft/class_2960;
      named PAGE_FORWARD_TEXTURE Lnet/minecraft/client/gui/widget/PageTurnWidget;PAGE_FORWARD_TEXTURE:Lnet/minecraft/util/Identifier;
    • PAGE_BACKWARD_HIGHLIGHTED_TEXTURE

      private static final Identifier PAGE_BACKWARD_HIGHLIGHTED_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official c Lffi;c:Lahg;
      intermediary field_45495 Lnet/minecraft/class_474;field_45495:Lnet/minecraft/class_2960;
      named PAGE_BACKWARD_HIGHLIGHTED_TEXTURE Lnet/minecraft/client/gui/widget/PageTurnWidget;PAGE_BACKWARD_HIGHLIGHTED_TEXTURE:Lnet/minecraft/util/Identifier;
    • PAGE_BACKWARD_TEXTURE

      private static final Identifier PAGE_BACKWARD_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official d Lffi;d:Lahg;
      intermediary field_45496 Lnet/minecraft/class_474;field_45496:Lnet/minecraft/class_2960;
      named PAGE_BACKWARD_TEXTURE Lnet/minecraft/client/gui/widget/PageTurnWidget;PAGE_BACKWARD_TEXTURE:Lnet/minecraft/util/Identifier;
    • isNextPageButton

      private final boolean isNextPageButton
      Mappings:
      Namespace Name Mixin selector
      official t Lffi;t:Z
      intermediary field_2851 Lnet/minecraft/class_474;field_2851:Z
      named isNextPageButton Lnet/minecraft/client/gui/widget/PageTurnWidget;isNextPageButton:Z
    • playPageTurnSound

      private final boolean playPageTurnSound
      Mappings:
      Namespace Name Mixin selector
      official u Lffi;u:Z
      intermediary field_18977 Lnet/minecraft/class_474;field_18977:Z
      named playPageTurnSound Lnet/minecraft/client/gui/widget/PageTurnWidget;playPageTurnSound:Z
  • Constructor Details

    • PageTurnWidget

      public PageTurnWidget(int x, int y, boolean isNextPageButton, ButtonWidget.PressAction action, boolean playPageTurnSound)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lffi;<init>(IIZLexg$c;Z)V
      intermediary <init> Lnet/minecraft/class_474;<init>(IIZLnet/minecraft/class_4185$class_4241;Z)V
      named <init> Lnet/minecraft/client/gui/widget/PageTurnWidget;<init>(IIZLnet/minecraft/client/gui/widget/ButtonWidget$PressAction;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
      official b Lexe;b(Lewu;IIF)V
      intermediary method_48579 Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)V
      named renderWidget Lnet/minecraft/client/gui/widget/ClickableWidget;renderWidget(Lnet/minecraft/client/gui/DrawContext;IIF)V
    • playDownSound

      public void playDownSound(SoundManager soundManager)
      Overrides:
      playDownSound in class ClickableWidget
      Mappings:
      Namespace Name Mixin selector
      official a Lexe;a(Lgje;)V
      intermediary method_25354 Lnet/minecraft/class_339;method_25354(Lnet/minecraft/class_1144;)V
      named playDownSound Lnet/minecraft/client/gui/widget/ClickableWidget;playDownSound(Lnet/minecraft/client/sound/SoundManager;)V