Class CommandBlockScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class CommandBlockScreen extends AbstractCommandBlockScreen
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/ingame/CommandBlockScreen
intermediary net/minecraft/class_477
official goc
  • Field Details

    • blockEntity

      private final CommandBlockBlockEntity 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 f Lgoc;f:Legr;
    • 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 t Lgoc;t:Lgdw;
    • conditionalModeButton

      private CyclingButtonWidget<Boolean> 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 u Lgoc;u:Lgdw;
    • redstoneTriggerButton

      private CyclingButtonWidget<Boolean> 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 v Lgoc;v:Lgdw;
    • 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 w Lgoc;w:Legr$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 x Lgoc;x: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 y Lgoc;y:Z
  • Constructor Details

    • CommandBlockScreen

      public CommandBlockScreen(CommandBlockBlockEntity blockEntity)
      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> Lgoc;<init>(Legr;)V
  • Method Details

    • getCommandExecutor

      CommandBlockExecutor getCommandExecutor()
      Specified by:
      getCommandExecutor in class AbstractCommandBlockScreen
      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 o Lgnp;o()Ldqp;
    • getTrackOutputButtonHeight

      int getTrackOutputButtonHeight()
      Specified by:
      getTrackOutputButtonHeight in class AbstractCommandBlockScreen
      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 p Lgnp;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:
      init in class AbstractCommandBlockScreen
      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 bg_ Lgmj;bg_()V
    • addAdditionalButtons

      protected void addAdditionalButtons()
      Overrides:
      addAdditionalButtons in class AbstractCommandBlockScreen
      Mappings:
      Namespace Name Mixin selector
      named addAdditionalButtons Lnet/minecraft/client/gui/screen/ingame/AbstractCommandBlockScreen;addAdditionalButtons()V
      intermediary method_73426 Lnet/minecraft/class_463;method_73426()V
      official H Lgnp;H()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 f Lgoc;f(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 J Lgoc;J()V
    • resize

      public void resize(MinecraftClient client, int width, int height)
      Overrides:
      resize in class AbstractCommandBlockScreen
      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 Lgmj;a(Lfzz;II)V
    • syncSettingsToServer

      protected void syncSettingsToServer(CommandBlockExecutor commandExecutor)
      Specified by:
      syncSettingsToServer in class AbstractCommandBlockScreen
      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 Lgnp;a(Ldqp;)V