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
,Renderable
-
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
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
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
keyPressed, mouseClicked, mouseScrolled, onDone, 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, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, narrationEnabled, onClose, onFilesDrop, rebuildWidgets, removed, removeWidget, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, 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, disableScissor, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, enableScissor, 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
-