Class CommandBlockEditScreen
java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.inventory.AbstractCommandBlockEditScreen
net.minecraft.client.gui.screens.inventory.CommandBlockEditScreen
- All Implemented Interfaces:
ContainerEventHandler
,GuiEventListener
,Widget
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult
-
Field Summary
Modifier and TypeFieldDescriptionprivate CommandBlockEntity
private boolean
private CycleButton<Boolean>
private boolean
private CycleButton<Boolean>
private CommandBlockEntity.Mode
private CycleButton<CommandBlockEntity.Mode>
Fields inherited from class net.minecraft.client.gui.screens.inventory.AbstractCommandBlockEditScreen
cancelButton, commandEdit, commandSuggestions, doneButton, outputButton, previousEdit
Fields inherited from class net.minecraft.client.gui.screens.Screen
font, height, itemRenderer, minecraft, passEvents, renderables, title, width
Fields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
enableControls(boolean p_169730_)
(package private) BaseCommandBlock
(package private) int
protected void
init()
protected void
populateAndSendPacket(BaseCommandBlock p_98384_)
void
void
Methods inherited from class net.minecraft.client.gui.screens.inventory.AbstractCommandBlockEditScreen
keyPressed, mouseClicked, mouseScrolled, onDone, removed, render, tick, updatePreviousOutput
Methods inherited from class net.minecraft.client.gui.screens.Screen
addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, children, clearWidgets, findNarratableWidget, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, narrationEnabled, onClose, onFilesDrop, removeWidget, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderComponentToolTip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderToolTip, sendMessage, sendMessage, shouldCloseOnEsc, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenError
Methods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.GuiComponent
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, fill, fillGradient, 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.components.events.ContainerEventHandler
changeFocus, charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, mouseDragged, mouseReleased, setInitialFocus
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
-
Field Details
-
autoCommandBlock
-
modeButton
-
conditionalButton
-
autoexecButton
-
mode
-
conditional
private boolean conditional -
autoexec
private boolean autoexec
-
-
Constructor Details
-
CommandBlockEditScreen
-
-
Method Details
-
getCommandBlock
BaseCommandBlock getCommandBlock()- Specified by:
getCommandBlock
in classAbstractCommandBlockEditScreen
-
getPreviousY
int getPreviousY()- Specified by:
getPreviousY
in classAbstractCommandBlockEditScreen
-
init
protected void init()- Overrides:
init
in classAbstractCommandBlockEditScreen
-
enableControls
private void enableControls(boolean p_169730_) -
updateGui
public void updateGui() -
resize
- Overrides:
resize
in classAbstractCommandBlockEditScreen
-
populateAndSendPacket
- Specified by:
populateAndSendPacket
in classAbstractCommandBlockEditScreen
-