Class ContainerBase

Direct Known Subclasses:
Crafting, Dispenser, DoubleChest, Furnace, PlayerInventory

@Environment(CLIENT) public abstract class ContainerBase extends ScreenBase
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/ContainerBase
  • 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/ContainerBase;itemRenderer:Lnet/minecraft/client/render/entity/ItemRenderer;
    • containerWidth

      protected int containerWidth
      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 containerWidth Lnet/minecraft/client/gui/screen/container/ContainerBase;containerWidth:I
    • containerHeight

      protected int containerHeight
      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 containerHeight Lnet/minecraft/client/gui/screen/container/ContainerBase;containerHeight:I
    • container

      public ContainerBase 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/ContainerBase;container:Lnet/minecraft/container/ContainerBase;
  • Constructor Details

    • ContainerBase

      public ContainerBase(ContainerBase 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/ContainerBase;<init>(Lnet/minecraft/container/ContainerBase;)V
  • Method Details

    • init

      public void init()
      Overrides:
      init in class ScreenBase
      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/ScreenBase;init()V
    • render

      public void render(int mouseX, int mouseY, float delta)
      Overrides:
      render in class ScreenBase
      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/ScreenBase;render(IIF)V
    • renderForeground

      protected void renderForeground()
      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 renderForeground Lnet/minecraft/client/gui/screen/container/ContainerBase;renderForeground()V
    • renderContainerBackground

      protected abstract void renderContainerBackground(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 renderContainerBackground Lnet/minecraft/client/gui/screen/container/ContainerBase;renderContainerBackground(F)V
    • renderSlot

      private void renderSlot(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 renderSlot Lnet/minecraft/client/gui/screen/container/ContainerBase;renderSlot(Lnet/minecraft/container/slot/Slot;)V
    • getSlot

      private Slot getSlot(int mouseX, int mouseY)
      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 getSlot Lnet/minecraft/client/gui/screen/container/ContainerBase;getSlot(II)Lnet/minecraft/container/slot/Slot;
    • isMouseOverSlot

      private boolean isMouseOverSlot(Slot slot, int mouseX, int mouseY)
      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 isMouseOverSlot Lnet/minecraft/client/gui/screen/container/ContainerBase;isMouseOverSlot(Lnet/minecraft/container/slot/Slot;II)Z
    • mouseClicked

      protected void mouseClicked(int mouseX, int mouseY, int button)
      Overrides:
      mouseClicked in class ScreenBase
      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/ScreenBase;mouseClicked(III)V
    • mouseReleased

      protected void mouseReleased(int mouseX, int mouseY, int button)
      Overrides:
      mouseReleased in class ScreenBase
      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/ScreenBase;mouseReleased(III)V
    • keyPressed

      protected void keyPressed(char character, int key)
      Overrides:
      keyPressed in class ScreenBase
      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/ScreenBase;keyPressed(CI)V
    • onClose

      public void onClose()
      Overrides:
      onClose in class ScreenBase
      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 onClose Lnet/minecraft/client/gui/screen/ScreenBase;onClose()V
    • isPauseScreen

      public boolean isPauseScreen()
      Overrides:
      isPauseScreen in class ScreenBase
      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 isPauseScreen Lnet/minecraft/client/gui/screen/ScreenBase;isPauseScreen()Z
    • tick

      public void tick()
      Overrides:
      tick in class ScreenBase
      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/ScreenBase;tick()V