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
FieldsModifier and TypeFieldDescriptionprivate final CommandBlockEntityprivate booleanprivate CycleButton<Boolean> private booleanprivate CycleButton<Boolean> private CommandBlockEntity.Modeprivate CycleButton<CommandBlockEntity.Mode> Fields inherited from class net.minecraft.client.gui.screens.inventory.AbstractCommandBlockEditScreen
cancelButton, commandEdit, commandSuggestions, doneButton, outputButton, previousEditFields 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, widthFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidenableControls(boolean p_169730_) (package private) BaseCommandBlock(package private) intprotected voidinit()protected voidpopulateAndSendPacket(BaseCommandBlock p_98384_) voidvoidMethods inherited from class net.minecraft.client.gui.screens.inventory.AbstractCommandBlockEditScreen
getUsageNarration, keyPressed, mouseClicked, mouseScrolled, onDone, render, renderBackground, setInitialFocus, tick, updatePreviousOutputMethods 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, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, mouseDragged, mouseReleased, nextFocusPath, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMovedMethods 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:
getCommandBlockin classAbstractCommandBlockEditScreen
-
getPreviousY
int getPreviousY()- Specified by:
getPreviousYin classAbstractCommandBlockEditScreen
-
init
protected void init()- Overrides:
initin classAbstractCommandBlockEditScreen
-
enableControls
private void enableControls(boolean p_169730_) -
updateGui
public void updateGui() -
resize
- Overrides:
resizein classAbstractCommandBlockEditScreen
-
populateAndSendPacket
- Specified by:
populateAndSendPacketin classAbstractCommandBlockEditScreen
-