mirror of
https://github.com/minetest-mods/areas.git
synced 2025-07-04 00:50:34 +02:00
Add callbacks for area operations
This commit is contained in:
5
api.md
5
api.md
@ -4,7 +4,10 @@ Areas mod API
|
||||
API list
|
||||
---
|
||||
|
||||
* `areas.registerHudHandler(handler)` - Registers a handler to add items to the Areas HUD. See [HUD](#hud).
|
||||
* `areas:registerHudHandler(handler)` - Registers a handler to add items to the Areas HUD. See [HUD](#hud).
|
||||
* `areas:registerOnAdd(func(id, area))`
|
||||
* `areas:registerOnRemove(func(id))`
|
||||
* `areas:registerOnMove(func(id, area, pos1, pos2))`
|
||||
|
||||
|
||||
HUD
|
||||
|
Reference in New Issue
Block a user