Class AbstractSignEditScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement
Direct Known Subclasses:
HangingSignEditScreen, SignEditScreen

@Environment(CLIENT) public abstract class AbstractSignEditScreen extends Screen
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/ingame/AbstractSignEditScreen
intermediary net/minecraft/class_7743
official fup
  • Field Details

    • blockEntity

      protected final SignBlockEntity blockEntity
      Mappings:
      Namespace Name Mixin selector
      named blockEntity Lnet/minecraft/client/gui/screen/ingame/AbstractSignEditScreen;blockEntity:Lnet/minecraft/block/entity/SignBlockEntity;
      intermediary field_40424 Lnet/minecraft/class_7743;field_40424:Lnet/minecraft/class_2625;
      official a Lfup;a:Ldwj;
    • text

      private SignText text
      Mappings:
      Namespace Name Mixin selector
      named text Lnet/minecraft/client/gui/screen/ingame/AbstractSignEditScreen;text:Lnet/minecraft/block/entity/SignText;
      intermediary field_43362 Lnet/minecraft/class_7743;field_43362:Lnet/minecraft/class_8242;
      official c Lfup;c:Ldwk;
    • messages

      private final String[] messages
      Mappings:
      Namespace Name Mixin selector
      named messages Lnet/minecraft/client/gui/screen/ingame/AbstractSignEditScreen;messages:[Ljava/lang/String;
      intermediary field_40425 Lnet/minecraft/class_7743;field_40425:[Ljava/lang/String;
      official d Lfup;d:[Ljava/lang/String;
    • front

      private final boolean front
      Mappings:
      Namespace Name Mixin selector
      named front Lnet/minecraft/client/gui/screen/ingame/AbstractSignEditScreen;front:Z
      intermediary field_43363 Lnet/minecraft/class_7743;field_43363:Z
      official s Lfup;s:Z
    • signType

      protected final WoodType signType
      Mappings:
      Namespace Name Mixin selector
      named signType Lnet/minecraft/client/gui/screen/ingame/AbstractSignEditScreen;signType:Lnet/minecraft/block/WoodType;
      intermediary field_40426 Lnet/minecraft/class_7743;field_40426:Lnet/minecraft/class_4719;
      official b Lfup;b:Ldzg;
    • ticksSinceOpened

      private int ticksSinceOpened
      Mappings:
      Namespace Name Mixin selector
      named ticksSinceOpened Lnet/minecraft/client/gui/screen/ingame/AbstractSignEditScreen;ticksSinceOpened:I
      intermediary field_40427 Lnet/minecraft/class_7743;field_40427:I
      official u Lfup;u:I
    • currentRow

      private int currentRow
      Mappings:
      Namespace Name Mixin selector
      named currentRow Lnet/minecraft/client/gui/screen/ingame/AbstractSignEditScreen;currentRow:I
      intermediary field_40428 Lnet/minecraft/class_7743;field_40428:I
      official v Lfup;v:I
    • selectionManager

      @Nullable private @Nullable SelectionManager selectionManager
      Mappings:
      Namespace Name Mixin selector
      named selectionManager Lnet/minecraft/client/gui/screen/ingame/AbstractSignEditScreen;selectionManager:Lnet/minecraft/client/util/SelectionManager;
      intermediary field_40429 Lnet/minecraft/class_7743;field_40429:Lnet/minecraft/class_3728;
      official w Lfup;w:Lfra;
  • Constructor Details

    • AbstractSignEditScreen

      public AbstractSignEditScreen(SignBlockEntity blockEntity, boolean front, boolean filtered)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/ingame/AbstractSignEditScreen;<init>(Lnet/minecraft/block/entity/SignBlockEntity;ZZ)V
      intermediary <init> Lnet/minecraft/class_7743;<init>(Lnet/minecraft/class_2625;ZZ)V
      official <init> Lfup;<init>(Ldwj;ZZ)V
    • AbstractSignEditScreen

      public AbstractSignEditScreen(SignBlockEntity blockEntity, boolean front, boolean filtered, Text title)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/ingame/AbstractSignEditScreen;<init>(Lnet/minecraft/block/entity/SignBlockEntity;ZZLnet/minecraft/text/Text;)V
      intermediary <init> Lnet/minecraft/class_7743;<init>(Lnet/minecraft/class_2625;ZZLnet/minecraft/class_2561;)V
      official <init> Lfup;<init>(Ldwj;ZZLxv;)V
  • Method Details

    • init

      protected void init()
      Called when a screen should be initialized.

      This method is called when this screen is opened or resized.

      Overrides:
      init in class Screen
      Mappings:
      Namespace Name Mixin selector
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      official aT_ Lftx;aT_()V
    • tick

      public void tick()
      Overrides:
      tick in class Screen
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/client/gui/screen/Screen;tick()V
      intermediary method_25393 Lnet/minecraft/class_437;method_25393()V
      official e Lftx;e()V
    • canEdit

      private boolean canEdit()
      Mappings:
      Namespace Name Mixin selector
      named canEdit Lnet/minecraft/client/gui/screen/ingame/AbstractSignEditScreen;canEdit()Z
      intermediary method_49912 Lnet/minecraft/class_7743;method_49912()Z
      official E Lfup;E()Z
    • keyPressed

      public boolean keyPressed(int keyCode, int scanCode, int modifiers)
      Callback for when a key down event has been captured. The key code is identified by the constants in GLFW class.
      Specified by:
      keyPressed in interface Element
      Specified by:
      keyPressed in interface ParentElement
      Overrides:
      keyPressed in class Screen
      Parameters:
      keyCode - the named key code of the event as described in the GLFW class
      scanCode - the unique/platform-specific scan code of the keyboard input
      modifiers - a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named keyPressed Lnet/minecraft/client/gui/Element;keyPressed(III)Z
      intermediary method_25404 Lnet/minecraft/class_364;method_25404(III)Z
      official a Lfqc;a(III)Z
    • charTyped

      public boolean charTyped(char chr, int modifiers)
      Callback for when a character input has been captured. The key code is identified by the constants in GLFW class.
      Parameters:
      chr - the captured character
      modifiers - a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named charTyped Lnet/minecraft/client/gui/Element;charTyped(CI)Z
      intermediary method_25400 Lnet/minecraft/class_364;method_25400(CI)Z
      official a Lfqc;a(CI)Z
    • render

      public void render(DrawContext context, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      official a Lfpi;a(Lfnr;IIF)V
    • renderBackground

      public void renderBackground(DrawContext context, int mouseX, int mouseY, float delta)
      Renders the background of this screen.

      If the client is in a world, renders the translucent background gradient. Otherwise renders the background texture.

      Overrides:
      renderBackground in class Screen
      Mappings:
      Namespace Name Mixin selector
      named renderBackground Lnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_25420 Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)V
      official b Lftx;b(Lfnr;IIF)V
    • close

      public void close()
      Overrides:
      close in class Screen
      Mappings:
      Namespace Name Mixin selector
      named close Lnet/minecraft/client/gui/screen/Screen;close()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      official aP_ Lftx;aP_()V
    • removed

      public void removed()
      Overrides:
      removed in class Screen
      Mappings:
      Namespace Name Mixin selector
      named removed Lnet/minecraft/client/gui/screen/Screen;removed()V
      intermediary method_25432 Lnet/minecraft/class_437;method_25432()V
      official aJ_ Lftx;aJ_()V
    • shouldPause

      public boolean shouldPause()
      Overrides:
      shouldPause in class Screen
      Mappings:
      Namespace Name Mixin selector
      named shouldPause Lnet/minecraft/client/gui/screen/Screen;shouldPause()Z
      intermediary method_25421 Lnet/minecraft/class_437;method_25421()Z
      official j Lftx;j()Z
    • renderSignBackground

      protected abstract void renderSignBackground(DrawContext context)
      Mappings:
      Namespace Name Mixin selector
      named renderSignBackground Lnet/minecraft/client/gui/screen/ingame/AbstractSignEditScreen;renderSignBackground(Lnet/minecraft/client/gui/DrawContext;)V
      intermediary method_45656 Lnet/minecraft/class_7743;method_45656(Lnet/minecraft/class_332;)V
      official c Lfup;c(Lfnr;)V
    • getTextScale

      protected abstract Vector3f getTextScale()
      Mappings:
      Namespace Name Mixin selector
      named getTextScale Lnet/minecraft/client/gui/screen/ingame/AbstractSignEditScreen;getTextScale()Lorg/joml/Vector3f;
      intermediary method_45661 Lnet/minecraft/class_7743;method_45661()Lorg/joml/Vector3f;
      official l Lfup;l()Lorg/joml/Vector3f;
    • translateForRender

      protected void translateForRender(DrawContext context, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      named translateForRender Lnet/minecraft/client/gui/screen/ingame/AbstractSignEditScreen;translateForRender(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/block/BlockState;)V
      intermediary method_45654 Lnet/minecraft/class_7743;method_45654(Lnet/minecraft/class_332;Lnet/minecraft/class_2680;)V
      official a Lfup;a(Lfnr;Ldxu;)V
    • renderSign

      private void renderSign(DrawContext context)
      Mappings:
      Namespace Name Mixin selector
      named renderSign Lnet/minecraft/client/gui/screen/ingame/AbstractSignEditScreen;renderSign(Lnet/minecraft/client/gui/DrawContext;)V
      intermediary method_45659 Lnet/minecraft/class_7743;method_45659(Lnet/minecraft/class_332;)V
      official d Lfup;d(Lfnr;)V
    • renderSignText

      private void renderSignText(DrawContext context)
      Mappings:
      Namespace Name Mixin selector
      named renderSignText Lnet/minecraft/client/gui/screen/ingame/AbstractSignEditScreen;renderSignText(Lnet/minecraft/client/gui/DrawContext;)V
      intermediary method_45655 Lnet/minecraft/class_7743;method_45655(Lnet/minecraft/class_332;)V
      official e Lfup;e(Lfnr;)V
    • setCurrentRowMessage

      private void setCurrentRowMessage(String message)
      Mappings:
      Namespace Name Mixin selector
      named setCurrentRowMessage Lnet/minecraft/client/gui/screen/ingame/AbstractSignEditScreen;setCurrentRowMessage(Ljava/lang/String;)V
      intermediary method_49913 Lnet/minecraft/class_7743;method_49913(Ljava/lang/String;)V
      official a Lfup;a(Ljava/lang/String;)V
    • finishEditing

      private void finishEditing()
      Mappings:
      Namespace Name Mixin selector
      named finishEditing Lnet/minecraft/client/gui/screen/ingame/AbstractSignEditScreen;finishEditing()V
      intermediary method_45662 Lnet/minecraft/class_7743;method_45662()V
      official F Lfup;F()V