Commit graph

822 commits

Author SHA1 Message Date
mat
bf4ff51789 remove a ? 2023-03-01 21:08:03 +00:00
mat
7bfca9d228 Merge branch 'main' of https://github.com/mat-1/azalea into main 2023-03-01 21:02:42 +00:00
mat
9b1b03d4ac fix reconnecting in testbot example 2023-03-01 21:02:33 +00:00
Shayne Hartford
91d97adb4f
Remove invalid characters and truncate messages and commands to 256 (#78)
* Remove invalid characters and truncate messages and commands to 256

* Remove duplicated use statements

* Remove to_owned and use matches! macro
2023-02-27 21:44:45 -06:00
mat
b4c62d0987
also run action on prs 2023-02-27 20:56:38 -06:00
Shayne Hartford
ec5f05c345
Change Windows env from USERPROFILE to APPDATA (#77) 2023-02-27 09:45:04 -06:00
Shayne Hartford
adfbb97af8
Add set_state and set_swarm_state (#76)
* Add set_state and set_swarm_state

* Add [must_use], Remove set_state, and change state to swarm_state

* Forgot the other must_use

* I'm not good at this
2023-02-26 23:18:02 -06:00
mat
cbc6af81fb
Add PacketEvent (#75)
* add PacketEvent

* docs and fixes

* Event::Packet works
2023-02-26 15:07:52 -06:00
mat
c1588ef66e
Fix system order ambiguities (#74)
* start fixing stuff where systems run in the wrong order

* fix ordering ambiguity

* add debugging guide

* some fixes

* fix panic for swarms

* fix some warnings
2023-02-25 17:32:15 -06:00
mat
f5a8a59467 use rustls in reqwest 2023-02-24 19:15:49 +00:00
mat
21e3f73c23 check entity for retroactively_add_game_profile_component 2023-02-23 18:46:41 -06:00
mat
54a2eb9c95 fix jumping 2023-02-23 18:35:37 -06:00
Charles Johnson
d3af7ba7a9
fix disconnect_on_read_packets_ended (#73) 2023-02-22 13:50:08 -06:00
mat
1f5775ed4e unused import 2023-02-21 22:22:03 -06:00
mat
c52cee3a69 don't keep firing disconnectevent 2023-02-21 22:21:43 -06:00
mat
48640ca303 properly disconnect on ungraceful disconnect 2023-02-21 21:53:22 -06:00
mat
66094921c8 make metadata components clonable 2023-02-21 21:46:41 -06:00
EightFactorial
6942e3547b
Fix writing palettes (#72) 2023-02-21 20:17:32 -06:00
mat
40073f5baa improve docs and rename model_customisation 2023-02-21 19:13:51 +00:00
EightFactorial
d88ca2d865
Make things public (#71)
* Make struct data pub

* Add derives

* Rename packet fields

* Make Palette structs pub
2023-02-21 12:13:06 -06:00
mat
71308ee0a3 fix 0ns delay 2023-02-15 22:45:03 -06:00
mat
6782b1d9ec max reconnect wait from 120s to 15s 2023-02-15 19:04:14 +00:00
EightFactorial
f382e2838f
Fix ClientboundBlockEventPacket::block (#70) 2023-02-13 20:46:40 -06:00
mat
9897cef520 i should start testing my fixes before committing them 2023-02-13 18:33:30 -06:00
mat
edc37cfd4b fix bad compression on sending long packets
THANKS JAM \SHARP
2023-02-13 18:22:42 -06:00
Ubuntu
37b0cbf058 fix comment in tests 2023-02-13 16:34:43 +00:00
Charles Johnson
17463391fe
fix BlockCollisions bounding box (#68)
* fix `BlockCollisions` bounding box

* add test

---------

Co-authored-by: Ubuntu <github@matdoes.dev>
2023-02-13 10:33:51 -06:00
mat
1b3d6f9581 DisconnectEvent 2023-02-12 22:56:20 -06:00
mat
913f17299b
update .cargo/config.toml
thanks bevy
2023-02-12 18:47:09 -06:00
mat
5d53d063c3
Better chat events (#67)
* Better chat events

* add a comment explaining why SendChatKindEvent is only one event
2023-02-12 17:49:09 -06:00
mat
962cb576b3 fix pathfinder example link 2023-02-10 22:36:18 -06:00
Ubuntu
f8f976ac02 make it so registries can have doc comments 2023-02-10 19:16:25 +00:00
Ubuntu
758372f938 improve docs a bit more and delete potatobot example 2023-02-10 18:19:06 +00:00
Ubuntu
f5ae1b9717 fix and improve examples in docs 2023-02-10 18:06:18 +00:00
mat
7e43e6d24a no iyes_loopless 2023-02-09 21:20:09 -06:00
mat
ba3d8c35af chore: Release 2023-02-09 21:03:16 -06:00
mat
2c7518be33 release ecs crates 2023-02-09 21:02:34 -06:00
mat
7341a06dbf ok i think i'm gonna leave the block examples like this 2023-02-09 20:38:25 -06:00
Ubuntu
2fc768612e change wording in a comment 2023-02-10 02:09:46 +00:00
Ubuntu
ef91f436c0 change one of the blocks examples 2023-02-10 02:06:41 +00:00
Ubuntu
9d4f738d4e make blockstate good 2023-02-10 01:56:45 +00:00
Charles Johnson
48b2a37aa0
derive Debug for BlockState (#64)
* derive `Debug` for `BlockState`

* change default Debug for BlockState

---------

Co-authored-by: Ubuntu <github@matdoes.dev>
2023-02-09 11:18:56 -06:00
EightFactorial
c23fae6e5d
Add KeepAliveEvent and Fix Error Messages (#65)
* Add KeepAliveEvent

* Fix error messages

* Panic instead of log error

* Do not panic on closed connections

* change some wording and fixes

* fmt

---------

Co-authored-by: Ubuntu <github@matdoes.dev>
2023-02-08 12:05:14 -06:00
Ubuntu
aa886c101b move az_world::entity_info to az_world::entities::info 2023-02-07 20:30:53 +00:00
Ubuntu
d51b2a29b2 fix some swarm examples/docs 2023-02-06 19:15:41 +00:00
mat
cbcf1d5e54 shut up clippy 2023-02-05 14:52:25 -06:00
mat
0d3a091c23 improve docs 2023-02-05 14:31:52 -06:00
mat
a72b768397 reword readme a bit 2023-02-04 19:42:38 -06:00
mat
5d4d29f116 move 'bot' into its own example (actually) 2023-02-04 19:38:46 -06:00
mat
2db9e1c098 move 'bot' into its own example 2023-02-04 19:38:33 -06:00