Class Generic3x3ContainerScreen

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

@Environment(CLIENT) public class Generic3x3ContainerScreen extends HandledScreen<Generic3x3ContainerScreenHandler>
Mappings:
Namespace Name
official ewf
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 w Lewf;w:Lacq;
      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> Lewf;<init>(Lcbw;Lbyn;Lsw;)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 Leuq;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(DrawContext context, 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 Leqh;a(Leox;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
    • drawBackground

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