Class SignEditScreen

All Implemented Interfaces:
Drawable, Element, ParentElement

@Environment(CLIENT) public class SignEditScreen extends Screen
Mappings:
Namespace Name
official eei
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 Leei;a:Lcms;
      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 Leei;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 Leei;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 Leei;n:Leab;
      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 Leei;o:Lcpi;
      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 Leei;p:Lerg$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 Leei;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> Leei;<init>(Lcms;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 Lece;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 Lece;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 Lece;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 Leei;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 Ldzl;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 ag_ Lece;ag_()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:
      Mappings:
      Namespace Name Mixin selector
      official a Ldzl;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 Ldzi;a(Ldrw;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