1
0
Fork 0
mirror of https://github.com/italicsjenga/valence.git synced 2025-02-03 09:06:35 +11:00
Commit graph

2 commits

Author SHA1 Message Date
Ryan Johnson
ce457a3d20
Add prelude module to valence. ()
This removes boilerplate code in the examples and reduces friction when getting started.
2022-10-21 04:54:32 -07:00
Sekky61
a29542b467
Dying and respawning ()
* `RespawnRequest` client event

* `CombatDeath` packet

* `kill` client method

* `death.rs` example

* clippy lint fix

* Clean up examples

* Fix formatting

* `win_game`, `set_respawn_screen` client methods

* respawn screen no longer deferred
This means that death example does not have respawn screen now.

Co-authored-by: Ryan <ryanj00a@gmail.com>
2022-10-12 11:11:33 -07:00