Class CommandBlockScreen
java.lang.Object
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
,Navigable
,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/ingame/CommandBlockScreen
intermediary net/minecraft/class_477
official fok
-
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, executor, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, width
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, getUsageNarrationText, keyPressed, mouseClicked, mouseScrolled, render, renderBackground, setInitialFocus, setPreviousOutputText, tick
Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, blur, children, clearAndInit, clearChildren, clearTooltip, close, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
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.Element
mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseDragged, mouseReleased, setFocused
-
Field Details
-
blockEntity
- Mappings:
Namespace Name Mixin selector named blockEntity
Lnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;blockEntity:Lnet/minecraft/block/entity/CommandBlockBlockEntity;
intermediary field_2865
Lnet/minecraft/class_477;field_2865:Lnet/minecraft/class_2593;
official s
Lfok;s:Ldqa;
-
modeButton
- Mappings:
Namespace Name Mixin selector named modeButton
Lnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;modeButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
intermediary field_2869
Lnet/minecraft/class_477;field_2869:Lnet/minecraft/class_5676;
official u
Lfok;u:Lfib;
-
conditionalModeButton
- Mappings:
Namespace Name Mixin selector named conditionalModeButton
Lnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;conditionalModeButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
intermediary field_2871
Lnet/minecraft/class_477;field_2871:Lnet/minecraft/class_5676;
official v
Lfok;v:Lfib;
-
redstoneTriggerButton
- Mappings:
Namespace Name Mixin selector named redstoneTriggerButton
Lnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;redstoneTriggerButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
intermediary field_2866
Lnet/minecraft/class_477;field_2866:Lnet/minecraft/class_5676;
official w
Lfok;w:Lfib;
-
mode
- Mappings:
Namespace Name Mixin selector named mode
Lnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;mode:Lnet/minecraft/block/entity/CommandBlockBlockEntity$Type;
intermediary field_2870
Lnet/minecraft/class_477;field_2870:Lnet/minecraft/class_2593$class_2594;
official x
Lfok;x:Ldqa$a;
-
conditional
private boolean conditional- Mappings:
Namespace Name Mixin selector named conditional
Lnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;conditional:Z
intermediary field_2868
Lnet/minecraft/class_477;field_2868:Z
official y
Lfok;y:Z
-
autoActivate
private boolean autoActivate- Mappings:
Namespace Name Mixin selector named autoActivate
Lnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;autoActivate:Z
intermediary field_2867
Lnet/minecraft/class_477;field_2867:Z
official z
Lfok;z:Z
-
-
Constructor Details
-
CommandBlockScreen
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;<init>(Lnet/minecraft/block/entity/CommandBlockBlockEntity;)V
intermediary <init>
Lnet/minecraft/class_477;<init>(Lnet/minecraft/class_2593;)V
official <init>
Lfok;<init>(Ldqa;)V
-
-
Method Details
-
getCommandExecutor
CommandBlockExecutor getCommandExecutor()- Specified by:
getCommandExecutor
in classAbstractCommandBlockScreen
- Mappings:
Namespace Name Mixin selector named getCommandExecutor
Lnet/minecraft/client/gui/screen/ingame/AbstractCommandBlockScreen;getCommandExecutor()Lnet/minecraft/world/CommandBlockExecutor;
intermediary method_2351
Lnet/minecraft/class_463;method_2351()Lnet/minecraft/class_1918;
official m
Lfnz;m()Ldbh;
-
getTrackOutputButtonHeight
int getTrackOutputButtonHeight()- Specified by:
getTrackOutputButtonHeight
in classAbstractCommandBlockScreen
- Mappings:
Namespace Name Mixin selector named getTrackOutputButtonHeight
Lnet/minecraft/client/gui/screen/ingame/AbstractCommandBlockScreen;getTrackOutputButtonHeight()I
intermediary method_2364
Lnet/minecraft/class_463;method_2364()I
official D
Lfnz;D()I
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
This should call
AbstractCommandBlockScreen.setInitialFocus()
to set the element that is initially focused.- Overrides:
init
in classAbstractCommandBlockScreen
- Mappings:
Namespace Name Mixin selector named init
Lnet/minecraft/client/gui/screen/Screen;init()V
intermediary method_25426
Lnet/minecraft/class_437;method_25426()V
official aP_
Lfnl;aP_()V
-
setButtonsActive
private void setButtonsActive(boolean active) - Mappings:
Namespace Name Mixin selector named setButtonsActive
Lnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;setButtonsActive(Z)V
intermediary method_32647
Lnet/minecraft/class_477;method_32647(Z)V
official e
Lfok;e(Z)V
-
updateCommandBlock
public void updateCommandBlock()- Mappings:
Namespace Name Mixin selector named updateCommandBlock
Lnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;updateCommandBlock()V
intermediary method_2457
Lnet/minecraft/class_477;method_2457()V
official F
Lfok;F()V
-
resize
- Overrides:
resize
in classAbstractCommandBlockScreen
- Mappings:
Namespace Name Mixin selector named resize
Lnet/minecraft/client/gui/screen/Screen;resize(Lnet/minecraft/client/MinecraftClient;II)V
intermediary method_25410
Lnet/minecraft/class_437;method_25410(Lnet/minecraft/class_310;II)V
official a
Lfnl;a(Lffw;II)V
-
syncSettingsToServer
- Specified by:
syncSettingsToServer
in classAbstractCommandBlockScreen
- Mappings:
Namespace Name Mixin selector named syncSettingsToServer
Lnet/minecraft/client/gui/screen/ingame/AbstractCommandBlockScreen;syncSettingsToServer(Lnet/minecraft/world/CommandBlockExecutor;)V
intermediary method_2352
Lnet/minecraft/class_463;method_2352(Lnet/minecraft/class_1918;)V
official a
Lfnz;a(Ldbh;)V
-