Interface BlockEntityTypeFactory.BlockEntitySupplier<T extends net.minecraft.world.level.block.entity.BlockEntity>

Enclosing interface:
BlockEntityTypeFactory
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface BlockEntityTypeFactory.BlockEntitySupplier<T extends net.minecraft.world.level.block.entity.BlockEntity>
  • Method Summary

    Modifier and Type
    Method
    Description
    create(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
     
  • Method Details

    • create

      T create(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)