Class AbstractSignEditScreen

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

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

    • blockEntity

      protected final SignBlockEntity blockEntity
      Mappings:
      Namespace Name Mixin selector
      official a Leqb;a:Lcxp;
      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

      protected final String[] text
      Mappings:
      Namespace Name Mixin selector
      official b Leqb;b:[Ljava/lang/String;
      intermediary field_40425 Lnet/minecraft/class_7743;field_40425:[Ljava/lang/String;
      named text Lnet/minecraft/client/gui/screen/ingame/AbstractSignEditScreen;text:[Ljava/lang/String;
    • signType

      protected final SignType signType
      Mappings:
      Namespace Name Mixin selector
      official c Leqb;c:Ldag;
      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/util/SignType;
    • ticksSinceOpened

      private int ticksSinceOpened
      Mappings:
      Namespace Name Mixin selector
      official n Leqb;n: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 o Leqb;o:I
      intermediary field_40428 Lnet/minecraft/class_7743;field_40428:I
      named currentRow Lnet/minecraft/client/gui/screen/ingame/AbstractSignEditScreen;currentRow:I
    • selectionManager

      private SelectionManager selectionManager
      Mappings:
      Namespace Name Mixin selector
      official p Leqb;p:Lemw;
      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 filtered)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leqb;<init>(Lcxp;Z)V
      intermediary <init> Lnet/minecraft/class_7743;<init>(Lnet/minecraft/class_2625;Z)V
      named <init> Lnet/minecraft/client/gui/screen/ingame/AbstractSignEditScreen;<init>(Lnet/minecraft/block/entity/SignBlockEntity;Z)V
    • AbstractSignEditScreen

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

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

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

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

      private void finishEditing()
      Mappings:
      Namespace Name Mixin selector
      official w Leqb;w()V
      intermediary method_45662 Lnet/minecraft/class_7743;method_45662()V
      named finishEditing Lnet/minecraft/client/gui/screen/ingame/AbstractSignEditScreen;finishEditing()V
    • 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 Lemg;a(CI)Z
      intermediary method_25400 Lnet/minecraft/class_364;method_25400(CI)Z
      named charTyped Lnet/minecraft/client/gui/Element;charTyped(CI)Z
    • close

      public void close()
      Overrides:
      close in class Screen
      Mappings:
      Namespace Name Mixin selector
      official aj_ Lepb;aj_()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      named close Lnet/minecraft/client/gui/screen/Screen;close()V
    • 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 Lemg;a(III)Z
      intermediary method_25404 Lnet/minecraft/class_364;method_25404(III)Z
      named keyPressed Lnet/minecraft/client/gui/Element;keyPressed(III)Z
    • render

      public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Lely;a(Leed;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
    • renderSignBackground

      protected abstract void renderSignBackground(MatrixStack matrices, VertexConsumerProvider.Immediate vertexConsumers, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Leqb;a(Leed;Lfdv$a;Lcyt;)V
      intermediary method_45656 Lnet/minecraft/class_7743;method_45656(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597$class_4598;Lnet/minecraft/class_2680;)V
      named renderSignBackground Lnet/minecraft/client/gui/screen/ingame/AbstractSignEditScreen;renderSignBackground(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider$Immediate;Lnet/minecraft/block/BlockState;)V
    • getTextScale

      protected abstract Vector3f getTextScale()
      Mappings:
      Namespace Name Mixin selector
      official i Leqb;i()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(MatrixStack matrices, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Leqb;a(Leed;Lcyt;)V
      intermediary method_45654 Lnet/minecraft/class_7743;method_45654(Lnet/minecraft/class_4587;Lnet/minecraft/class_2680;)V
      named translateForRender Lnet/minecraft/client/gui/screen/ingame/AbstractSignEditScreen;translateForRender(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/block/BlockState;)V
    • renderSign

      private void renderSign(MatrixStack matrices)
      Mappings:
      Namespace Name Mixin selector
      official b Leqb;b(Leed;)V
      intermediary method_45659 Lnet/minecraft/class_7743;method_45659(Lnet/minecraft/class_4587;)V
      named renderSign Lnet/minecraft/client/gui/screen/ingame/AbstractSignEditScreen;renderSign(Lnet/minecraft/client/util/math/MatrixStack;)V
    • renderSignText

      private void renderSignText(MatrixStack matrices, VertexConsumerProvider.Immediate vertexConsumers)
      Mappings:
      Namespace Name Mixin selector
      official a Leqb;a(Leed;Lfdv$a;)V
      intermediary method_45655 Lnet/minecraft/class_7743;method_45655(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597$class_4598;)V
      named renderSignText Lnet/minecraft/client/gui/screen/ingame/AbstractSignEditScreen;renderSignText(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider$Immediate;)V