Class: BlockComponentRegistry
Constructors
new BlockComponentRegistry()
private
new BlockComponentRegistry():BlockComponentRegistry
Returns
Methods
registerCustomComponent()
registerCustomComponent(
name
,customComponent
):void
Parameters
Parameter | Type |
---|---|
name | string |
customComponent | BlockCustomComponent |
Returns
void
Throws
This function can throw errors.
minecraftcommon.EngineError
Error