Class Generic3x3ContainerScreen

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

@Environment(CLIENT) public class Generic3x3ContainerScreen extends HandledScreen<Generic3x3ContainerScreenHandler>
Mappings:
Namespace Name
official eur
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 A Leur;A:Ladd;
      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> Leur;<init>(Lcbu;Lbyl;Ltj;)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.

      This should call Screen.setInitialFocus(net.minecraft.client.gui.Element) to set the element that is initially focused.

      Overrides:
      init in class HandledScreen<Generic3x3ContainerScreenHandler>
      Mappings:
      Namespace Name Mixin selector
      official b Letd;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 Lepa;a(Lehe;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 Leub;a(Lehe;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