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, widthBACKGROUND_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, wrapScreenErrorgetFocused, isDragging, setDragging, setFocusedblit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeFocus, charTyped, func_212932_b, getEventListenerForPos, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocusedDefaultmouseMovedprotected 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 クラス内 Screenpublic void render(int p_render_1_,
int p_render_2_,
float p_render_3_)
render インタフェース内 IRenderablerender クラス内 Screenpublic void setButtonDelay(int ticksUntilEnableIn)
public boolean shouldCloseOnEsc()
shouldCloseOnEsc クラス内 Screenpublic boolean keyPressed(int p_keyPressed_1_,
int p_keyPressed_2_,
int p_keyPressed_3_)
keyPressed インタフェース内 IGuiEventListenerkeyPressed インタフェース内 INestedGuiEventHandlerkeyPressed クラス内 Screen