Class SignEditScreen

All Implemented Interfaces:
Drawable, Element, ParentElement

@Environment(CLIENT) public class SignEditScreen extends Screen
Mappings:
Namespace Name
official emn
intermediary net/minecraft/class_498
named net/minecraft/client/gui/screen/ingame/SignEditScreen
  • Field Details

    • sign

      private final SignBlockEntity sign
      Mappings:
      Namespace Name Mixin selector
      official a Lemn;a:Lctn;
      intermediary field_3031 Lnet/minecraft/class_498;field_3031:Lnet/minecraft/class_2625;
      named sign Lnet/minecraft/client/gui/screen/ingame/SignEditScreen;sign:Lnet/minecraft/block/entity/SignBlockEntity;
    • ticksSinceOpened

      private int ticksSinceOpened
      Mappings:
      Namespace Name Mixin selector
      official b Lemn;b:I
      intermediary field_3030 Lnet/minecraft/class_498;field_3030:I
      named ticksSinceOpened Lnet/minecraft/client/gui/screen/ingame/SignEditScreen;ticksSinceOpened:I
    • currentRow

      private int currentRow
      Mappings:
      Namespace Name Mixin selector
      official c Lemn;c:I
      intermediary field_3029 Lnet/minecraft/class_498;field_3029:I
      named currentRow Lnet/minecraft/client/gui/screen/ingame/SignEditScreen;currentRow:I
    • selectionManager

      private SelectionManager selectionManager
      Mappings:
      Namespace Name Mixin selector
      official n Lemn;n:Leig;
      intermediary field_3032 Lnet/minecraft/class_498;field_3032:Lnet/minecraft/class_3728;
      named selectionManager Lnet/minecraft/client/gui/screen/ingame/SignEditScreen;selectionManager:Lnet/minecraft/client/util/SelectionManager;
    • signType

      private SignType signType
      Mappings:
      Namespace Name Mixin selector
      official o Lemn;o:Lcwd;
      intermediary field_27390 Lnet/minecraft/class_498;field_27390:Lnet/minecraft/class_4719;
      named signType Lnet/minecraft/client/gui/screen/ingame/SignEditScreen;signType:Lnet/minecraft/util/SignType;
    • model

      Mappings:
      Namespace Name Mixin selector
      official p Lemn;p:Lfac$a;
      intermediary field_21525 Lnet/minecraft/class_498;field_21525:Lnet/minecraft/class_837$class_4702;
      named model Lnet/minecraft/client/gui/screen/ingame/SignEditScreen;model:Lnet/minecraft/client/render/block/entity/SignBlockEntityRenderer$SignModel;
    • text

      private final String[] text
      Mappings:
      Namespace Name Mixin selector
      official q Lemn;q:[Ljava/lang/String;
      intermediary field_24285 Lnet/minecraft/class_498;field_24285:[Ljava/lang/String;
      named text Lnet/minecraft/client/gui/screen/ingame/SignEditScreen;text:[Ljava/lang/String;
  • Constructor Details

    • SignEditScreen

      public SignEditScreen(SignBlockEntity sign, boolean filtered)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lemn;<init>(Lctn;Z)V
      intermediary <init> Lnet/minecraft/class_498;<init>(Lnet/minecraft/class_2625;Z)V
      named <init> Lnet/minecraft/client/gui/screen/ingame/SignEditScreen;<init>(Lnet/minecraft/block/entity/SignBlockEntity;Z)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 Lekj;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 e Lekj;e()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 Lekj;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 h Lemn;h()V
      intermediary method_2526 Lnet/minecraft/class_498;method_2526()V
      named finishEditing Lnet/minecraft/client/gui/screen/ingame/SignEditScreen;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 Lehq;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 ah_ Lekj;ah_()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 Lehq;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 Lehn;a(Ldzt;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