Class TrappedChestBlock

All Implemented Interfaces:
BlockEntityProvider, FluidDrainable, FluidFillable, Waterloggable, ItemConvertible

public class TrappedChestBlock extends ChestBlock
Mappings:
Namespace Name
official cko
intermediary net/minecraft/class_2531
named net/minecraft/block/TrappedChestBlock
  • Constructor Details

    • TrappedChestBlock

      public TrappedChestBlock(AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcob;<init>(Lcob$c;)V
      intermediary <init> Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V
      named <init> Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
  • Method Details

    • createBlockEntity

      public BlockEntity createBlockEntity(BlockPos pos, BlockState state)
      Specified by:
      createBlockEntity in interface BlockEntityProvider
      Overrides:
      createBlockEntity in class ChestBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lcff;a(Lgh;Lcoc;)Lclz;
      intermediary method_10123 Lnet/minecraft/class_2343;method_10123(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_2586;
      named createBlockEntity Lnet/minecraft/block/BlockEntityProvider;createBlockEntity(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/entity/BlockEntity;
    • getOpenStat

      protected Stat<Identifier> getOpenStat()
      Overrides:
      getOpenStat in class ChestBlock
      Mappings:
      Namespace Name Mixin selector
      official d Lcdw;d()Lahc;
      intermediary method_9755 Lnet/minecraft/class_2281;method_9755()Lnet/minecraft/class_3445;
      named getOpenStat Lnet/minecraft/block/ChestBlock;getOpenStat()Lnet/minecraft/stat/Stat;
    • emitsRedstonePower

      public boolean emitsRedstonePower(BlockState state)
      Overrides:
      emitsRedstonePower in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official f_ Lcob;f_(Lcoc;)Z
      intermediary method_9506 Lnet/minecraft/class_4970;method_9506(Lnet/minecraft/class_2680;)Z
      named emitsRedstonePower Lnet/minecraft/block/AbstractBlock;emitsRedstonePower(Lnet/minecraft/block/BlockState;)Z
    • getWeakRedstonePower

      public int getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
      Overrides:
      getWeakRedstonePower in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lcob;a(Lcoc;Lbzj;Lgh;Lgm;)I
      intermediary method_9524 Lnet/minecraft/class_4970;method_9524(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)I
      named getWeakRedstonePower Lnet/minecraft/block/AbstractBlock;getWeakRedstonePower(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
    • getStrongRedstonePower

      public int getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
      Overrides:
      getStrongRedstonePower in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official b Lcob;b(Lcoc;Lbzj;Lgh;Lgm;)I
      intermediary method_9603 Lnet/minecraft/class_4970;method_9603(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)I
      named getStrongRedstonePower Lnet/minecraft/block/AbstractBlock;getStrongRedstonePower(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I