Class AbstractChestBlock<E extends BlockEntity>

All Implemented Interfaces:
BlockEntityProvider, ItemConvertible, ToggleableFeature
Direct Known Subclasses:
ChestBlock, EnderChestBlock

public abstract class AbstractChestBlock<E extends BlockEntity> extends BlockWithEntity
Mappings:
Namespace Name
official cvk
intermediary net/minecraft/class_4739
named net/minecraft/block/AbstractChestBlock
  • Field Details

    • entityTypeRetriever

      protected final Supplier<BlockEntityType<? extends E extends BlockEntity>> entityTypeRetriever
      Mappings:
      Namespace Name Mixin selector
      official a Lcvk;a:Ljava/util/function/Supplier;
      intermediary field_21796 Lnet/minecraft/class_4739;field_21796:Ljava/util/function/Supplier;
      named entityTypeRetriever Lnet/minecraft/block/AbstractChestBlock;entityTypeRetriever:Ljava/util/function/Supplier;
  • Constructor Details

    • AbstractChestBlock

      protected AbstractChestBlock(AbstractBlock.Settings settings, Supplier<BlockEntityType<? extends E>> entityTypeSupplier)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcvk;<init>(Ldjg$d;Ljava/util/function/Supplier;)V
      intermediary <init> Lnet/minecraft/class_4739;<init>(Lnet/minecraft/class_4970$class_2251;Ljava/util/function/Supplier;)V
      named <init> Lnet/minecraft/block/AbstractChestBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;Ljava/util/function/Supplier;)V
  • Method Details

    • getCodec

      protected abstract com.mojang.serialization.MapCodec<? extends AbstractChestBlock<E>> getCodec()
      Specified by:
      getCodec in class BlockWithEntity
      Mappings:
      Namespace Name Mixin selector
      official a Ldjg;a()Lcom/mojang/serialization/MapCodec;
      intermediary method_53969 Lnet/minecraft/class_4970;method_53969()Lcom/mojang/serialization/MapCodec;
      named getCodec Lnet/minecraft/block/AbstractBlock;getCodec()Lcom/mojang/serialization/MapCodec;
    • getBlockEntitySource

      public abstract DoubleBlockProperties.PropertySource<? extends ChestBlockEntity> getBlockEntitySource(BlockState state, World world, BlockPos pos, boolean ignoreBlocked)
      Mappings:
      Namespace Name Mixin selector
      official a Lcvk;a(Ldjh;Lctp;Lhx;Z)Lcyx$c;
      intermediary method_24167 Lnet/minecraft/class_4739;method_24167(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Z)Lnet/minecraft/class_4732$class_4734;
      named getBlockEntitySource Lnet/minecraft/block/AbstractChestBlock;getBlockEntitySource(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Z)Lnet/minecraft/block/DoubleBlockProperties$PropertySource;