Class Generic3x3ContainerScreen

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

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

    • TEXTURE

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

    • Generic3x3ContainerScreen

      public Generic3x3ContainerScreen(Generic3x3ContainerScreenHandler handler, PlayerInventory inventory, Text title)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/ingame/Generic3x3ContainerScreen;<init>(Lnet/minecraft/screen/Generic3x3ContainerScreenHandler;Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/text/Text;)V
      intermediary <init> Lnet/minecraft/class_480;<init>(Lnet/minecraft/class_1716;Lnet/minecraft/class_1661;Lnet/minecraft/class_2561;)V
      official <init> Lfpe;<init>(Lcqm;Lcmu;Lwy;)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() to set the element that is initially focused.

      Overrides:
      init in class HandledScreen<Generic3x3ContainerScreenHandler>
      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 aP_ Lfnx;aP_()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
      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 Lfjj;a(Lfht;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
      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 Lfom;a(Lfht;FII)V