Class ContainerScreen

java.lang.Object
net.minecraft.client.gui.DrawContext
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.container.ContainerScreen
Direct Known Subclasses:
class_235, class_264, class_516, class_524, class_585

@Environment(CLIENT) public abstract class ContainerScreen extends Screen
Mappings:
Namespace Name
intermediary net/minecraft/class_293
glue class_314
server net/minecraft/class_293
client id
named net/minecraft/client/gui/screen/container/ContainerScreen
  • Field Details

    • itemRenderer

      private static ItemRenderer itemRenderer
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1155 Lnet/minecraft/class_293;field_1155:Lnet/minecraft/class_92;
      glue field_1347 Lclass_314;field_1347:Lclass_48;
      server field_1155 Lnet/minecraft/class_293;field_1155:Lnet/minecraft/class_92;
      client l Lid;l:Lbb;
      named itemRenderer Lnet/minecraft/client/gui/screen/container/ContainerScreen;itemRenderer:Lnet/minecraft/client/render/item/ItemRenderer;
    • backgroundWidth

      protected int backgroundWidth
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1152 Lnet/minecraft/class_293;field_1152:I
      glue field_1344 Lclass_314;field_1344:I
      server field_1152 Lnet/minecraft/class_293;field_1152:I
      client a Lid;a:I
      named backgroundWidth Lnet/minecraft/client/gui/screen/container/ContainerScreen;backgroundWidth:I
    • backgroundHeight

      protected int backgroundHeight
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1153 Lnet/minecraft/class_293;field_1153:I
      glue field_1345 Lclass_314;field_1345:I
      server field_1153 Lnet/minecraft/class_293;field_1153:I
      client i Lid;i:I
      named backgroundHeight Lnet/minecraft/client/gui/screen/container/ContainerScreen;backgroundHeight:I
    • container

      public Container container
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1154 Lnet/minecraft/class_293;field_1154:Lnet/minecraft/class_71;
      glue field_1346 Lclass_314;field_1346:Lclass_94;
      server field_1154 Lnet/minecraft/class_293;field_1154:Lcl;
      client j Lid;j:Ldw;
      named container Lnet/minecraft/client/gui/screen/container/ContainerScreen;container:Lnet/minecraft/inventory/Container;
  • Constructor Details

    • ContainerScreen

      public ContainerScreen(Container container)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_293;<init>(Lnet/minecraft/class_71;)V
      glue <init> Lclass_314;<init>(Lclass_94;)V
      server <init> Lnet/minecraft/class_293;<init>(Lcl;)V
      client <init> Lid;<init>(Ldw;)V
      named <init> Lnet/minecraft/client/gui/screen/container/ContainerScreen;<init>(Lnet/minecraft/inventory/Container;)V
  • Method Details

    • init

      public void init()
      Overrides:
      init in class Screen
      Mappings:
      Namespace Name Mixin selector
      intermediary method_119 Lnet/minecraft/class_32;method_119()V
      glue method_252 Lclass_117;method_252()V
      server method_119 Lnet/minecraft/class_32;method_119()V
      client b Lda;b()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • render

      public void render(int mouseX, int mouseY, float delta)
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      intermediary method_118 Lnet/minecraft/class_32;method_118(IIF)V
      glue method_251 Lclass_117;method_251(IIF)V
      server method_118 Lnet/minecraft/class_32;method_118(IIF)V
      client a Lda;a(IIF)V
      named render Lnet/minecraft/client/gui/screen/Screen;render(IIF)V
    • drawForeground

      protected void drawForeground()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_985 Lnet/minecraft/class_293;method_985()V
      glue method_1158 Lclass_314;method_1158()V
      server method_985 Lnet/minecraft/class_293;method_985()V
      client k Lid;k()V
      named drawForeground Lnet/minecraft/client/gui/screen/container/ContainerScreen;drawForeground()V
    • drawBackground

      protected abstract void drawBackground(float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_984 Lnet/minecraft/class_293;method_984(F)V
      glue method_1157 Lclass_314;method_1157(F)V
      server method_984 Lnet/minecraft/class_293;method_984(F)V
      client a Lid;a(F)V
      named drawBackground Lnet/minecraft/client/gui/screen/container/ContainerScreen;drawBackground(F)V
    • drawSlot

      private void drawSlot(Slot slot)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_987 Lnet/minecraft/class_293;method_987(Lnet/minecraft/class_133;)V
      glue method_1346 Lclass_314;method_1346(Lclass_170;)V
      server method_987 Lnet/minecraft/class_293;method_987(Lel;)V
      client a Lid;a(Lgp;)V
      named drawSlot Lnet/minecraft/client/gui/screen/container/ContainerScreen;drawSlot(Lnet/minecraft/screen/slot/Slot;)V
    • getSlotAt

      private Slot getSlotAt(int x, int y)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_986 Lnet/minecraft/class_293;method_986(II)Lnet/minecraft/class_133;
      glue method_1345 Lclass_314;method_1345(II)Lclass_170;
      server method_986 Lnet/minecraft/class_293;method_986(II)Lel;
      client a Lid;a(II)Lgp;
      named getSlotAt Lnet/minecraft/client/gui/screen/container/ContainerScreen;getSlotAt(II)Lnet/minecraft/screen/slot/Slot;
    • isPointOverSlot

      private boolean isPointOverSlot(Slot slot, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_988 Lnet/minecraft/class_293;method_988(Lnet/minecraft/class_133;II)Z
      glue method_1347 Lclass_314;method_1347(Lclass_170;II)Z
      server method_988 Lnet/minecraft/class_293;method_988(Lel;II)Z
      client a Lid;a(Lgp;II)Z
      named isPointOverSlot Lnet/minecraft/client/gui/screen/container/ContainerScreen;isPointOverSlot(Lnet/minecraft/screen/slot/Slot;II)Z
    • mouseClicked

      protected void mouseClicked(int mouseX, int mouseY, int button)
      Overrides:
      mouseClicked in class Screen
      Mappings:
      Namespace Name Mixin selector
      intermediary method_124 Lnet/minecraft/class_32;method_124(III)V
      glue method_416 Lclass_117;method_416(III)V
      server method_124 Lnet/minecraft/class_32;method_124(III)V
      client a Lda;a(III)V
      named mouseClicked Lnet/minecraft/client/gui/screen/Screen;mouseClicked(III)V
    • mouseReleased

      protected void mouseReleased(int mouseX, int mouseY, int button)
      Overrides:
      mouseReleased in class Screen
      Mappings:
      Namespace Name Mixin selector
      intermediary method_128 Lnet/minecraft/class_32;method_128(III)V
      glue method_420 Lclass_117;method_420(III)V
      server method_128 Lnet/minecraft/class_32;method_128(III)V
      client b Lda;b(III)V
      named mouseReleased Lnet/minecraft/client/gui/screen/Screen;mouseReleased(III)V
    • keyPressed

      protected void keyPressed(char character, int keyCode)
      Overrides:
      keyPressed in class Screen
      Mappings:
      Namespace Name Mixin selector
      intermediary method_117 Lnet/minecraft/class_32;method_117(CI)V
      glue method_250 Lclass_117;method_250(CI)V
      server method_117 Lnet/minecraft/class_32;method_117(CI)V
      client a Lda;a(CI)V
      named keyPressed Lnet/minecraft/client/gui/screen/Screen;keyPressed(CI)V
    • removed

      public void removed()
      Overrides:
      removed in class Screen
      Mappings:
      Namespace Name Mixin selector
      intermediary method_133 Lnet/minecraft/class_32;method_133()V
      glue method_425 Lclass_117;method_425()V
      server method_133 Lnet/minecraft/class_32;method_133()V
      client h Lda;h()V
      named removed Lnet/minecraft/client/gui/screen/Screen;removed()V
    • shouldPause

      public boolean shouldPause()
      Overrides:
      shouldPause in class Screen
      Mappings:
      Namespace Name Mixin selector
      intermediary method_121 Lnet/minecraft/class_32;method_121()Z
      glue method_258 Lclass_117;method_258()Z
      server method_121 Lnet/minecraft/class_32;method_121()Z
      client c Lda;c()Z
      named shouldPause Lnet/minecraft/client/gui/screen/Screen;shouldPause()Z
    • tick

      public void tick()
      Overrides:
      tick in class Screen
      Mappings:
      Namespace Name Mixin selector
      intermediary method_122 Lnet/minecraft/class_32;method_122()V
      glue method_414 Lclass_117;method_414()V
      server method_122 Lnet/minecraft/class_32;method_122()V
      client a Lda;a()V
      named tick Lnet/minecraft/client/gui/screen/Screen;tick()V