Class BeaconScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement, ScreenHandlerProvider<BeaconScreenHandler>

@Environment(CLIENT) public class BeaconScreen extends HandledScreen<BeaconScreenHandler>
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/ingame/BeaconScreen
intermediary net/minecraft/class_466
official fog
  • Field Details

    • TEXTURE

      private static final Identifier TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named TEXTURE Lnet/minecraft/client/gui/screen/ingame/BeaconScreen;TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_2808 Lnet/minecraft/class_466;field_2808:Lnet/minecraft/class_2960;
      official D Lfog;D:Lalf;
    • BUTTON_DISABLED_TEXTURE

      static final Identifier BUTTON_DISABLED_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named BUTTON_DISABLED_TEXTURE Lnet/minecraft/client/gui/screen/ingame/BeaconScreen;BUTTON_DISABLED_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_45443 Lnet/minecraft/class_466;field_45443:Lnet/minecraft/class_2960;
      official E Lfog;E:Lalf;
    • BUTTON_SELECTED_TEXTURE

      static final Identifier BUTTON_SELECTED_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named BUTTON_SELECTED_TEXTURE Lnet/minecraft/client/gui/screen/ingame/BeaconScreen;BUTTON_SELECTED_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_45444 Lnet/minecraft/class_466;field_45444:Lnet/minecraft/class_2960;
      official F Lfog;F:Lalf;
    • BUTTON_HIGHLIGHTED_TEXTURE

      static final Identifier BUTTON_HIGHLIGHTED_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named BUTTON_HIGHLIGHTED_TEXTURE Lnet/minecraft/client/gui/screen/ingame/BeaconScreen;BUTTON_HIGHLIGHTED_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_45439 Lnet/minecraft/class_466;field_45439:Lnet/minecraft/class_2960;
      official G Lfog;G:Lalf;
    • BUTTON_TEXTURE

      static final Identifier BUTTON_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named BUTTON_TEXTURE Lnet/minecraft/client/gui/screen/ingame/BeaconScreen;BUTTON_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_45440 Lnet/minecraft/class_466;field_45440:Lnet/minecraft/class_2960;
      official H Lfog;H:Lalf;
    • CONFIRM_TEXTURE

      static final Identifier CONFIRM_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named CONFIRM_TEXTURE Lnet/minecraft/client/gui/screen/ingame/BeaconScreen;CONFIRM_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_45441 Lnet/minecraft/class_466;field_45441:Lnet/minecraft/class_2960;
      official I Lfog;I:Lalf;
    • CANCEL_TEXTURE

      static final Identifier CANCEL_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named CANCEL_TEXTURE Lnet/minecraft/client/gui/screen/ingame/BeaconScreen;CANCEL_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_45442 Lnet/minecraft/class_466;field_45442:Lnet/minecraft/class_2960;
      official J Lfog;J:Lalf;
    • PRIMARY_POWER_TEXT

      private static final Text PRIMARY_POWER_TEXT
      Mappings:
      Namespace Name Mixin selector
      named PRIMARY_POWER_TEXT Lnet/minecraft/client/gui/screen/ingame/BeaconScreen;PRIMARY_POWER_TEXT:Lnet/minecraft/text/Text;
      intermediary field_26560 Lnet/minecraft/class_466;field_26560:Lnet/minecraft/class_2561;
      official K Lfog;K:Lxp;
    • SECONDARY_POWER_TEXT

      private static final Text SECONDARY_POWER_TEXT
      Mappings:
      Namespace Name Mixin selector
      named SECONDARY_POWER_TEXT Lnet/minecraft/client/gui/screen/ingame/BeaconScreen;SECONDARY_POWER_TEXT:Lnet/minecraft/text/Text;
      intermediary field_26561 Lnet/minecraft/class_466;field_26561:Lnet/minecraft/class_2561;
      official L Lfog;L:Lxp;
    • buttons

      private final List<BeaconScreen.BeaconButtonWidget> buttons
      Mappings:
      Namespace Name Mixin selector
      named buttons Lnet/minecraft/client/gui/screen/ingame/BeaconScreen;buttons:Ljava/util/List;
      intermediary field_33832 Lnet/minecraft/class_466;field_33832:Ljava/util/List;
      official M Lfog;M:Ljava/util/List;
    • primaryEffect

      Mappings:
      Namespace Name Mixin selector
      named primaryEffect Lnet/minecraft/client/gui/screen/ingame/BeaconScreen;primaryEffect:Lnet/minecraft/registry/entry/RegistryEntry;
      intermediary field_17412 Lnet/minecraft/class_466;field_17412:Lnet/minecraft/class_6880;
      official N Lfog;N:Lji;
    • secondaryEffect

      Mappings:
      Namespace Name Mixin selector
      named secondaryEffect Lnet/minecraft/client/gui/screen/ingame/BeaconScreen;secondaryEffect:Lnet/minecraft/registry/entry/RegistryEntry;
      intermediary field_17413 Lnet/minecraft/class_466;field_17413:Lnet/minecraft/class_6880;
      official O Lfog;O:Lji;
  • Constructor Details

    • BeaconScreen

      public BeaconScreen(BeaconScreenHandler handler, PlayerInventory inventory, Text title)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/ingame/BeaconScreen;<init>(Lnet/minecraft/screen/BeaconScreenHandler;Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/text/Text;)V
      intermediary <init> Lnet/minecraft/class_466;<init>(Lnet/minecraft/class_1704;Lnet/minecraft/class_1661;Lnet/minecraft/class_2561;)V
      official <init> Lfog;<init>(Lcpy;Lcmx;Lxp;)V
  • Method Details

    • addButton

      private <T extends ClickableWidget & BeaconScreen.BeaconButtonWidget> void addButton(T button)
      Mappings:
      Namespace Name Mixin selector
      named addButton Lnet/minecraft/client/gui/screen/ingame/BeaconScreen;addButton(Lnet/minecraft/client/gui/widget/ClickableWidget;)V
      intermediary method_37076 Lnet/minecraft/class_466;method_37076(Lnet/minecraft/class_339;)V
      official a Lfog;a(Lfhd;)V
    • 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() to set the element that is initially focused.

      Overrides:
      init in class HandledScreen<BeaconScreenHandler>
      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 aM_ Lfne;aM_()V
    • handledScreenTick

      public void handledScreenTick()
      Overrides:
      handledScreenTick in class HandledScreen<BeaconScreenHandler>
      Mappings:
      Namespace Name Mixin selector
      named handledScreenTick Lnet/minecraft/client/gui/screen/ingame/HandledScreen;handledScreenTick()V
      intermediary method_37432 Lnet/minecraft/class_465;method_37432()V
      official E Lfoc;E()V
    • tickButtons

      void tickButtons()
      Mappings:
      Namespace Name Mixin selector
      named tickButtons Lnet/minecraft/client/gui/screen/ingame/BeaconScreen;tickButtons()V
      intermediary method_37078 Lnet/minecraft/class_466;method_37078()V
      official I Lfog;I()V
    • drawForeground

      protected void drawForeground(DrawContext context, int mouseX, int mouseY)
      Overrides:
      drawForeground in class HandledScreen<BeaconScreenHandler>
      Mappings:
      Namespace Name Mixin selector
      named drawForeground Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawForeground(Lnet/minecraft/client/gui/DrawContext;II)V
      intermediary method_2388 Lnet/minecraft/class_465;method_2388(Lnet/minecraft/class_332;II)V
      official b Lfoc;b(Lfgs;II)V
    • drawBackground

      protected void drawBackground(DrawContext context, float delta, int mouseX, int mouseY)
      Specified by:
      drawBackground in class HandledScreen<BeaconScreenHandler>
      Mappings:
      Namespace Name Mixin selector
      named drawBackground Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawBackground(Lnet/minecraft/client/gui/DrawContext;FII)V
      intermediary method_2389 Lnet/minecraft/class_465;method_2389(Lnet/minecraft/class_332;FII)V
      official a Lfoc;a(Lfgs;FII)V
    • render

      public void render(DrawContext context, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class HandledScreen<BeaconScreenHandler>
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      official a Lfii;a(Lfgs;IIF)V