public class ChatScreen extends Screen
修飾子とタイプ | フィールドと説明 |
---|---|
protected TextFieldWidget |
inputField
Chat entry field
|
buttons, children, font, height, itemRenderer, minecraft, passEvents, title, width
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
コンストラクタと説明 |
---|
ChatScreen(java.lang.String defaultText) |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
getSentHistory(int msgPos)
input is relative and is applied directly to the sentHistoryCursor so -1 is the previous message, 1 is the next
message from the current cursor position
|
protected void |
init() |
protected void |
insertText(java.lang.String p_insertText_1_,
boolean p_insertText_2_) |
boolean |
isPauseScreen() |
boolean |
keyPressed(int p_keyPressed_1_,
int p_keyPressed_2_,
int p_keyPressed_3_) |
boolean |
mouseClicked(double p_mouseClicked_1_,
double p_mouseClicked_3_,
int p_mouseClicked_5_) |
boolean |
mouseScrolled(double p_mouseScrolled_1_,
double p_mouseScrolled_3_,
double p_mouseScrolled_5_) |
void |
removed() |
void |
render(int p_render_1_,
int p_render_2_,
float p_render_3_) |
void |
resize(Minecraft p_resize_1_,
int p_resize_2_,
int p_resize_3_) |
void |
tick() |
addButton, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onClose, renderBackground, renderBackground, renderComponentHoverEffect, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, sendMessage, sendMessage, setSize, shouldCloseOnEsc, 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, mouseDragged, mouseReleased, setFocusedDefault
mouseMoved
protected TextFieldWidget inputField
public void resize(Minecraft p_resize_1_, int p_resize_2_, int p_resize_3_)
public boolean keyPressed(int p_keyPressed_1_, int p_keyPressed_2_, int p_keyPressed_3_)
keyPressed
インタフェース内 IGuiEventListener
keyPressed
インタフェース内 INestedGuiEventHandler
keyPressed
クラス内 Screen
public boolean mouseScrolled(double p_mouseScrolled_1_, double p_mouseScrolled_3_, double p_mouseScrolled_5_)
public boolean mouseClicked(double p_mouseClicked_1_, double p_mouseClicked_3_, int p_mouseClicked_5_)
protected void insertText(java.lang.String p_insertText_1_, boolean p_insertText_2_)
insertText
クラス内 Screen
public void getSentHistory(int msgPos)
public void render(int p_render_1_, int p_render_2_, float p_render_3_)
render
インタフェース内 IRenderable
render
クラス内 Screen
public boolean isPauseScreen()
isPauseScreen
クラス内 Screen