Merge docs for 'Carpet Mod 1.4.78 for 1.19-prerelease-5'

This commit is contained in:
github-actions[bot] committed 2022-06-01 20:19:32 +00:00
1 parent 7de976a0e2
commit 486c2ec5bc
1 file changed
+3
+3
View File
@@ -4756,6 +4756,9 @@ this should not happen, but let you be warned.
Called right after a chunk at a given coordinate is loaded. All newly generated chunks are considered loaded as well.
`x` and `z` correspond to the lowest x and z coordinates in the chunk.
### `__on_chunk_unloaded(x, z)`
Called right before a chunk at the given coordinates is unloaded. `x` and `z` correspond to the lowest x and z coordinates in the chunk.
### `__on_lightning(block, mode)`
Triggered right after a lightning strikes. Lightning entity as well as potential horseman trap would
already be spawned at that point. `mode` is `true` if the lightning did cause a trap to spawn.