Package net.minecraft.client.gui.screen
Class CommandBlockScreen
java.lang.Object
net.minecraft.client.gui.AbstractGui
net.minecraft.client.gui.FocusableGui
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.AbstractCommandBlockScreen
net.minecraft.client.gui.screen.CommandBlockScreen
- All Implemented Interfaces:
IGuiEventListener,INestedGuiEventHandler,IRenderable,IScreen
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CommandBlockTileEntityprivate booleanprivate Buttonprivate booleanprivate Buttonprivate CommandBlockTileEntity.Modeprivate ButtonFields inherited from class net.minecraft.client.gui.screen.AbstractCommandBlockScreen
cancelButton, commandEdit, doneButton, outputButton, previousEdit, trackOutputFields inherited from class net.minecraft.client.gui.screen.Screen
buttons, children, font, height, itemRenderer, minecraft, passEvents, title, widthFields inherited from class net.minecraft.client.gui.AbstractGui
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) CommandBlockLogic(package private) intprotected voidinit()private voidnextMode()protected voidpopulateAndSendPacket(CommandBlockLogic p_195235_1_) voidprivate voidprivate voidvoidprivate voidMethods inherited from class net.minecraft.client.gui.screen.AbstractCommandBlockScreen
keyPressed, mouseClicked, mouseScrolled, onClose, onDone, removed, render, tick, updateCommandOutputMethods inherited from class net.minecraft.client.gui.screen.Screen
addButton, addWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, onFilesDrop, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderToolTip, renderWrappedToolTip, sendMessage, sendMessage, shouldCloseOnEsc, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.FocusableGui
getFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.AbstractGui
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLineMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.IGuiEventListener
mouseMovedMethods inherited from interface net.minecraft.client.gui.INestedGuiEventHandler
changeFocus, charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, mouseDragged, mouseReleased, setInitialFocus
-
Field Details
-
autoCommandBlock
-
modeButton
-
conditionalButton
-
autoexecButton
-
mode
-
conditional
private boolean conditional -
autoexec
private boolean autoexec
-
-
Constructor Details
-
CommandBlockScreen
-
-
Method Details
-
getCommandBlock
CommandBlockLogic getCommandBlock()- Specified by:
getCommandBlockin classAbstractCommandBlockScreen
-
getPreviousY
int getPreviousY()- Specified by:
getPreviousYin classAbstractCommandBlockScreen
-
init
protected void init()- Overrides:
initin classAbstractCommandBlockScreen
-
updateGui
public void updateGui() -
resize
- Overrides:
resizein classAbstractCommandBlockScreen
-
populateAndSendPacket
- Specified by:
populateAndSendPacketin classAbstractCommandBlockScreen
-
updateMode
private void updateMode() -
nextMode
private void nextMode() -
updateConditional
private void updateConditional() -
updateAutoexec
private void updateAutoexec()
-