Class CommandBlockScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.ingame.AbstractCommandBlockScreen
net.minecraft.client.gui.screen.ingame.CommandBlockScreen
- All Implemented Interfaces:
Drawable
,Element
,ParentElement
- Mappings:
Namespace Name official emt
intermediary net/minecraft/class_477
named net/minecraft/client/gui/screen/ingame/CommandBlockScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private final CommandBlockBlockEntity
private boolean
private CyclingButtonWidget<Boolean>
private CommandBlockBlockEntity.Type
private CyclingButtonWidget<Boolean>
Fields inherited from class net.minecraft.client.gui.screen.ingame.AbstractCommandBlockScreen
cancelButton, commandSuggestor, consoleCommandTextField, doneButton, previousOutputTextField, toggleTrackingOutputButton
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, width
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) CommandBlockExecutor
(package private) int
protected void
init()
Called when a screen should be initialized.void
resize
(MinecraftClient client, int width, int height) private void
setButtonsActive
(boolean active) protected void
syncSettingsToServer
(CommandBlockExecutor commandExecutor) void
Methods inherited from class net.minecraft.client.gui.screen.ingame.AbstractCommandBlockScreen
commitAndClose, keyPressed, mouseClicked, mouseScrolled, removed, render, setPreviousOutputText, tick
Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, close, filesDragged, findSelectedElementData, getNarratedTitle, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, remove, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, shouldCloseOnEsc, shouldPause, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.DrawableHelper
disableScissor, drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffset
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.Element
mouseMoved
Methods inherited from interface net.minecraft.client.gui.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseDragged, mouseReleased, setInitialFocus
-
Field Details
-
blockEntity
- Mappings:
Namespace Name Mixin selector official p
Lemt;p:Lctp;
intermediary field_2865
Lnet/minecraft/class_477;field_2865:Lnet/minecraft/class_2593;
named blockEntity
Lnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;blockEntity:Lnet/minecraft/block/entity/CommandBlockBlockEntity;
-
modeButton
- Mappings:
Namespace Name Mixin selector official q
Lemt;q:Lehv;
intermediary field_2869
Lnet/minecraft/class_477;field_2869:Lnet/minecraft/class_5676;
named modeButton
Lnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;modeButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
conditionalModeButton
- Mappings:
Namespace Name Mixin selector official r
Lemt;r:Lehv;
intermediary field_2871
Lnet/minecraft/class_477;field_2871:Lnet/minecraft/class_5676;
named conditionalModeButton
Lnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;conditionalModeButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
redstoneTriggerButton
- Mappings:
Namespace Name Mixin selector official s
Lemt;s:Lehv;
intermediary field_2866
Lnet/minecraft/class_477;field_2866:Lnet/minecraft/class_5676;
named redstoneTriggerButton
Lnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;redstoneTriggerButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
mode
- Mappings:
Namespace Name Mixin selector official t
Lemt;t:Lctp$a;
intermediary field_2870
Lnet/minecraft/class_477;field_2870:Lnet/minecraft/class_2593$class_2594;
named mode
Lnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;mode:Lnet/minecraft/block/entity/CommandBlockBlockEntity$Type;
-
conditional
private boolean conditional- Mappings:
Namespace Name Mixin selector official u
Lemt;u:Z
intermediary field_2868
Lnet/minecraft/class_477;field_2868:Z
named conditional
Lnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;conditional:Z
-
autoActivate
private boolean autoActivate- Mappings:
Namespace Name Mixin selector official v
Lemt;v:Z
intermediary field_2867
Lnet/minecraft/class_477;field_2867:Z
named autoActivate
Lnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;autoActivate:Z
-
-
Constructor Details
-
CommandBlockScreen
- Mappings:
Namespace Name Mixin selector official <init>
Lemt;<init>(Lctp;)V
intermediary <init>
Lnet/minecraft/class_477;<init>(Lnet/minecraft/class_2593;)V
named <init>
Lnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;<init>(Lnet/minecraft/block/entity/CommandBlockBlockEntity;)V
-
-
Method Details
-
getCommandExecutor
CommandBlockExecutor getCommandExecutor()- Specified by:
getCommandExecutor
in classAbstractCommandBlockScreen
- Mappings:
Namespace Name Mixin selector official g
Lemj;g()Lcfy;
intermediary method_2351
Lnet/minecraft/class_463;method_2351()Lnet/minecraft/class_1918;
named getCommandExecutor
Lnet/minecraft/client/gui/screen/ingame/AbstractCommandBlockScreen;getCommandExecutor()Lnet/minecraft/world/CommandBlockExecutor;
-
getTrackOutputButtonHeight
int getTrackOutputButtonHeight()- Specified by:
getTrackOutputButtonHeight
in classAbstractCommandBlockScreen
- Mappings:
Namespace Name Mixin selector official j
Lemj;j()I
intermediary method_2364
Lnet/minecraft/class_463;method_2364()I
named getTrackOutputButtonHeight
Lnet/minecraft/client/gui/screen/ingame/AbstractCommandBlockScreen;getTrackOutputButtonHeight()I
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
- Overrides:
init
in classAbstractCommandBlockScreen
- Mappings:
Namespace Name Mixin selector official b
Lelm;b()V
intermediary method_25426
Lnet/minecraft/class_437;method_25426()V
named init
Lnet/minecraft/client/gui/screen/Screen;init()V
-
setButtonsActive
private void setButtonsActive(boolean active) - Mappings:
Namespace Name Mixin selector official e
Lemt;e(Z)V
intermediary method_32647
Lnet/minecraft/class_477;method_32647(Z)V
named setButtonsActive
Lnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;setButtonsActive(Z)V
-
updateCommandBlock
public void updateCommandBlock()- Mappings:
Namespace Name Mixin selector official z
Lemt;z()V
intermediary method_2457
Lnet/minecraft/class_477;method_2457()V
named updateCommandBlock
Lnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;updateCommandBlock()V
-
resize
- Overrides:
resize
in classAbstractCommandBlockScreen
- Mappings:
Namespace Name Mixin selector official a
Lelm;a(Lefu;II)V
intermediary method_25410
Lnet/minecraft/class_437;method_25410(Lnet/minecraft/class_310;II)V
named resize
Lnet/minecraft/client/gui/screen/Screen;resize(Lnet/minecraft/client/MinecraftClient;II)V
-
syncSettingsToServer
- Specified by:
syncSettingsToServer
in classAbstractCommandBlockScreen
- Mappings:
Namespace Name Mixin selector official a
Lemj;a(Lcfy;)V
intermediary method_2352
Lnet/minecraft/class_463;method_2352(Lnet/minecraft/class_1918;)V
named syncSettingsToServer
Lnet/minecraft/client/gui/screen/ingame/AbstractCommandBlockScreen;syncSettingsToServer(Lnet/minecraft/world/CommandBlockExecutor;)V
-