public class ConfirmScreen extends Screen
修飾子とタイプ | フィールドと説明 |
---|---|
protected it.unimi.dsi.fastutil.booleans.BooleanConsumer |
callbackFunction |
protected java.lang.String |
cancelButtonText
The text shown for the second button in GuiYesNo
|
protected java.lang.String |
confirmButtonText
The text shown for the first button in GuiYesNo
|
buttons, children, font, height, itemRenderer, minecraft, passEvents, title, width
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
コンストラクタと説明 |
---|
ConfirmScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer _callbackFunction,
ITextComponent _title,
ITextComponent _messageLine2) |
ConfirmScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer _callbackFunction,
ITextComponent _title,
ITextComponent _messageLine2,
java.lang.String _confirmButtonText,
java.lang.String _cancelButtonText) |
修飾子とタイプ | メソッドと説明 |
---|---|
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)
Sets the number of ticks to wait before enabling the buttons.
|
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, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeFocus, charTyped, func_212932_b, getEventListenerForPos, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocusedDefault
mouseMoved
protected java.lang.String confirmButtonText
protected java.lang.String cancelButtonText
protected final it.unimi.dsi.fastutil.booleans.BooleanConsumer callbackFunction
public ConfirmScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer _callbackFunction, ITextComponent _title, ITextComponent _messageLine2)
public ConfirmScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer _callbackFunction, ITextComponent _title, ITextComponent _messageLine2, java.lang.String _confirmButtonText, java.lang.String _cancelButtonText)
public java.lang.String getNarrationMessage()
getNarrationMessage
クラス内 Screen
public void render(int p_render_1_, int p_render_2_, float p_render_3_)
render
インタフェース内 IRenderable
render
クラス内 Screen
public void setButtonDelay(int ticksUntilEnableIn)
public boolean shouldCloseOnEsc()
shouldCloseOnEsc
クラス内 Screen
public boolean keyPressed(int p_keyPressed_1_, int p_keyPressed_2_, int p_keyPressed_3_)
keyPressed
インタフェース内 IGuiEventListener
keyPressed
インタフェース内 INestedGuiEventHandler
keyPressed
クラス内 Screen