Uses of Interface
net.minecraft.block.entity.BlockEntityType.BlockEntityFactory
-
Uses of BlockEntityType.BlockEntityFactory in net.minecraft.block.entity
Modifier and TypeFieldDescriptionprivate final BlockEntityType.BlockEntityFactory<? extends T>
BlockEntityType.Builder.factory
private final BlockEntityType.BlockEntityFactory<? extends T>
BlockEntityType.factory
Modifier and TypeMethodDescriptionstatic <T extends BlockEntity>
BlockEntityType.Builder<T>BlockEntityType.Builder.create
(BlockEntityType.BlockEntityFactory<? extends T> factory, Block[] blocks) Returns a new builder of a block entity type that supportsblocks
.ModifierConstructorDescriptionBlockEntityType
(BlockEntityType.BlockEntityFactory<? extends T> factory, Set<Block> blocks, com.mojang.datafixers.types.Type<?> type) private
Builder
(BlockEntityType.BlockEntityFactory<? extends T> factory, Set<Block> blocks)