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 escintermediary net/minecraft/class_477named 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
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, height, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTUREFields 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, keyPressed, mouseClicked, mouseScrolled, render, setPreviousOutputText, tickMethods 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, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, remove, removed, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, 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 net.minecraft.client.gui.DrawableHelper
disableScissor, drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, fill, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffsetMethods 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.ParentElement
charTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseDragged, mouseReleased, setFocused
-
Field Details
-
blockEntity
- Mappings:
Namespace Name Mixin selector official pLesc;p:Lcyb;intermediary field_2865Lnet/minecraft/class_477;field_2865:Lnet/minecraft/class_2593;named blockEntityLnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;blockEntity:Lnet/minecraft/block/entity/CommandBlockBlockEntity;
-
modeButton
- Mappings:
Namespace Name Mixin selector official qLesc;q:Lemn;intermediary field_2869Lnet/minecraft/class_477;field_2869:Lnet/minecraft/class_5676;named modeButtonLnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;modeButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
conditionalModeButton
- Mappings:
Namespace Name Mixin selector official rLesc;r:Lemn;intermediary field_2871Lnet/minecraft/class_477;field_2871:Lnet/minecraft/class_5676;named conditionalModeButtonLnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;conditionalModeButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
redstoneTriggerButton
- Mappings:
Namespace Name Mixin selector official sLesc;s:Lemn;intermediary field_2866Lnet/minecraft/class_477;field_2866:Lnet/minecraft/class_5676;named redstoneTriggerButtonLnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;redstoneTriggerButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
mode
- Mappings:
Namespace Name Mixin selector official tLesc;t:Lcyb$a;intermediary field_2870Lnet/minecraft/class_477;field_2870:Lnet/minecraft/class_2593$class_2594;named modeLnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;mode:Lnet/minecraft/block/entity/CommandBlockBlockEntity$Type;
-
conditional
private boolean conditional- Mappings:
Namespace Name Mixin selector official uLesc;u:Zintermediary field_2868Lnet/minecraft/class_477;field_2868:Znamed conditionalLnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;conditional:Z
-
autoActivate
private boolean autoActivate- Mappings:
Namespace Name Mixin selector official vLesc;v:Zintermediary field_2867Lnet/minecraft/class_477;field_2867:Znamed autoActivateLnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;autoActivate:Z
-
-
Constructor Details
-
CommandBlockScreen
- Mappings:
Namespace Name Mixin selector official <init>Lesc;<init>(Lcyb;)Vintermediary <init>Lnet/minecraft/class_477;<init>(Lnet/minecraft/class_2593;)Vnamed <init>Lnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;<init>(Lnet/minecraft/block/entity/CommandBlockBlockEntity;)V
-
-
Method Details
-
getCommandExecutor
CommandBlockExecutor getCommandExecutor()- Specified by:
getCommandExecutorin classAbstractCommandBlockScreen- Mappings:
Namespace Name Mixin selector official jLerr;j()Lckf;intermediary method_2351Lnet/minecraft/class_463;method_2351()Lnet/minecraft/class_1918;named getCommandExecutorLnet/minecraft/client/gui/screen/ingame/AbstractCommandBlockScreen;getCommandExecutor()Lnet/minecraft/world/CommandBlockExecutor;
-
getTrackOutputButtonHeight
int getTrackOutputButtonHeight()- Specified by:
getTrackOutputButtonHeightin classAbstractCommandBlockScreen- Mappings:
Namespace Name Mixin selector official zLerr;z()Iintermediary method_2364Lnet/minecraft/class_463;method_2364()Inamed getTrackOutputButtonHeightLnet/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.
This should call
Screen.setInitialFocus(net.minecraft.client.gui.Element)to set the element that is initially focused.- Overrides:
initin classAbstractCommandBlockScreen- Mappings:
Namespace Name Mixin selector official bLequ;b()Vintermediary method_25426Lnet/minecraft/class_437;method_25426()Vnamed initLnet/minecraft/client/gui/screen/Screen;init()V
-
setButtonsActive
private void setButtonsActive(boolean active) - Mappings:
Namespace Name Mixin selector official eLesc;e(Z)Vintermediary method_32647Lnet/minecraft/class_477;method_32647(Z)Vnamed setButtonsActiveLnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;setButtonsActive(Z)V
-
updateCommandBlock
public void updateCommandBlock()- Mappings:
Namespace Name Mixin selector official BLesc;B()Vintermediary method_2457Lnet/minecraft/class_477;method_2457()Vnamed updateCommandBlockLnet/minecraft/client/gui/screen/ingame/CommandBlockScreen;updateCommandBlock()V
-
resize
- Overrides:
resizein classAbstractCommandBlockScreen- Mappings:
Namespace Name Mixin selector official aLequ;a(Lekn;II)Vintermediary method_25410Lnet/minecraft/class_437;method_25410(Lnet/minecraft/class_310;II)Vnamed resizeLnet/minecraft/client/gui/screen/Screen;resize(Lnet/minecraft/client/MinecraftClient;II)V
-
syncSettingsToServer
- Specified by:
syncSettingsToServerin classAbstractCommandBlockScreen- Mappings:
Namespace Name Mixin selector official aLerr;a(Lckf;)Vintermediary method_2352Lnet/minecraft/class_463;method_2352(Lnet/minecraft/class_1918;)Vnamed syncSettingsToServerLnet/minecraft/client/gui/screen/ingame/AbstractCommandBlockScreen;syncSettingsToServer(Lnet/minecraft/world/CommandBlockExecutor;)V
-