Merge docs for 'Carpet Mod 1.4.78 for 1.19-prerelease-5'
This commit is contained in:
1 parent
7de976a0e2
commit
486c2ec5bc
1 file changed
+3
@@ -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.
|
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.
|
`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)`
|
### `__on_lightning(block, mode)`
|
||||||
Triggered right after a lightning strikes. Lightning entity as well as potential horseman trap would
|
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.
|
already be spawned at that point. `mode` is `true` if the lightning did cause a trap to spawn.
|
||||||
|
|||||||
Reference in new issue
Block a user