@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 matrices,
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, method_29638, renderBackground, renderBackground, renderBackgroundTexture, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, wrapScreenErrorgetFocused, isDragging, setDragging, setFocuseddrawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, 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)
public void tick()
tick in interface TickableElementtick in class Screenprivate 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 matrices, int mouseX, int mouseY, float delta)