Advanced Blocks: Custom Behavior

Last modified: 18 May 2025

You can customize how your blocks behave in the world by subclassing the Block class and overriding any of its event methods such as onInteract, onPlace, onExplode, etc.

These hooks are called automatically by AbyssalLib when the corresponding events occur in-game.