Mrln
42dfcef57d
Add ClientEvent::InteractWithBlock ( #26 )
...
* Add ClientEvent::InteractWithBlock
* Add an example of ClientEvent::InteractWithBlock to the conway example
2022-09-05 17:01:39 -07:00
Tristan F
df3e5b12bb
Add custom sound effect packet and sound example to conway ( #12 )
...
* Add custom sound effect packet, sound example
* Small logic cleanup
* More sound packets
* fmt
* Apply suggestions
2022-09-05 15:37:59 -07:00
Ryan
30e05bb373
cargo fmt
2022-09-04 22:21:24 -07:00
Tristan F
d7e229e0a9
Make default client event
2022-09-04 15:42:08 -04:00
Ryan
f3c96403e0
Slow down conway example
2022-09-03 01:40:09 -07:00
Ryan
6e0a7e0a88
Allow pausing and clearing the conway example
2022-08-31 04:51:13 -07:00
Ryan
2a266fb091
Change rustfmt settings
2022-08-28 21:31:07 -07:00
Ryan
793a795732
Check protocol version during login
2022-08-14 15:18:22 -07:00
Ryan
55cb595740
Improve chunks API
2022-08-10 20:09:10 -07:00
Ryan
003c2e3649
Enable authentication in examples
2022-08-10 10:32:05 -07:00
Ryan
b2310db7b7
Fix chunks loading multiple times
...
The default chunk view distance has also been lowered to 2 since that is the most conservative guess.
2022-08-10 10:27:25 -07:00
Ryan
d4d169d130
Use chunk state instead of HashSet
2022-08-09 17:24:21 -07:00
Ryan
760f4bddcf
Fix extra knockback sprint bug
2022-08-09 15:42:05 -07:00
Ryan
3649a8ca99
Make superflat option per client rather than per world
2022-08-09 15:09:51 -07:00
Ryan
a5a560220c
New player list implementation
2022-08-09 14:44:04 -07:00
Ryan
1838c290a0
Extract slotmap logic into separate modules
2022-08-08 18:42:39 -07:00
Ryan
49d63a39c0
Clean up client and fix names
2022-08-05 12:36:34 -07:00
Ryan
6b5e795f81
Rename entity data
2022-08-02 19:02:05 -07:00
Ryan
e21fd70160
Restructure packet module
2022-07-29 05:34:29 -07:00
Ryan
35c697ff93
Rename *Data to *State
2022-07-27 19:21:11 -07:00
Ryan
2e22946ffc
Rewrite the entity generator
2022-07-27 07:10:35 -07:00
Ryan
b604dafe73
Add combat example
2022-07-17 21:29:44 -07:00
Ryan
865ab76699
Add custom data
2022-07-15 20:40:39 -07:00
Ryan
4b83801066
Clean up docs and fix clippy issues
2022-07-14 23:18:20 -07:00
Ryan
4a12def900
Redesign the spatial index API and add raycast example
2022-07-14 03:40:26 -07:00
Ryan
9448e17607
Add spawn platform
2022-07-13 21:52:33 -07:00
Ryan
a36b5163f7
Implement attack and movement speed
2022-07-12 20:47:53 -07:00
Ryan
9d0363ac4e
Add logo
2022-07-12 16:54:36 -07:00
Ryan
3f150b4c8a
Document most items
2022-07-11 05:08:02 -07:00
Ryan
24cf864ed1
Don't export items arbitrarily at the crate root
2022-07-06 18:27:59 -07:00
Ryan
bfba7a1d11
Swing correct hand
2022-07-05 19:28:29 -07:00
Ryan
3ac711ca74
Use idiomatic names
...
The Rust stdlib uses "Kind" instead of "Type".
2022-07-05 19:21:52 -07:00
Ryan
fcda380f2a
Improve entity event API
2022-07-05 18:08:40 -07:00
Ryan
c4590a45fc
Fix entity create/delete bugs
2022-07-04 16:30:37 -07:00
Ryan
6c0eef1ae7
Add more client events
2022-07-04 15:51:28 -07:00
Ryan
0d07b3659f
Store entity events in the entity struct
2022-07-04 00:24:55 -07:00
Ryan
e8451da55e
Add entity status codes
2022-07-03 23:17:51 -07:00
Ryan
fb09ab7f8c
Spawn player entities in the conway example
2022-07-03 20:31:20 -07:00
Ryan
a6bb67ecfe
Fix client respawning
2022-07-03 18:45:11 -07:00
Ryan
79cb4c159a
Store entities and clients per server rather than per world
2022-07-03 15:31:24 -07:00
Ryan
985ecf3922
Don't send untranslated error messages to clients
2022-07-02 16:23:58 -07:00
Ryan
0c6ecc9c12
Tweak biomes
2022-07-02 13:41:45 -07:00
Ryan
c468fc3eea
Use a VecDeque for events
2022-07-02 11:22:28 -07:00
Ryan
878f2d1dcb
Add conway example
2022-07-02 00:14:39 -07:00
Ryan
340318b9b6
Get system chat working
2022-07-01 19:18:59 -07:00
Ryan
9a87fda211
Rename packets
2022-06-30 14:18:29 -07:00
Ryan
fa2241c038
Basic chat message support
2022-06-29 21:34:20 -07:00
Ryan
1aa4ca878e
Add player metadata to client
2022-06-29 13:00:41 -07:00
Ryan
806ffa4f42
Remove &mut wrappers
...
The mutable reference wappers were causing more problems than they were
solving. We will document the dangers of mem::swap later.
2022-06-29 11:09:00 -07:00
Ryan
e97df76a75
Don't tamper with the texture payload
...
The texture payload (skin + cape URL) that we get from the auth server
needs to stay intact so the signature is not invalidated. However, skins
still aren't loading. Not sure what's up with that.
2022-06-28 18:29:29 -07:00