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

189 commits

Author SHA1 Message Date
Ryan
0453b94eea Recommend git dependency instead of path dependency in README.md 2022-09-13 04:33:11 -07:00
Ryan
7878793629 Explain event validation 2022-09-12 21:53:07 -07:00
Ryan
51cb3bd277 Fix formatting 2022-09-12 20:32:11 -07:00
Ryan
dc64f06cac Clarify chunk space/world space 2022-09-12 20:20:58 -07:00
Nolan Rosen
adc927d319
Cleaner fix to () 2022-09-12 17:14:37 -07:00
Ryan
65dc561868 Document and rename default_client_event to handle_event_default. 2022-09-11 21:59:05 -07:00
Ryan
bc470f3eb3 Consistent logo file names 2022-09-11 00:20:17 -07:00
Ryan
c15a9361f2 Make note about packet names matching packets.json. 2022-09-10 17:01:42 -07:00
Ryan Johnson
ca4f47c768
Implement the player sample ()
Verify that it works by hovering your mouse over the player count in the
cow_sphere example.
2022-09-10 16:02:12 -07:00
Ryan
49fdeb6be4 Tweak actions 2022-09-10 02:40:58 -07:00
Ryan
5c9a6c973c Add --all-targets to actions 2022-09-09 22:35:24 -07:00
Ryan Johnson
fdedf74d29
Add clippy lints and format checks ()
The nightly rust toolchain is used because we are currently using unstable rustfmt settings.
2022-09-09 21:59:10 -07:00
Ryan
4920defe3e Fix clippy issue 2022-09-09 17:56:16 -07:00
Sekky61
a80052097a
Added SetExperience and SetHealth packets ()
* Added `SetExperience` and `SetHealth` packets

Packets were tested

* Rename packets in accordance with `packets.json`
Renamed `SetExperience` to
`ExperienceBarUpdate` and `SetHealth` to `HealthUpdate`

* `set_level` and `set_health_and_food` functions
2022-09-09 17:54:09 -07:00
Nolan Rosen
7b3e317c06
Bugfix: Conflicting UUIDs ()
* Adding basic test for entities container

* Entities test written

* Fixes: 

* Update src/entity.rs

Co-authored-by: Ryan Johnson <ryanj00a@gmail.com>

* Removing unused imports

Co-authored-by: Ryan Johnson <ryanj00a@gmail.com>
2022-09-09 17:45:38 -07:00
guac420
96f5614941
Add support for Slot data decoding ()
* Impl Seek for reader in Decode Trait

* Add support for Slot data type

* Update tests and rust fmt

* Add tests for Slot

Also fixed bugs I found while testing

* Update slot signature

* Resolved requested changes

Updated decode trait signature and removed unnecessary getters/setters in `Slot`
2022-09-08 21:39:08 -07:00
Ryan Johnson
20546e2fb8
Split Chunk into loaded and unloaded types ()
These changes will pave the way for nonblocking terrain generation in `terrain.rs`.
2022-09-08 19:33:24 -07:00
XBagon
a4c8b282a5
Change debug optimization levels ()
Changed the `Cargo.toml` to allow full optimization of dependencies and minimally optimize the binary to allow proper testing without timeouts and errors due to overload.
2022-09-08 04:40:42 -07:00
Ryan
c955ab8799 Resolve remaining clippy warnings 2022-09-07 11:36:12 -07:00
Carson McManus
2b3794da7e
Update definition for ChatMessage and CommandExecution ()
* Update ChatMessage definition, prevent typing in chat from kicking players

fixes 

* Update definition for CommandExecution
2022-09-07 11:21:20 -07:00
Ryan Johnson
ce02b50623
Clarify status of crates.io crate in the readme 2022-09-06 18:05:57 -07:00
Ryan
6215373b18 Re-export the BlockFace type 2022-09-05 22:53:09 -07:00
Ryan Johnson
ddc74ef01d
stderr -> stdout 2022-09-05 22:29:19 -07:00
Ryan
067d753267 Move packet_inspector README.md to correct directory 2022-09-05 22:18:13 -07:00
Ryan
7d55dfb964 Simplify position conversion 2022-09-05 22:12:28 -07:00
Ryan Johnson
9ab54cc930
Tweak packet_inspector README 2022-09-05 21:25:30 -07:00
SirJosh3917
08ee7acacf
Fix order of chunk creation in conway's example ()
This would typically go unnoticed, but upon expanding the and making meaningful use of both directions, this being an issue arises.
2022-09-05 20:16:21 -07:00
Ryan
74a09df978 Hide protocol module from docs 2022-09-05 18:37:55 -07:00
Ryan Johnson
62f7a039cc
Create README for packet_inspector 2022-09-05 18:33:27 -07:00
Tristan F
10a8de3bbd
Add action bar support ()
* Action bar + conway

* Docs for action bar

* Apply suggestions

* fmt
2022-09-05 17:23:32 -07:00
Mrln
42dfcef57d
Add ClientEvent::InteractWithBlock ()
* 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 () 2022-09-05 16:24:33 -07:00
Tristan F
df3e5b12bb
Add custom sound effect packet and sound example to conway ()
* 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 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