@Environment(value=CLIENT) public class SignEditScreen extends Screen
| Modifier and Type | Field and Description |
|---|---|
private int |
currentRow |
private SignBlockEntityRenderer.SignModel |
field_21525 |
private String[] |
field_24285 |
private SelectionManager |
selectionManager |
private SignBlockEntity |
sign |
private int |
ticksSinceOpened |
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, widthBACKGROUND_TEXTURE, GUI_ICONS_TEXTURE, STATS_ICON_TEXTURE| Constructor and Description |
|---|
SignEditScreen(SignBlockEntity signBlockEntity) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
charTyped(char chr,
int keyCode) |
private void |
finishEditing() |
protected void |
init() |
boolean |
keyPressed(int keyCode,
int scanCode,
int modifiers) |
void |
onClose() |
void |
removed() |
void |
render(MatrixStack matrixStack,
int mouseY,
int int2,
float float2) |
void |
tick() |
addButton, addChild, children, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, renderBackground, renderBackground, renderDirtBackground, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, wrapScreenErrorgetFocused, isDragging, setDragging, setFocuseddrawCenteredString, drawHorizontalLine, drawSprite, drawString, drawTexture, drawTexture, drawTexture, drawTexture, drawVerticalLine, fill, fillGradient, getZOffset, method_27534, method_27535, setZOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeFocus, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocusmouseMovedprivate final SignBlockEntityRenderer.SignModel field_21525
private final SignBlockEntity sign
private int ticksSinceOpened
private int currentRow
private SelectionManager selectionManager
private final String[] field_24285
public SignEditScreen(SignBlockEntity signBlockEntity)
private void finishEditing()
public boolean charTyped(char chr,
int keyCode)
public boolean keyPressed(int keyCode,
int scanCode,
int modifiers)
keyPressed in interface ElementkeyPressed in interface ParentElementkeyPressed in class Screenpublic void render(MatrixStack matrixStack, int mouseY, int int2, float float2)