@Environment(value=CLIENT) public class SignEditScreen extends Screen
| Modifier and Type | Field and Description |
|---|---|
private int |
currentRow |
private SignBlockEntityRenderer.SignModel |
field_21525 |
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 sign) |
| 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(int mouseX,
int mouseY,
float delta) |
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, drawTexturedQuad, drawVerticalLine, fill, fill, fillGradient, getZOffset, 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
public SignEditScreen(SignBlockEntity sign)
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 Screen