Commit graph

160 commits

Author SHA1 Message Date
Tristan F 10a8de3bbd
Add action bar support (#15)
* Action bar + conway

* Docs for action bar

* Apply suggestions

* fmt
2022-09-05 17:23:32 -07:00
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
TheEternalShine b9b0728fd3
Add named text color parsing (#23) 2022-09-05 16:24:33 -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 cac348a4b6 Update logo links 2022-09-04 22:25:08 -07:00
Ryan 30e05bb373 cargo fmt 2022-09-04 22:21:24 -07:00
Ryan Johnson 58fce9f3aa
Merge pull request #14 from LeoDog896/boilerplate
Reduce boilerplate by making a default client event.
2022-09-04 21:48:23 -07:00
Tristan F d7e229e0a9 Make default client event 2022-09-04 15:42:08 -04:00
Ryan 4c5179de18 Move serde_nbt to a separate repo.
It is located at https://github.com/valence-rs/serde_nbt
2022-09-04 04:00:59 -07:00
Ryan Johnson 63f49ad5c0
Github actions for main branch
Hope this works
2022-09-04 01:43:52 -07:00
Ryan Johnson 2ee96056a7
Explain the project better in the README 2022-09-03 20:27:49 -07:00
Ryan ebbea74017 Prepare for public release 2022-09-03 16:48:11 -07:00
Ryan 2cfc483ba3 Add README to serde_nbt 2022-09-03 15:41:36 -07:00
Ryan 1d97d9e509 Add more top level docs to serde_nbt 2022-09-03 15:31:40 -07:00
Ryan d98681e3b3 Add doc link 2022-09-03 07:34:55 -07:00
Ryan Johnson bf792392b5
Update README.md 2022-09-03 07:27:49 -07:00
Ryan 40eff76d4b Add 256x256 png logo 2022-09-03 06:56:06 -07:00
Ryan d3a71bd70a Add FUNDING.yml 2022-09-03 06:52:56 -07:00
Ryan f3c96403e0 Slow down conway example 2022-09-03 01:40:09 -07:00
Ryan dafc9a375a Fix clippy issues 2022-09-02 00:37:02 -07:00
Ryan f7a35f356e Update rust docs 2022-09-02 00:06:45 -07:00
Ryan 5d8f7a49da Add documentation to serde_nbt 2022-09-01 20:19:42 -07:00
Ryan 27033c758e Update packet_inspector 2022-09-01 00:57:02 -07:00
Ryan 5fb46178dd Don't hide the protocol module behind a feature 2022-08-31 19:20:49 -07:00
Ryan 6e0a7e0a88 Allow pausing and clearing the conway example 2022-08-31 04:51:13 -07:00
Ryan 79399c153e Update to 1.19.2 2022-08-30 18:41:17 -07:00
Ryan c8cc7a021c Add valence_nbt to valence 2022-08-29 19:28:19 -07:00
Ryan 8f3a46bccf Tweak tests 2022-08-29 19:26:18 -07:00
Ryan 794fa10153 Add support for Some and None 2022-08-29 19:18:23 -07:00
Ryan 8abe8b7ebf rename path to trace 2022-08-29 05:05:04 -07:00
Ryan 158eba1d15 Improve error type 2022-08-29 04:45:43 -07:00
Ryan 2a266fb091 Change rustfmt settings 2022-08-28 21:31:07 -07:00
Ryan c503e6eb78 NBT Value can now be round-trip encoded/decoded properly 2022-08-28 21:06:38 -07:00
Ryan 7568ff8b4b Add serde_nbt 2022-08-24 18:17:51 -07:00
Ryan 793a795732 Check protocol version during login 2022-08-14 15:18:22 -07:00
Ryan 7fac522a8e Tweak packet macros 2022-08-14 14:58:32 -07:00
Ryan 02fe0bae3b Sort entity extractor output for better diffing 2022-08-12 10:28:16 -07:00
Ryan 55cb595740 Improve chunks API 2022-08-10 20:09:10 -07:00
Ryan e27144bc01 Direct bits per idx for biomes depends on the size of the biome registry 2022-08-10 19:15:53 -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 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