mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-26 18:21:04 +00:00
parent
da71e86633
commit
f195db2d14
5 changed files with 27 additions and 3 deletions
|
@ -7099,6 +7099,8 @@ object you are working with still exists.
|
|||
* `intensity` sets the intensity of the shadows from 0 (no shadows, default) to 1 (blackness)
|
||||
* `get_lighting()`: returns the current state of lighting for the player.
|
||||
* Result is a table with the same fields as `light_definition` in `set_lighting`.
|
||||
* `respawn()`: Respawns the player using the same mechanism as the death screen,
|
||||
including calling on_respawnplayer callbacks.
|
||||
|
||||
`PcgRandom`
|
||||
-----------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue