Advanced Door Bells Wiki

API Methods

The public API currently provides these registration methods:

registerSwitchVariant(...)

Creates a normal Advanced Door Bell switch variant.

registerSwitchVariant(...) with a block factory

Creates a switch using your own DoorBellSwitchBlock subclass.

registerSpeakerVariant(...)

Creates a normal Advanced Door Bell speaker variant.

registerSpeakerVariant(...) with a block factory

Creates a speaker using your own DoorBellSpeakerBlock subclass.

registerBlockItem(...)

Registers the item form of a doorbell block.