Interface BlockEntityType.BlockEntityFactory<T extends BlockEntity>

Enclosing class:
BlockEntityType<T extends BlockEntity>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface
static interface BlockEntityType.BlockEntityFactory<T extends BlockEntity>
  • Method Summary

    Modifier and Type Method Description
    T create​(BlockPos pos, BlockState state)