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
,Navigable
,ParentElement
- Direct Known Subclasses:
HangingSignEditScreen
,SignEditScreen
- Mappings:
Namespace Name official eud
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 WoodType
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, LIGHT_DIRT_BACKGROUND_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, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, remove, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, 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, drawBorder, drawCenteredTextWithShadow, drawCenteredTextWithShadow, drawCenteredTextWithShadow, drawHorizontalLine, drawNineSlicedTexture, drawNineSlicedTexture, drawNineSlicedTexture, drawRepeatingTexture, drawSprite, drawSprite, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawTextWithShadow, drawTextWithShadow, drawVerticalLine, drawWithOutline, enableScissor, fill, fill, fillGradient, fillGradient, fillGradient
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.navigation.Navigable
getNavigationOrder
Methods inherited from interface net.minecraft.client.gui.ParentElement
focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
blockEntity
- Mappings:
Namespace Name Mixin selector official a
Leud;a:Ldak;
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
Leud;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
Leud;c:Ldde;
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/block/WoodType;
-
ticksSinceOpened
private int ticksSinceOpened- Mappings:
Namespace Name Mixin selector official o
Leud;o: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 p
Leud;p: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 q
Leud;q:Leqg;
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>
Leud;<init>(Ldak;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>
Leud;<init>(Ldak;ZLtj;)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.
This should call
Screen.setInitialFocus(net.minecraft.client.gui.Element)
to set the element that is initially focused. -
removed
public void removed() -
tick
public void tick() -
finishEditing
private void finishEditing()- Mappings:
Namespace Name Mixin selector official B
Leud;B()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
Lepl;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
Lepl;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
Lepa;a(Lehe;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
Leud;a(Lehe;Lfig$a;Ldbq;)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 m
Leud;m()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
Leud;a(Lehe;Ldbq;)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 c
Leud;c(Lehe;)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
Leud;a(Lehe;Lfig$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
-