public class ConfirmScreen extends Screen
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
cancelButtonText |
protected java.lang.String |
confirmButtonText |
protected it.unimi.dsi.fastutil.booleans.BooleanConsumer |
field_213003_c |
buttons, children, font, height, itemRenderer, minecraft, passEvents, title, widthBACKGROUND_LOCATION, blitOffset, GUI_ICONS_LOCATION, STATS_ICON_LOCATION| Constructor and Description |
|---|
ConfirmScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_i51119_1_,
ITextComponent p_i51119_2_,
ITextComponent p_i51119_3_) |
ConfirmScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_i51120_1_,
ITextComponent p_i51120_2_,
ITextComponent p_i51120_3_,
java.lang.String p_i51120_4_,
java.lang.String p_i51120_5_) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getNarrationMessage() |
protected void |
init() |
boolean |
keyPressed(int p_keyPressed_1_,
int p_keyPressed_2_,
int p_keyPressed_3_) |
void |
render(int p_render_1_,
int p_render_2_,
float p_render_3_) |
void |
setButtonDelay(int ticksUntilEnableIn) |
boolean |
shouldCloseOnEsc() |
void |
tick() |
addButton, children, getMinecraft, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, onClose, removed, renderBackground, renderBackground, renderComponentHoverEffect, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, setSize, wrapScreenErrorgetFocused, isDragging, setDragging, setFocusedblit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fillGradient, hLine, innerBlit, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeFocus, charTyped, func_212928_a, func_212930_a, func_212932_b, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolledmouseMovedprotected java.lang.String confirmButtonText
protected java.lang.String cancelButtonText
protected final it.unimi.dsi.fastutil.booleans.BooleanConsumer field_213003_c
public ConfirmScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_i51119_1_,
ITextComponent p_i51119_2_,
ITextComponent p_i51119_3_)
public ConfirmScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_i51120_1_,
ITextComponent p_i51120_2_,
ITextComponent p_i51120_3_,
java.lang.String p_i51120_4_,
java.lang.String p_i51120_5_)
public java.lang.String getNarrationMessage()
getNarrationMessage in class Screenpublic void render(int p_render_1_,
int p_render_2_,
float p_render_3_)
render in interface IRenderablerender in class Screenpublic void setButtonDelay(int ticksUntilEnableIn)
public boolean shouldCloseOnEsc()
shouldCloseOnEsc in class Screenpublic boolean keyPressed(int p_keyPressed_1_,
int p_keyPressed_2_,
int p_keyPressed_3_)
keyPressed in interface IGuiEventListenerkeyPressed in interface INestedGuiEventHandlerkeyPressed in class Screen