类 TrappedChestBlockEntity

    • 构造器详细资料

      • TrappedChestBlockEntity

        public TrappedChestBlockEntity​(BlockPos pos,
                                       BlockState state)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lchu;<init>(Lgb;Lcjr;)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
    • 方法详细资料

      • onInvOpenOrClose

        protected void onInvOpenOrClose​(World world,
                                        BlockPos pos,
                                        BlockState state,
                                        int oldViewerCount,
                                        int newViewerCount)
        覆盖:
        onInvOpenOrClose 在类中 ChestBlockEntity
        Mappings:
        Namespace Name Mixin selector
        official a Lchu;a(Lbvr;Lgb;Lcjr;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