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
Modifier and TypeFieldDescriptionprivate final CommandBlockTileEntity
private boolean
private Button
private boolean
private Button
private CommandBlockTileEntity.Mode
private Button
Fields inherited from class net.minecraft.client.gui.screen.AbstractCommandBlockScreen
cancelButton, commandEdit, doneButton, outputButton, previousEdit, trackOutput
Fields inherited from class net.minecraft.client.gui.screen.Screen
buttons, children, font, height, itemRenderer, minecraft, passEvents, title, width
Fields inherited from class net.minecraft.client.gui.AbstractGui
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) CommandBlockLogic
(package private) int
protected void
init()
private void
nextMode()
protected void
populateAndSendPacket
(CommandBlockLogic p_195235_1_) void
private void
private void
void
private void
Methods inherited from class net.minecraft.client.gui.screen.AbstractCommandBlockScreen
keyPressed, mouseClicked, mouseScrolled, onClose, onDone, removed, render, tick, updateCommandOutput
Methods 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, wrapScreenError
Methods inherited from class net.minecraft.client.gui.FocusableGui
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.AbstractGui
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.IGuiEventListener
mouseMoved
Methods 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:
getCommandBlock
in classAbstractCommandBlockScreen
-
getPreviousY
int getPreviousY()- Specified by:
getPreviousY
in classAbstractCommandBlockScreen
-
init
protected void init()- Overrides:
init
in classAbstractCommandBlockScreen
-
updateGui
public void updateGui() -
resize
- Overrides:
resize
in classAbstractCommandBlockScreen
-
populateAndSendPacket
- Specified by:
populateAndSendPacket
in classAbstractCommandBlockScreen
-
updateMode
private void updateMode() -
nextMode
private void nextMode() -
updateConditional
private void updateConditional() -
updateAutoexec
private void updateAutoexec()
-