Commit graph

170 commits

Author SHA1 Message Date
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 d61c3f1f6f Fix change detection bug in build script 2022-08-09 17:35:49 -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 cd110c3cbb Add translation keys to block kind 2022-08-06 16:50:50 -07:00
Ryan 9c67978e06 Add collision shapes to block states 2022-08-06 16:46:07 -07:00
Ryan c1857e1603 Implement basic incoming packet buffering
There is still room for improvement because of one unnecessary layer of copying.
2022-08-06 03:53:39 -07:00
Ryan fb9220bf58 Implement outgoing packet buffering 2022-08-05 23:10:25 -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 959e2b2deb Rename packets
Use yarn packet names (with some exceptions) for better consistency. We should also avoid using Mojang names for things in the future.
2022-07-29 04:49:08 -07:00
Ryan c8fe351dd3 Extract packets 2022-07-29 02:38:53 -07:00
Ryan ffad0b4021 Use the extracted data in the block generator 2022-07-28 08:15:23 -07:00
Ryan 2ceceed0d9 Deduplicate collision shapes 2022-07-28 06:38:13 -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 f97c67d42a Extract entity animation codes 2022-07-26 23:50:19 -07:00
Ryan 37f5789202 Extract more data from entities 2022-07-26 02:18:32 -07:00
Ryan d95c51b492 Fix missing translation keys in entity extractor 2022-07-25 19:33:09 -07:00
Ryan 500a905314 Add bit fields to entity extractor output 2022-07-24 22:08:57 -07:00
Ryan 1a66f6f04d Ignore *.iml files 2022-07-24 22:06:24 -07:00
Ryan c932b6cd71 Isolate each extractor 2022-07-21 04:06:19 -07:00
Ryan e0b371d23c Make trackedDataToJson more robust 2022-07-21 02:47:42 -07:00
Ryan 682f73bda8 Extract entity status codes 2022-07-20 23:35:19 -07:00
Ryan 37b285209f Extract default values for entity fields 2022-07-20 22:51:01 -07:00
Ryan b9fca3503c Add entity extractor 2022-07-20 01:12:13 -07:00
Ryan f9be05ee4a Add extractor fabric mod 2022-07-19 05:15:05 -07:00
Ryan 21e37c65c2 Update Cargo.toml 2022-07-18 02:02:37 -07:00
Ryan 044a735729 Fix stack overflow during BVH construction
The epsilon for float equality was too small which prevented the
function from terminating. Additionally, it has been rewritten in terms
of a loop because tail-call optimization was not happening.
2022-07-17 22:07:51 -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 0ef05bb0d0 Add client velocity 2022-07-15 04:21:32 -07:00
Ryan 4b83801066 Clean up docs and fix clippy issues 2022-07-14 23:18:20 -07:00
Ryan c5f0f6024c Tweak logo 2022-07-14 05:13:08 -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 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