Class TrappedChestBlockEntity

All Implemented Interfaces:
ChestAnimationProgress, Inventory, NamedScreenHandlerFactory, ScreenHandlerFactory, Clearable, Nameable

public class TrappedChestBlockEntity extends ChestBlockEntity
Mappings:
Namespace Name
official cna
intermediary net/minecraft/class_2646
named net/minecraft/block/entity/TrappedChestBlockEntity
  • Constructor Details

    • TrappedChestBlockEntity

      public TrappedChestBlockEntity(BlockPos pos, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lclx;<init>(Lgh;Lcnv;)V
      intermediary <init> Lnet/minecraft/class_2595;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
      named <init> Lnet/minecraft/block/entity/ChestBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
  • Method Details

    • onInvOpenOrClose

      protected void onInvOpenOrClose(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount)
      Overrides:
      onInvOpenOrClose in class ChestBlockEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lclx;a(Lbzw;Lgh;Lcnv;II)V
      intermediary method_11049 Lnet/minecraft/class_2595;method_11049(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;II)V
      named onInvOpenOrClose Lnet/minecraft/block/entity/ChestBlockEntity;onInvOpenOrClose(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;II)V