Class TrappedChestBlockEntity

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

public class TrappedChestBlockEntity extends ChestBlockEntity
Mappings:
Namespace Name
official dem
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> Lddc;<init>(Lgw;Ldfj;)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

    • onViewerCountUpdate

      protected void onViewerCountUpdate(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount)
      Overrides:
      onViewerCountUpdate in class ChestBlockEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lddc;a(Lcpv;Lgw;Ldfj;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 onViewerCountUpdate Lnet/minecraft/block/entity/ChestBlockEntity;onViewerCountUpdate(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;II)V