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
official evr
intermediary net/minecraft/class_7743
named net/minecraft/client/gui/screen/ingame/AbstractSignEditScreen
  • Field Details

    • blockEntity

      private final SignBlockEntity blockEntity
      Mappings:
      Namespace Name Mixin selector
      official b Levr;b:Ldav;
      intermediary field_40424 Lnet/minecraft/class_7743;field_40424:Lnet/minecraft/class_2625;
      named blockEntity Lnet/minecraft/client/gui/screen/ingame/AbstractSignEditScreen;blockEntity:Lnet/minecraft/block/entity/SignBlockEntity;
    • text

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

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

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

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

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

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

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

    • AbstractSignEditScreen

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

      public AbstractSignEditScreen(SignBlockEntity blockEntity, boolean front, boolean filtered, Text title)
      Mappings:
      Namespace Name Mixin selector
      official <init> Levr;<init>(Ldav;ZZLsw;)V
      intermediary <init> Lnet/minecraft/class_7743;<init>(Lnet/minecraft/class_2625;ZZLnet/minecraft/class_2561;)V
      named <init> Lnet/minecraft/client/gui/screen/ingame/AbstractSignEditScreen;<init>(Lnet/minecraft/block/entity/SignBlockEntity;ZZLnet/minecraft/text/Text;)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.

      This should call Screen.setInitialFocus(net.minecraft.client.gui.Element) to set the element that is initially focused.

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

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

      private boolean canEdit()
      Mappings:
      Namespace Name Mixin selector
      official B Levr;B()Z
      intermediary method_49912 Lnet/minecraft/class_7743;method_49912()Z
      named canEdit Lnet/minecraft/client/gui/screen/ingame/AbstractSignEditScreen;canEdit()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
      official a Leqt;a(III)Z
      intermediary method_25404 Lnet/minecraft/class_364;method_25404(III)Z
      named keyPressed Lnet/minecraft/client/gui/Element;keyPressed(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
      official a Leqt;a(CI)Z
      intermediary method_25400 Lnet/minecraft/class_364;method_25400(CI)Z
      named charTyped Lnet/minecraft/client/gui/Element;charTyped(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
      official a Leqh;a(Leox;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
    • close

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

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

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

      protected abstract void renderSignBackground(DrawContext context, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Levr;a(Leox;Ldcb;)V
      intermediary method_45656 Lnet/minecraft/class_7743;method_45656(Lnet/minecraft/class_332;Lnet/minecraft/class_2680;)V
      named renderSignBackground Lnet/minecraft/client/gui/screen/ingame/AbstractSignEditScreen;renderSignBackground(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/block/BlockState;)V
    • getTextScale

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

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

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

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

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

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