@Environment(value=CLIENT) public class NoticeScreen extends Screen
| Modifier and Type | Field and Description |
|---|---|
private Runnable |
actionHandler |
protected Text |
buttonString |
private int |
field_2347 |
protected Text |
notice |
private List<StringRenderable> |
noticeLines |
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, widthBACKGROUND_TEXTURE, GUI_ICONS_TEXTURE, STATS_ICON_TEXTURE| Constructor and Description |
|---|
NoticeScreen(Runnable actionHandler,
Text title,
Text notice) |
NoticeScreen(Runnable actionHandler,
Text title,
Text notice,
Text text) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
init() |
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, keyPressed, method_29638, onClose, removed, 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, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocusmouseMovedprivate final Runnable actionHandler
protected final Text notice
private final List<StringRenderable> noticeLines
protected final Text buttonString
private int field_2347
public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
public void tick()
tick in interface TickableElementtick in class Screen