Class BlockEntityTypeMixin<T extends net.minecraft.world.level.block.entity.BlockEntity>

java.lang.Object
net.fabricmc.fabric.mixin.object.builder.BlockEntityTypeMixin<T>
All Implemented Interfaces:
FabricBlockEntityType

public class BlockEntityTypeMixin<T extends net.minecraft.world.level.block.entity.BlockEntity> extends Object implements FabricBlockEntityType
  • Constructor Details

    • BlockEntityTypeMixin

      public BlockEntityTypeMixin()
  • Method Details

    • addValidBlock

      public void addValidBlock(net.minecraft.world.level.block.Block block)
      Description copied from interface: FabricBlockEntityType
      Adds a block to the list of blocks that this block entity type can be used with.
      Specified by:
      addValidBlock in interface FabricBlockEntityType
      Parameters:
      block - the Block to add