public class CommandBlockScreen extends AbstractCommandBlockScreen
Modifier and Type | Field and Description |
---|---|
private Button |
autoExecBtn |
private boolean |
automatic |
private CommandBlockTileEntity |
commandBlock |
private CommandBlockTileEntity.Mode |
commandBlockMode |
private boolean |
conditional |
private Button |
conditionalBtn |
private Button |
modeBtn |
cancelButton, commandTextField, doneButton, field_195238_s, resultTextField, trackOutputButton
buttons, children, font, height, itemRenderer, minecraft, passEvents, title, width
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
CommandBlockScreen(CommandBlockTileEntity commandBlockIn) |
Modifier and Type | Method and Description |
---|---|
protected void |
func_195235_a(CommandBlockLogic commandBlockLogicIn) |
(package private) int |
func_195236_i() |
(package private) CommandBlockLogic |
getLogic() |
protected void |
init() |
private void |
nextMode() |
void |
resize(Minecraft p_resize_1_,
int p_resize_2_,
int p_resize_3_) |
private void |
updateAutoExec() |
private void |
updateConditional() |
void |
updateGui() |
private void |
updateMode() |
func_195234_k, keyPressed, mouseClicked, mouseScrolled, onClose, removed, render, tick, 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
private final CommandBlockTileEntity commandBlock
private Button modeBtn
private Button conditionalBtn
private Button autoExecBtn
private CommandBlockTileEntity.Mode commandBlockMode
private boolean conditional
private boolean automatic
public CommandBlockScreen(CommandBlockTileEntity commandBlockIn)
CommandBlockLogic getLogic()
getLogic
in class AbstractCommandBlockScreen
int func_195236_i()
func_195236_i
in class AbstractCommandBlockScreen
protected void init()
init
in class AbstractCommandBlockScreen
public void updateGui()
public void resize(Minecraft p_resize_1_, int p_resize_2_, int p_resize_3_)
resize
in class AbstractCommandBlockScreen
protected void func_195235_a(CommandBlockLogic commandBlockLogicIn)
func_195235_a
in class AbstractCommandBlockScreen
private void updateMode()
private void nextMode()
private void updateConditional()
private void updateAutoExec()