Class AbstractSignEditScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.ingame.AbstractSignEditScreen
- All Implemented Interfaces:
Drawable
,Element
,ParentElement
- Direct Known Subclasses:
HangingSignEditScreen
,SignEditScreen
- Mappings:
Namespace Name official eqb
intermediary net/minecraft/class_7743
named net/minecraft/client/gui/screen/ingame/AbstractSignEditScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprotected final SignBlockEntity
private int
private SelectionManager
protected final SignType
protected final String[]
private int
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, width
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorDescriptionAbstractSignEditScreen
(SignBlockEntity blockEntity, boolean filtered) AbstractSignEditScreen
(SignBlockEntity blockEntity, boolean filtered, Text title) -
Method Summary
Modifier and TypeMethodDescriptionboolean
charTyped
(char chr, int modifiers) Callback for when a character input has been captured.void
close()
private void
protected abstract Vector3f
protected void
init()
Called when a screen should be initialized.boolean
keyPressed
(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.void
removed()
void
render
(MatrixStack matrices, int mouseX, int mouseY, float delta) private void
renderSign
(MatrixStack matrices) protected abstract void
renderSignBackground
(MatrixStack matrices, VertexConsumerProvider.Immediate vertexConsumers, BlockState state) private void
renderSignText
(MatrixStack matrices, VertexConsumerProvider.Immediate vertexConsumers) void
tick()
protected void
translateForRender
(MatrixStack matrices, BlockState state) Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getNarratedTitle, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, remove, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.DrawableHelper
disableScissor, drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
mouseMoved
Methods inherited from interface net.minecraft.client.gui.ParentElement
changeFocus, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
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
- 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
- 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
- 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
- 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
- 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.
-
removed
public void removed() -
tick
public void tick() -
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 inGLFW
class.- Parameters:
chr
- the captured charactermodifiers
- 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() -
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 inGLFW
class.- Specified by:
keyPressed
in interfaceElement
- Specified by:
keyPressed
in interfaceParentElement
- Overrides:
keyPressed
in classScreen
- Parameters:
keyCode
- the named key code of the event as described in theGLFW
classscanCode
- the unique/platform-specific scan code of the keyboard inputmodifiers
- 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
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- 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
- 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
- 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
- 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
- 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
-