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

1405 commits

Author SHA1 Message Date
Kumpelinus
11a74f215e
Implement a to_html method for FormattedText (#208)
* Implement a to_html method for FormattedText

Also fix a small issue with ansi formatting where it duplicated
text.

* cargo fmt

* Make format conversion generic

* cargo lint and fmt

* Fix ascii conversion cleanup

* Implement suggested changes

* format, improve sanitization, add xss test

---------

Co-authored-by: mat <git@matdoes.dev>
2025-05-01 13:26:04 -05:00
mat
4a7d21425c fix some data components 2025-04-25 05:45:55 +03:30
mat
b3af8d73fa update to bevy 0.16 2025-04-25 01:10:03 -01:00
mat
65c9f555b0 unused import 2025-04-24 16:46:46 -09:00
mat
c84b3161ae info log on DisconnectEvent 2025-04-24 17:13:56 -08:00
mat
adef9bf37b always insert Swarm before any systems can start running 2025-04-24 20:55:58 -03:30
mat
89bc5ca91e update RawConnection::state when start_configuration is received 2025-04-24 11:12:47 -12:45
mat
54062c82fd update to git hickory-resolver and use system resolver 2025-04-24 10:03:29 -13:00
mat
0fc0fe41d4 delete some unused packet modules in game state 2025-04-24 18:42:56 -04:00
mat
8012fb90b5 update serialization for set_player_team 2025-04-25 07:24:12 +09:00
mat
c7d53d6532 faster pathfinder WeightedNode::ord 2025-04-22 04:52:02 +03:00
mat
8045b4eda2 add StartJoinServerEvent to allow joining servers exclusively from ecs 2025-04-19 23:51:19 -04:30
mat
ae3722d72c send correct uuid in offline mode 2025-04-19 23:49:11 +05:00
mat
fefc5db09a make azalea::pathfinder::debug public 2025-04-19 21:09:38 +03:00
mat
b7bc08e352 clippy 2025-04-19 23:35:13 +07:00
manen
6c1b144970
remove .unwrap() from wait_until_goto_target_reached (#216)
* fix panics in `wait_until_goto_target_reached`

* replace eprintln with warn

---------

Co-authored-by: mat <git@matdoes.dev>
2025-04-19 11:33:47 -05:00
mat
77f9d929b6 typo in instance_block_action packet 2025-04-18 14:31:18 +08:00
mat
e86087366f box display_name in PlayerInfo to make it smaller 2025-04-18 01:09:49 +02:00
mat
ad45cf5431 allow disabling Event::Packet with a crate feature 2025-04-17 10:15:14 -12:45
mat
43d7c428e3 fix another panic on disconnect and slightly optimize client events loop 2025-04-18 00:32:31 +02:00
mat
3f60bdadac
Move login state to the ECS (#213)
* use packet handlers code for login custom_query

* initial broken implementation for ecs-only login

* fixes

* run Update schedule 60 times per second and delete code related to run_schedule_sender

* fix tests

* fix online-mode

* reply to query packets in a separate system and make it easier for plugins to disable individual replies

* remove unused imports
2025-04-17 16:16:51 -05:00
mat
1989f4ec97 remove unused import 2025-04-17 11:47:24 -09:00
mat
2aa046c4b5 make BlockState::id private 2025-04-17 11:09:14 -09:30
mat
6a83a6fa38 shorten the Plugins bullet point in the readme 2025-04-16 00:01:59 -03:30
mat
b828bc2b12 minor readme fixes 2025-04-15 17:30:56 -10:00
mat
66174fc7d4 clippy and fix broken doc tests 2025-04-16 07:13:09 +04:00
mat
a9820dfd79 make goto async and clean up some examples 2025-04-15 22:04:43 -04:30
mat
1a0c4e2de9 fix wrong MAXIMUM_UNCOMPRESSED_LENGTH value 2025-04-13 16:10:59 +00:00
mat
fd27ca3bec release 0.12.0+mc1.21.5 2025-04-13 05:30:40 +03:00
mat
960b840536 Revert "Release 0.12.0"
This reverts commit e2945b90a9.
2025-04-12 13:33:07 -12:45
mat
e2945b90a9 Release 0.12.0
azalea@0.12.0
azalea-auth@0.12.0
azalea-block@0.12.0
azalea-block-macros@0.12.0
azalea-brigadier@0.12.0
azalea-buf@0.12.0
azalea-buf-macros@0.12.0
azalea-chat@0.12.0
azalea-client@0.12.0
azalea-core@0.12.0
azalea-crypto@0.12.0
azalea-entity@0.12.0
azalea-inventory@0.12.0
azalea-inventory-macros@0.12.0
azalea-language@0.12.0
azalea-physics@0.12.0
azalea-protocol@0.12.0
azalea-protocol-macros@0.12.0
azalea-registry@0.12.0
azalea-registry-macros@0.12.0
azalea-world@0.12.0

Generated by cargo-workspaces
2025-04-12 21:08:44 -05:00
mat
ed4d5937a7 upgrade deps 2025-04-12 21:29:36 -04:30
mat
31b143f821 fix ChickenVariant data component 2025-04-12 13:37:27 -12:00
mat
3112dc3ea0 fix incorrect data components 2025-04-13 02:38:29 +06:00
mat
1be8d8638f optimization: only run update_on_climbable for local entities 2025-04-13 01:45:07 +06:00
mat
913d6ac8c5 clippy 2025-04-04 09:23:28 -13:45
mat
7dcc86e266 remove unwrap in Hello packet handler 2025-04-05 06:37:36 +08:00
mat
adf8a604c4 fix ordering for handle_attack_queued 2025-04-04 13:48:48 -08:45
mat
efc28db6cf remove unnecessary ecs system ordering for handle_outgoing_packets 2025-04-05 01:46:14 +03:30
mat
f250978cdd send attack packets at the end of the tick 2025-04-05 00:50:39 +03:30
mat
5fd57fd630 don't require mut for functions in Client and add some more convenience functions 2025-04-04 16:05:06 -04:30
mat
e99ae608b6 rename ChatPacket::username and uuid to sender and sender_uuid
also adds more convenience functions to Client
2025-04-04 18:24:22 -02:00
mat
1fd0292590 rename ChatPacket::username and uuid to sender and sender_uuid 2025-04-04 06:23:19 -14:00
mat
09d515c8cd breaking change: send azalea::Event::Spawn every time we switch worlds instead of only once ever 2025-04-04 18:09:19 +00:00
mat
5272db8bb4 remove executable bit from files 2025-04-04 15:56:06 +00:00
mat
635bed9fcb fix compilation related to carried_item 2025-03-29 23:39:02 +00:00
mat
097ebb3705 use HashedStack for ServerboundContainerClick::carried_item too 2025-03-29 23:20:26 +00:00
mat
55ed46d081 fix incorrect usage of optional dependency 2025-03-29 18:15:49 -05:00
mat
43ebbee94a update ServerboundContainerClick to use HashedStack from 1.21.5 2025-03-29 23:10:55 +00:00
mat
d0b459e827 add support for unnamed structs to azalea-buf-macros 2025-03-29 22:29:37 +00:00