1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 14:26:04 +00:00
Commit graph

283 commits

Author SHA1 Message Date
mat
fcc257a0cc merge main 2023-03-14 01:33:18 -05:00
mat
aa846bc027 make ResourceLocation::new -> Self and impl Serialize/Deserialize for ResourceLocation 2023-03-14 01:22:15 -05:00
mat
b8b44dcf91 fix ambiguity 2023-03-13 21:58:11 -05:00
mat
9254f388c1 container handle 2023-03-13 21:53:53 -05:00
mat
6286e953a6 chest 2023-03-13 21:10:30 -05:00
mat
b44dc94274 lever 2023-03-13 15:38:44 -05:00
mat
5c38b34dc1 clippy 2023-03-12 22:46:55 -05:00
mat
59f65cb046 make some stuff simpler 2023-03-12 22:15:41 -05:00
mat
df87702875 fix 2023-03-12 21:54:21 -05:00
mat
3edd35aa42 start trying to fix 2023-03-12 16:12:28 -05:00
mat
babb0d3a74 update_hit_result_component 2023-03-11 22:33:07 -06:00
mat
34f647781f add clip function 2023-03-11 21:09:34 -06:00
mat
e1f04989fb merge main 2023-03-11 17:10:38 -06:00
mat
cd0a1ed8d4 fix doc errors 2023-03-11 17:02:57 -06:00
EightFactorial
c57c68ddf8
Add RegistryHolder struct and serde features (#81)
* Make RegistryHolder struct

* Update deps

* Move RegistryHolder to azalea-protocol

* Convert bytes to bools and back

* Rename and shuffle logic

* Move logic into trait, rename methods

* Final touchups

* Ah, merge mistakes

* Add serde support for ResourceLocation

* Reuse structs

* Error when serde skips values in debug mode
Add missing attributes

* Strict_registry feature, require packet feature

* Add test

* Move into packets

* Docs and touchups

* Reword docs

* Move into module inside ClientboundLoginPacket

* Add azalea-nbt serde feature

* remove duplicate comment and type_ -> kind

---------

Co-authored-by: mat <github@matdoes.dev>
2023-03-11 16:00:10 -06:00
mat
0468379e59 start adding HitResultComponent 2023-03-09 21:02:05 +00:00
mat
c5237daf51 sequence number 2023-03-08 20:20:55 +00:00
mat
67f3a0aaee merge main 2023-03-08 20:04:08 +00:00
mat
f28efd5637 make ClientInformation and TabList their own components 2023-03-08 19:26:40 +00:00
mat
f93910cf50 update dependencies 2023-03-08 18:57:10 +00:00
mat
ba713916ee Merge branch 'main' into inventory 2023-03-08 16:24:53 +00:00
mat
719379a8a7
Bevy 0.10 (#79)
* replace 0.9.1 with 0.10.0

* start migrating to bevy .10

* well it compiles

* doesn't immediately panic

* remove unused imports

* fmt

* delete azalea-ecs

* make RelativeEntityUpdate an EntityCommand

* fix a doc test

* explain what FixedUpdate does
2023-03-07 14:14:36 -06: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
Shayne Hartford
ec5f05c345
Change Windows env from USERPROFILE to APPDATA (#77) 2023-02-27 09:45:04 -06:00
mat
7143ca4420 handle_block_interact_event 2023-02-26 15:43:53 -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
c12592f6ad start adding interact function 2023-02-24 14:52:39 +00:00
mat
21e3f73c23 check entity for retroactively_add_game_profile_component 2023-02-23 18:46:41 -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
40073f5baa improve docs and rename model_customisation 2023-02-21 19:13:51 +00:00
mat
7124e65857 merge main 2023-02-21 19:06:10 +00:00
EightFactorial
f382e2838f
Fix ClientboundBlockEventPacket::block (#70) 2023-02-13 20:46:40 -06:00
mat
1b3d6f9581 DisconnectEvent 2023-02-12 22:56:20 -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
2ae0fe044f merge main 2023-02-10 19:22:07 +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
9d4f738d4e make blockstate good 2023-02-10 01:56:45 +00: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
aa886c101b move az_world::entity_info to az_world::entities::info 2023-02-07 20:30:53 +00:00
mat
8db5b81f4c inventory/container tracking works 2023-02-06 22:30:55 -06:00
e43cbc09c2 more inventory stuff 2023-02-07 01:59:01 +00:00
mat
8faae3b6be inventory stuff 2023-02-05 23:04:04 -06:00
mat
73aaf3f02b inventory.rs 2023-02-05 17:33:47 -06:00
mat
7e2c12175d merge main into inventory 2023-02-05 17:08:01 -06:00