mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 13:31:49 +00:00
document tick-interval
This commit is contained in:
parent
c763e8a0dc
commit
77b55291da
4 changed files with 23 additions and 11 deletions
|
|
@ -48,7 +48,7 @@ Called on random block update (grass growth)
|
|||
function on_blocks_tick(tps: int)
|
||||
```
|
||||
|
||||
Called tps (20) times per second. Use 1/tps instead of `time.delta()`.
|
||||
Called tps (20 / tick-interval) times per second. Use 1/tps instead of `time.delta()`.
|
||||
|
||||
```lua
|
||||
function on_block_tick(x, y, z, tps: number)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue