public abstract class AbstractCommandBlockScreen extends Screen
Modifier and Type | Field and Description |
---|---|
protected Button |
cancelButton |
protected TextFieldWidget |
commandTextField |
protected Button |
doneButton |
protected boolean |
field_195238_s |
private CommandSuggestionHelper |
field_228184_g_ |
protected TextFieldWidget |
resultTextField |
protected Button |
trackOutputButton |
buttons, children, font, height, itemRenderer, minecraft, passEvents, title, width
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
AbstractCommandBlockScreen() |
Modifier and Type | Method and Description |
---|---|
protected void |
func_195234_k() |
protected abstract void |
func_195235_a(CommandBlockLogic commandBlockLogicIn) |
(package private) abstract int |
func_195236_i() |
private void |
func_214185_b(java.lang.String p_214185_1_) |
(package private) abstract CommandBlockLogic |
getLogic() |
protected void |
init() |
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 |
onClose() |
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() |
protected void |
updateTrackOutput() |
addButton, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, 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 commandTextField
protected TextFieldWidget resultTextField
protected Button doneButton
protected Button cancelButton
protected Button trackOutputButton
protected boolean field_195238_s
private CommandSuggestionHelper field_228184_g_
abstract CommandBlockLogic getLogic()
abstract int func_195236_i()
public void resize(Minecraft p_resize_1_, int p_resize_2_, int p_resize_3_)
protected void updateTrackOutput()
protected void func_195234_k()
protected abstract void func_195235_a(CommandBlockLogic commandBlockLogicIn)
private void func_214185_b(java.lang.String p_214185_1_)
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
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_)
public void render(int p_render_1_, int p_render_2_, float p_render_3_)
render
in interface IRenderable
render
in class Screen