Commit graph

231 commits

Author SHA1 Message Date
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 daa70b53e3 Convert logo text to paths 2022-07-12 17:54:55 -07:00
Ryan 15d276ad2e Add logo to README 2022-07-12 17:50:36 -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 54e0d5cb90 impl Display for BlockState 2022-07-06 18:46:03 -07:00
Ryan 24cf864ed1 Don't export items arbitrarily at the crate root 2022-07-06 18:27:59 -07:00
Ryan 70476973b6 Ignore "unexpected EOF" errors 2022-07-06 02:11:15 -07:00
Ryan 7bdcc28b65 Expose the send_packet fn when 'protocol' feature is active 2022-07-06 01:55:00 -07:00
Ryan a06ba7e645 Add hardcore 2022-07-06 01:12:05 -07:00
Ryan 5fcde5f7ae Implement title and subtitle 2022-07-06 00:16:07 -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 0f8b906265 Make the packet inspector error resistant 2022-07-04 18:22:29 -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 4aca4e24a7 Don't load entities with the same UUID as the client 2022-07-04 00:48:21 -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 04ce5366c8 Add a null state to some IDs 2022-07-03 18:02:00 -07:00
Ryan 622f15e71d Implement client world switching 2022-07-03 17:32:05 -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 232b76a8f7 Improve BlockPos API 2022-07-02 10:27:54 -07:00
Ryan c14bf88bd1 Fix warnings 2022-07-02 00:15:16 -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 0fcedd3656 Improve packet debug output 2022-07-01 16:03:15 -07:00
Ryan a259bdf840 Add the packet inspector proxy 2022-07-01 15:29:31 -07:00
Ryan 9a87fda211 Rename packets 2022-06-30 14:18:29 -07:00
Ryan 6ef634ca2c Use Rust 1.62.0 features 2022-06-30 13:22:08 -07:00
Ryan 560163fd2e Expose the protocol API behind a feature flag
This could be useful for building proxies or clients in the future.
2022-06-30 11:53:57 -07:00
Ryan fa2241c038 Basic chat message support 2022-06-29 21:34:20 -07:00
Ryan a182f17c78 Don't forget to clear modifications. 2022-06-29 13:16:45 -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
Ryan 055dd03ffc Implement the player list 2022-06-27 17:52:23 -07:00
Ryan d7d922399a Add more client events 2022-06-24 16:11:15 -07:00
Ryan a58258e8d3 Update packets 2022-06-23 04:50:27 -07:00
Ryan a9cdff3dca Get authentication working again 2022-06-22 23:33:38 -07:00
Ryan 69ba704352 Implement the block change packets 2022-06-22 08:06:54 -07:00
Ryan 09b434f298 Add sequence to PlayerDigging 2022-06-21 15:08:45 -07:00
Ryan f75debdd50 Tweaks to terrain.rs 2022-06-21 15:07:02 -07:00