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 |
protected java.util.List<java.lang.String> |
field_209111_t |
protected int |
field_209112_u |
protected int |
field_209113_v |
protected com.mojang.brigadier.ParseResults<ISuggestionProvider> |
field_209114_w |
protected java.util.concurrent.CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> |
field_209115_x |
protected TextFieldWidget |
resultTextField |
protected net.minecraft.client.gui.screen.AbstractCommandBlockScreen.SuggestionsList |
suggestionList |
protected Button |
trackOutputButton |
buttons, children, font, height, itemRenderer, minecraft, passEvents, title, width
BACKGROUND_LOCATION, blitOffset, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
AbstractCommandBlockScreen() |
Modifier and Type | Method and Description |
---|---|
protected void |
computeSuggestions() |
protected void |
func_195234_k() |
protected abstract void |
func_195235_a(CommandBlockLogic p_195235_1_) |
void |
func_209109_s() |
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_) |
protected void |
setCommand(java.lang.String p_209102_1_) |
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, 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, mouseDragged, mouseReleased
mouseMoved
protected TextFieldWidget commandTextField
protected TextFieldWidget resultTextField
protected Button doneButton
protected Button cancelButton
protected Button trackOutputButton
protected boolean field_195238_s
protected final java.util.List<java.lang.String> field_209111_t
protected int field_209112_u
protected int field_209113_v
protected com.mojang.brigadier.ParseResults<ISuggestionProvider> field_209114_w
protected java.util.concurrent.CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> field_209115_x
protected net.minecraft.client.gui.screen.AbstractCommandBlockScreen.SuggestionsList suggestionList
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 p_195235_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_)
protected void computeSuggestions()
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 func_209109_s()
protected void setCommand(java.lang.String p_209102_1_)