Class Generic3x3ContainerScreen

All Implemented Interfaces:
Drawable, Element, ParentElement, ScreenHandlerProvider<Generic3x3ContainerScreenHandler>

@Environment(CLIENT) public class Generic3x3ContainerScreen extends HandledScreen<Generic3x3ContainerScreenHandler>
Mappings:
Namespace Name
official elv
intermediary net/minecraft/class_480
named net/minecraft/client/gui/screen/ingame/Generic3x3ContainerScreen
  • Field Details

    • TEXTURE

      private static final Identifier TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official z Lelv;z:Laaj;
      intermediary field_2885 Lnet/minecraft/class_480;field_2885:Lnet/minecraft/class_2960;
      named TEXTURE Lnet/minecraft/client/gui/screen/ingame/Generic3x3ContainerScreen;TEXTURE:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • Generic3x3ContainerScreen

      public Generic3x3ContainerScreen(Generic3x3ContainerScreenHandler handler, PlayerInventory inventory, Text title)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lelv;<init>(Lbwg;Lbte;Lrm;)V
      intermediary <init> Lnet/minecraft/class_480;<init>(Lnet/minecraft/class_1716;Lnet/minecraft/class_1661;Lnet/minecraft/class_2561;)V
      named <init> Lnet/minecraft/client/gui/screen/ingame/Generic3x3ContainerScreen;<init>(Lnet/minecraft/screen/Generic3x3ContainerScreenHandler;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<Generic3x3ContainerScreenHandler>
      Mappings:
      Namespace Name Mixin selector
      official b Lekj;b()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • render

      public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class HandledScreen<Generic3x3ContainerScreenHandler>
      Mappings:
      Namespace Name Mixin selector
      official a Lehn;a(Ldzt;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
    • drawBackground

      protected void drawBackground(MatrixStack matrices, float delta, int mouseX, int mouseY)
      Specified by:
      drawBackground in class HandledScreen<Generic3x3ContainerScreenHandler>
      Mappings:
      Namespace Name Mixin selector
      official a Lelh;a(Ldzt;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