Class HopperScreen

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

@Environment(CLIENT) public class HopperScreen extends HandledScreen<HopperScreenHandler>
Mappings:
Namespace Name
official faf
intermediary net/minecraft/class_488
named net/minecraft/client/gui/screen/ingame/HopperScreen
  • Field Details

    • TEXTURE

      private static final Identifier TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official x Lfaf;x:Laew;
      intermediary field_2919 Lnet/minecraft/class_488;field_2919:Lnet/minecraft/class_2960;
      named TEXTURE Lnet/minecraft/client/gui/screen/ingame/HopperScreen;TEXTURE:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • HopperScreen

      public HopperScreen(HopperScreenHandler handler, PlayerInventory inventory, Text title)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfaf;<init>(Lcfi;Lcbt;Ltl;)V
      intermediary <init> Lnet/minecraft/class_488;<init>(Lnet/minecraft/class_1722;Lnet/minecraft/class_1661;Lnet/minecraft/class_2561;)V
      named <init> Lnet/minecraft/client/gui/screen/ingame/HopperScreen;<init>(Lnet/minecraft/screen/HopperScreenHandler;Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/text/Text;)V
  • Method Details

    • render

      public void render(DrawContext context, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class HandledScreen<HopperScreenHandler>
      Mappings:
      Namespace Name Mixin selector
      official a Lets;a(Lesf;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<HopperScreenHandler>
      Mappings:
      Namespace Name Mixin selector
      official a Lezi;a(Lesf;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