public abstract class GuiCommandBlockBase extends GuiScreen
Modifier and Type | Field and Description |
---|---|
protected GuiButton |
cancelButton |
protected GuiTextField |
commandTextField |
protected GuiButton |
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 GuiTextField |
resultTextField |
protected net.minecraft.client.gui.GuiCommandBlockBase.SuggestionsList |
suggestionList |
protected GuiButton |
trackOutputButton |
allowUserInput, buttons, children, fontRenderer, height, itemRender, labels, mc, width
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiCommandBlockBase() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
computeSuggestions() |
protected void |
func_195232_m() |
protected void |
func_195234_k() |
protected abstract void |
func_195235_a(CommandBlockBaseLogic p_195235_1_) |
void |
func_209109_s() |
protected void |
initGui() |
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_) |
void |
onGuiClosed() |
void |
onResize(Minecraft mcIn,
int w,
int h) |
void |
render(int mouseX,
int mouseY,
float partialTicks) |
protected void |
setCommand(java.lang.String p_209102_1_) |
void |
tick() |
protected void |
updateTrackOutput() |
addButton, allowCloseWithEscape, confirmResult, doesGuiPauseGame, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getChildren, getItemToolTip, handleComponentClick, handleComponentHover, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, renderToolTip, runOrMakeCrashReport, sendChatMessage, sendChatMessage, setText, setWorldAndResolution
focusNext, focusOn, getFocused, mouseDragged, mouseReleased, setDragging, setFocused
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
charTyped, keyReleased
canFocus, focusChanged
protected GuiTextField commandTextField
protected GuiTextField resultTextField
protected GuiButton doneButton
protected GuiButton cancelButton
protected GuiButton 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.GuiCommandBlockBase.SuggestionsList suggestionList
protected void updateTrackOutput()
protected void func_195234_k()
public void onGuiClosed()
onGuiClosed
in class GuiScreen
protected abstract void func_195235_a(CommandBlockBaseLogic p_195235_1_)
protected void func_195232_m()
public boolean keyPressed(int p_keyPressed_1_, int p_keyPressed_2_, int p_keyPressed_3_)
keyPressed
in interface IGuiEventListener
keyPressed
in interface IGuiEventListenerDeferred
keyPressed
in class GuiScreen
public boolean mouseScrolled(double p_mouseScrolled_1_)
public boolean mouseClicked(double p_mouseClicked_1_, double p_mouseClicked_3_, int p_mouseClicked_5_)
mouseClicked
in interface IGuiEventListener
mouseClicked
in interface IGuiEventListenerDeferred
mouseClicked
in class GuiEventHandler
protected void computeSuggestions()
public void render(int mouseX, int mouseY, float partialTicks)
public void func_209109_s()
protected void setCommand(java.lang.String p_209102_1_)