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 goc
-
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, field_60460, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, textRenderer, title, width -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void(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, deferSubtitles, getUsageNarrationText, keyPressed, mouseClicked, mouseScrolled, render, setInitialFocus, setPreviousOutputText, tickMethods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, allowRotatingPanorama, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, canInterruptOtherScreen, children, clearAndInit, clearChildren, close, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, handleBasicClickEvent, handleClickEvent, handleClickEvent, handleOpenUri, handleRunCommand, handleTextClick, hasUsageText, init, insertText, isMouseOver, isValidCharacterForName, keepOpenThroughPortal, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, refreshWidgetPositions, remove, removed, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, setInitialFocus, setWidgetAlpha, shouldCloseOnEsc, shouldPause, showsStatusEffects, switchFocus, updateNarratorMethods 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
getBorder, isClickable, 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 fLgoc;f:Legr;
-
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 tLgoc;t:Lgdw;
-
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 uLgoc;u:Lgdw;
-
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 vLgoc;v:Lgdw;
-
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 wLgoc;w:Legr$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 xLgoc;x: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 yLgoc;y: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>Lgoc;<init>(Legr;)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 oLgnp;o()Ldqp;
-
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 pLgnp;p()I
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
- 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 bg_Lgmj;bg_()V
-
addAdditionalButtons
protected void addAdditionalButtons()- Overrides:
addAdditionalButtonsin classAbstractCommandBlockScreen- Mappings:
Namespace Name Mixin selector named addAdditionalButtonsLnet/minecraft/client/gui/screen/ingame/AbstractCommandBlockScreen;addAdditionalButtons()Vintermediary method_73426Lnet/minecraft/class_463;method_73426()Vofficial HLgnp;H()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 fLgoc;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 JLgoc;J()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 aLgmj;a(Lfzz;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 aLgnp;a(Ldqp;)V
-