Class BeaconScreen

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

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

    • TEXTURE

      private static final Identifier TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official A Ldwd;A:Lwb;
      intermediary field_2808 Lnet/minecraft/class_466;field_2808:Lnet/minecraft/class_2960;
      named TEXTURE Lnet/minecraft/client/gui/screen/ingame/BeaconScreen;TEXTURE:Lnet/minecraft/util/Identifier;
    • PRIMARY_POWER_TEXT

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

      private static final Text SECONDARY_POWER_TEXT
      Mappings:
      Namespace Name Mixin selector
      official C Ldwd;C:Loi;
      intermediary field_26561 Lnet/minecraft/class_466;field_26561:Lnet/minecraft/class_2561;
      named SECONDARY_POWER_TEXT Lnet/minecraft/client/gui/screen/ingame/BeaconScreen;SECONDARY_POWER_TEXT:Lnet/minecraft/text/Text;
    • doneButton

      private BeaconScreen.DoneButtonWidget doneButton
      Mappings:
      Namespace Name Mixin selector
      official D Ldwd;D:Ldwd$b;
      intermediary field_2804 Lnet/minecraft/class_466;field_2804:Lnet/minecraft/class_466$class_468;
      named doneButton Lnet/minecraft/client/gui/screen/ingame/BeaconScreen;doneButton:Lnet/minecraft/client/gui/screen/ingame/BeaconScreen$DoneButtonWidget;
    • consumeGem

      private boolean consumeGem
      Mappings:
      Namespace Name Mixin selector
      official E Ldwd;E:Z
      intermediary field_2805 Lnet/minecraft/class_466;field_2805:Z
      named consumeGem Lnet/minecraft/client/gui/screen/ingame/BeaconScreen;consumeGem:Z
    • primaryEffect

      private StatusEffect primaryEffect
      Mappings:
      Namespace Name Mixin selector
      official F Ldwd;F:Laqn;
      intermediary field_17412 Lnet/minecraft/class_466;field_17412:Lnet/minecraft/class_1291;
      named primaryEffect Lnet/minecraft/client/gui/screen/ingame/BeaconScreen;primaryEffect:Lnet/minecraft/entity/effect/StatusEffect;
    • secondaryEffect

      private StatusEffect secondaryEffect
      Mappings:
      Namespace Name Mixin selector
      official G Ldwd;G:Laqn;
      intermediary field_17413 Lnet/minecraft/class_466;field_17413:Lnet/minecraft/class_1291;
      named secondaryEffect Lnet/minecraft/client/gui/screen/ingame/BeaconScreen;secondaryEffect:Lnet/minecraft/entity/effect/StatusEffect;
  • Constructor Details

    • BeaconScreen

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

    • 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 HandledScreen<BeaconScreenHandler>
      Mappings:
      Namespace Name Mixin selector
      official b Ldve;b()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • tick

      public void tick()
      Specified by:
      tick in interface TickableElement
      Overrides:
      tick in class HandledScreen<BeaconScreenHandler>
      Mappings:
      Namespace Name Mixin selector
      official d Ldsn;d()V
      intermediary method_25393 Lnet/minecraft/class_4893;method_25393()V
      named tick Lnet/minecraft/client/gui/screen/TickableElement;tick()V
    • drawForeground

      protected void drawForeground​(MatrixStack matrices, int mouseX, int mouseY)
      Overrides:
      drawForeground in class HandledScreen<BeaconScreenHandler>
      Mappings:
      Namespace Name Mixin selector
      official b Ldwa;b(Ldlr;II)V
      intermediary method_2388 Lnet/minecraft/class_465;method_2388(Lnet/minecraft/class_4587;II)V
      named drawForeground Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawForeground(Lnet/minecraft/client/util/math/MatrixStack;II)V
    • drawBackground

      protected void drawBackground​(MatrixStack matrices, float delta, int mouseX, int mouseY)
      Specified by:
      drawBackground in class HandledScreen<BeaconScreenHandler>
      Mappings:
      Namespace Name Mixin selector
      official a Ldwa;a(Ldlr;FII)V
      intermediary method_2389 Lnet/minecraft/class_465;method_2389(Lnet/minecraft/class_4587;FII)V
      named drawBackground Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawBackground(Lnet/minecraft/client/util/math/MatrixStack;FII)V
    • render

      public void render​(MatrixStack matrices, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class HandledScreen<BeaconScreenHandler>
      Mappings:
      Namespace Name Mixin selector
      official a Ldsq;a(Ldlr;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V