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, width
BACKGROUND_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, wrapScreenError
getFocused, isDragging, setDragging, setFocused
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fillGradient, hLine, innerBlit, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeFocus, charTyped, func_212928_a, func_212930_a, func_212932_b, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled
mouseMoved
protected 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 Screen
public void render(int p_render_1_, int p_render_2_, float p_render_3_)
render
in interface IRenderable
render
in class Screen
public void setButtonDelay(int ticksUntilEnableIn)
public boolean shouldCloseOnEsc()
shouldCloseOnEsc
in class Screen
public boolean keyPressed(int p_keyPressed_1_, int p_keyPressed_2_, int p_keyPressed_3_)
keyPressed
in interface IGuiEventListener
keyPressed
in interface INestedGuiEventHandler
keyPressed
in class Screen