Class SignEditScreen
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.SignEditScreen
- All Implemented Interfaces:
Drawable
,Element
,ParentElement
- Mappings:
Namespace Name official eei
intermediary net/minecraft/class_498
named net/minecraft/client/gui/screen/ingame/SignEditScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private SelectionManager
private final SignBlockEntity
private SignType
private 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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
charTyped
(char chr, int modifiers) Callback for when a character input has been captured.private void
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
onClose()
void
removed()
void
render
(MatrixStack matrices, int mouseX, int mouseY, float delta) void
tick()
Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearChildren, filesDragged, findSelectedElementData, getNarratedTitle, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, remove, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, 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
-
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
- 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
- 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
- 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
- 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.
-
removed
public void removed() -
tick
public void tick() -
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 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
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() -
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
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
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- 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
-