- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Nested Class Summary
Nested Classes
-
Method Summary
<T extends net.minecraft.world.level.block.entity.BlockEntity>
net.minecraft.world.level.block.entity.BlockEntityType<T>
-
Method Details
-
create
<T extends net.minecraft.world.level.block.entity.BlockEntity>
net.minecraft.world.level.block.entity.BlockEntityType<T> create(BlockEntityTypeFactory.BlockEntitySupplier<T> factory,
net.minecraft.world.level.block.Block... allowedBlocks)