Interface FabricBlockEntityType
public interface FabricBlockEntityType
General-purpose Fabric-provided extensions for
BlockEntityType.
Note: This interface is automatically implemented on BlockEntityType via Mixin and interface injection.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceFabricBlockEntityType.Builder<T extends BlockEntity>General-purpose Fabric-provided extensions forBlockEntityType.Builder. -
Method Summary
Modifier and TypeMethodDescriptiondefault voidaddSupportedBlock(Block block) Adds a block to the list of blocks that this block entity type can be used with.
-
Method Details
-
addSupportedBlock
Adds a block to the list of blocks that this block entity type can be used with.- Parameters:
block- theBlockto add
-