Update 'API'

Mikita Wiśniewski 2023-04-16 01:21:36 +00:00
parent fa189d82a8
commit 94850cc6b6
1 changed files with 6 additions and 2 deletions

8
API.md

@ -130,7 +130,9 @@ This function registers a path. Quite useful if your mod adds new type(s) of sto
Example: `"pickaxey"`
*
* `sounds`: sound that will play when interacting with the path
Example: `mcl_sounds.node_sound_stone_defaults()`
**Full usage example:**
@ -143,4 +145,6 @@ This function registers a path. Quite useful if your mod adds new type(s) of sto
"pickaxey",
mcl_sounds.node_sound_stone_defaults()
)
```
```
### [[See definiton]](../src/branch/master/paths.lua#L6) [[See usage]](../src/branch/master/paths.lua#L61)