Class SignEditScreen

All Implemented Interfaces:
Drawable, Element, ParentElement

@Environment(CLIENT) public class SignEditScreen extends Screen
Mappings:
Namespace Name
official ecs
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 Lecs;a:Lcjp;
      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 Lecs;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 Lecs;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 Lecs;n:Ldyn;
      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 Lecs;o:Lcme;
      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 Lecs;p:Lepp$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 Lecs;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> Lecs;<init>(Lcjp;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 Leap;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 Leap;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 Leap;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 Lecs;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:
      Keyboard.onChar(long, int, int), GLFW.GLFW_KEY_Q, GLFWKeyCallbackI.invoke(long, int, int, int, int)
      Mappings:
      Namespace Name Mixin selector
      official a Ldxx;a(CI)Z
      intermediary method_25400 Lnet/minecraft/class_364;method_25400(CI)Z
      named charTyped Lnet/minecraft/client/gui/Element;charTyped(CI)Z
    • onClose

      public void onClose()
      Overrides:
      onClose in class Screen
      Mappings:
      Namespace Name Mixin selector
      official ah_ Leap;ah_()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      named onClose Lnet/minecraft/client/gui/screen/Screen;onClose()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:
      Keyboard.onKey(long, int, int, int, int), GLFW.GLFW_KEY_Q, GLFWKeyCallbackI.invoke(long, int, int, int, int)
      Mappings:
      Namespace Name Mixin selector
      official a Ldxx;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 Ldxu;a(Ldqk;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