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/CommandBlockScreenintermediary net/minecraft/class_477official fpd
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate final CommandBlockBlockEntityprivate booleanprivate CyclingButtonWidget<Boolean> private CommandBlockBlockEntity.Typeprivate CyclingButtonWidget<Boolean> Fields inherited from class net.minecraft.client.gui.screen.ingame.AbstractCommandBlockScreen
cancelButton, commandSuggestor, consoleCommandTextField, doneButton, previousOutputTextField, toggleTrackingOutputButtonFields 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, narratorToggleButton, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) CommandBlockExecutor(package private) intprotected voidinit()Called when a screen should be initialized.voidresize(MinecraftClient client, int width, int height) private voidsetButtonsActive(boolean active) protected voidsyncSettingsToServer(CommandBlockExecutor commandExecutor) voidMethods inherited from class net.minecraft.client.gui.screen.ingame.AbstractCommandBlockScreen
commitAndClose, getUsageNarrationText, keyPressed, mouseClicked, mouseScrolled, render, renderBackground, setInitialFocus, setPreviousOutputText, tickMethods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, 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, refreshNarrator, remove, removed, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
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.Element
mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods 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 blockEntityLnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;blockEntity:Lnet/minecraft/block/entity/CommandBlockBlockEntity;intermediary field_2865Lnet/minecraft/class_477;field_2865:Lnet/minecraft/class_2593;official uLfpd;u:Ldqr;
-
modeButton
- Mappings:
Namespace Name Mixin selector named modeButtonLnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;modeButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;intermediary field_2869Lnet/minecraft/class_477;field_2869:Lnet/minecraft/class_5676;official vLfpd;v:Lfit;
-
conditionalModeButton
- Mappings:
Namespace Name Mixin selector named conditionalModeButtonLnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;conditionalModeButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;intermediary field_2871Lnet/minecraft/class_477;field_2871:Lnet/minecraft/class_5676;official wLfpd;w:Lfit;
-
redstoneTriggerButton
- Mappings:
Namespace Name Mixin selector named redstoneTriggerButtonLnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;redstoneTriggerButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;intermediary field_2866Lnet/minecraft/class_477;field_2866:Lnet/minecraft/class_5676;official xLfpd;x:Lfit;
-
mode
- Mappings:
Namespace Name Mixin selector named modeLnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;mode:Lnet/minecraft/block/entity/CommandBlockBlockEntity$Type;intermediary field_2870Lnet/minecraft/class_477;field_2870:Lnet/minecraft/class_2593$class_2594;official yLfpd;y:Ldqr$a;
-
conditional
private boolean conditional- Mappings:
Namespace Name Mixin selector named conditionalLnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;conditional:Zintermediary field_2868Lnet/minecraft/class_477;field_2868:Zofficial zLfpd;z:Z
-
autoActivate
private boolean autoActivate- Mappings:
Namespace Name Mixin selector named autoActivateLnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;autoActivate:Zintermediary field_2867Lnet/minecraft/class_477;field_2867:Zofficial ALfpd;A:Z
-
-
Constructor Details
-
CommandBlockScreen
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;<init>(Lnet/minecraft/block/entity/CommandBlockBlockEntity;)Vintermediary <init>Lnet/minecraft/class_477;<init>(Lnet/minecraft/class_2593;)Vofficial <init>Lfpd;<init>(Ldqr;)V
-
-
Method Details
-
getCommandExecutor
CommandBlockExecutor getCommandExecutor()- Specified by:
getCommandExecutorin classAbstractCommandBlockScreen- Mappings:
Namespace Name Mixin selector named getCommandExecutorLnet/minecraft/client/gui/screen/ingame/AbstractCommandBlockScreen;getCommandExecutor()Lnet/minecraft/world/CommandBlockExecutor;intermediary method_2351Lnet/minecraft/class_463;method_2351()Lnet/minecraft/class_1918;official mLfos;m()Ldbx;
-
getTrackOutputButtonHeight
int getTrackOutputButtonHeight()- Specified by:
getTrackOutputButtonHeightin classAbstractCommandBlockScreen- Mappings:
Namespace Name Mixin selector named getTrackOutputButtonHeightLnet/minecraft/client/gui/screen/ingame/AbstractCommandBlockScreen;getTrackOutputButtonHeight()Iintermediary method_2364Lnet/minecraft/class_463;method_2364()Iofficial CLfos;C()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:
initin classAbstractCommandBlockScreen- Mappings:
Namespace Name Mixin selector named initLnet/minecraft/client/gui/screen/Screen;init()Vintermediary method_25426Lnet/minecraft/class_437;method_25426()Vofficial aT_Lfod;aT_()V
-
setButtonsActive
private void setButtonsActive(boolean active) - Mappings:
Namespace Name Mixin selector named setButtonsActiveLnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;setButtonsActive(Z)Vintermediary method_32647Lnet/minecraft/class_477;method_32647(Z)Vofficial fLfpd;f(Z)V
-
updateCommandBlock
public void updateCommandBlock()- Mappings:
Namespace Name Mixin selector named updateCommandBlockLnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;updateCommandBlock()Vintermediary method_2457Lnet/minecraft/class_477;method_2457()Vofficial ELfpd;E()V
-
resize
- Overrides:
resizein classAbstractCommandBlockScreen- Mappings:
Namespace Name Mixin selector named resizeLnet/minecraft/client/gui/screen/Screen;resize(Lnet/minecraft/client/MinecraftClient;II)Vintermediary method_25410Lnet/minecraft/class_437;method_25410(Lnet/minecraft/class_310;II)Vofficial aLfod;a(Lfgo;II)V
-
syncSettingsToServer
- Specified by:
syncSettingsToServerin classAbstractCommandBlockScreen- Mappings:
Namespace Name Mixin selector named syncSettingsToServerLnet/minecraft/client/gui/screen/ingame/AbstractCommandBlockScreen;syncSettingsToServer(Lnet/minecraft/world/CommandBlockExecutor;)Vintermediary method_2352Lnet/minecraft/class_463;method_2352(Lnet/minecraft/class_1918;)Vofficial aLfos;a(Ldbx;)V
-