Class CommandBlockEditScreen
java.lang.Object
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
,Renderable
,TabOrderedElement
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult
-
Field Summary
Modifier and TypeFieldDescriptionprivate final 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
CUBE_MAP, font, FOOTER_SEPARATOR, HEADER_SEPARATOR, height, INWORLD_FOOTER_SEPARATOR, INWORLD_HEADER_SEPARATOR, MENU_BACKGROUND, minecraft, PANORAMA, renderables, screenExecutor, title, width
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
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
getUsageNarration, keyPressed, mouseClicked, mouseScrolled, onDone, render, renderBackground, setInitialFocus, tick, updatePreviousOutput
Methods inherited from class net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, advancePanoramaTime, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, clearTooltipForNextRenderPass, clearWidgets, findNarratableWidget, getBackgroundMusic, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, narrationEnabled, onClose, onFilesDrop, rebuildWidgets, removed, removeWidget, renderBlurredBackground, renderMenuBackground, renderMenuBackground, renderMenuBackgroundTexture, renderPanorama, renderTransparentBackground, renderWithTooltip, repositionElements, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenError
Methods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocused
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
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, mouseDragged, mouseReleased, nextFocusPath, setFocused
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
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
-