Class TrappedChestBlockEntity

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

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

    • TrappedChestBlockEntity

      public TrappedChestBlockEntity(BlockPos pos, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/block/entity/ChestBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
      intermediary <init> Lnet/minecraft/class_2595;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
      official <init> Ldpx;<init>(Lja;Ldsl;)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
      named onViewerCountUpdate Lnet/minecraft/block/entity/ChestBlockEntity;onViewerCountUpdate(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;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
      official a Ldpx;a(Ldcg;Lja;Ldsl;II)V