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

1398 commits

Author SHA1 Message Date
mat
adb56b7eb2 make a_star function use an IndexMap like the pathfinding crate 2024-12-26 07:42:35 +00:00
mat
3c83e5b24a replace priority_queue crate with std BinaryHeap 2024-12-26 05:52:46 +00:00
mat
e11a902fba patch pathfinder obstructions instead of just truncating the path 2024-12-25 12:09:27 +00:00
mat
2f1fe5f9f6 partial fix for sending Config packets during Game 2024-12-25 09:58:32 +00:00
mat
8f0d0d9280 close tcp connection on bot disconnect and add swarms to testbot cli 2024-12-25 07:27:09 +00:00
mat
04eaa5c3d0 remove dependency on bytes crate for azalea-protocol and fix memory leak 2024-12-25 06:16:10 +00:00
mat
0ee9ed50e3 optimize pathfinder 2024-12-25 03:00:48 +00:00
mat
d67aa07c13 optimize cost_for_breaking_block by making its cache an UnsafeCell instead 2024-12-24 12:41:18 +00:00
mat
a599b5614e make BlockState a u16 and add a BlockStateIntegerRepr type 2024-12-24 09:40:29 +00:00
mat
f03e0c2235 fix parsing Dust particle and treat waterlogged blocks as liquid in pathfinder 2024-12-24 08:48:36 +00:00
mat
de5a53ce08 add additional pathfinder test and fix pathfinder failure 2024-12-24 05:18:33 +00:00
mat
958848e8ed improve some docs and apis related to pathfinder 2024-12-24 04:37:55 +00:00
mat
30cbeecdfe update outdated doc in Swarm and remove unnecessary generics 2024-12-23 13:10:40 +00:00
mat
8772661772 lift requirement on anyhow for handler function 2024-12-23 10:34:44 +00:00
mat
1609b90a93 rename metadata::State to metadata::SnifferState 2024-12-23 09:55:21 +00:00
mat
fa132b61fc add a bit more logging to handshake_proxy 2024-12-23 07:31:51 +00:00
mat
2c37ade959 add a test for 2b2t queue chat message 2024-12-23 02:01:58 +00:00
mat
63fef9d94f fix 'extra' parsing in FormattedText::from_nbt_compound which results in duplicated chat fragments 2024-12-23 02:01:09 +00:00
mat
a477a84c6e exit get_block_state early if below the world 2024-12-23 01:31:17 +00:00
mat
3b1fe490b0 make testbot take cli args 2024-12-23 01:12:27 +00:00
mat
478fe722f5 fix unlinked link in comment 2024-12-21 03:09:40 +00:00
mat
641b99c7af update trust-dns -> hickory-dns 2024-12-21 03:06:56 +00:00
mat
98e5efb577 fix flakey pathfinder tests by moving stop_pathfinding_on_instance_change to be before path_found_listener 2024-12-21 02:57:19 +00:00
mat
831e8c167f fix compiling azalea-registry 2024-12-21 02:40:53 +00:00
mat
ad30950f85 Release independent packages
Generated by cargo-workspaces
2024-12-20 19:22:29 -06:00
mat
7098375ecf Release 0.11.0+mc1.21.4
azalea@0.11.0+mc1.21.4
azalea-auth@0.11.0+mc1.21.4
azalea-block@0.11.0+mc1.21.4
azalea-block-macros@0.11.0+mc1.21.4
azalea-brigadier@0.11.0+mc1.21.4
azalea-buf@0.11.0+mc1.21.4
azalea-buf-macros@0.11.0+mc1.21.4
azalea-chat@0.11.0+mc1.21.4
azalea-client@0.11.0+mc1.21.4
azalea-core@0.11.0+mc1.21.4
azalea-crypto@0.11.0+mc1.21.4
azalea-entity@0.11.0+mc1.21.4
azalea-inventory@0.11.0+mc1.21.4
azalea-inventory-macros@0.11.0+mc1.21.4
azalea-language@0.11.0+mc1.21.4
azalea-physics@0.11.0+mc1.21.4
azalea-protocol@0.11.0+mc1.21.4
azalea-protocol-macros@0.11.0+mc1.21.4
azalea-registry@0.11.0+mc1.21.4
azalea-registry-macros@0.11.0+mc1.21.4
azalea-world@0.11.0+mc1.21.4

Generated by cargo-workspaces
2024-12-20 19:18:36 -06:00
mat
527333f2b7 more verbose login_disconnect error 2024-12-21 00:02:54 +00:00
mat
78e5a65317 fix incorrect tags codegen 2024-12-20 23:59:17 +00:00
mat
c7cb73d22b update entity metadata 2024-12-20 23:56:43 +00:00
mat
5fbad9bbb3 update deps 2024-12-20 23:54:04 +00:00
mat
e268c49291 fix incorrect packets 2024-12-19 02:52:41 +00:00
Gaspard Culis
1f06a1540f
chore(core): Derive Serialize and Deserialize for direction types (#197)
When crate's `serde` feature is enabled
2024-12-12 15:13:16 -06:00
mat
e9136c9cbb
Implement EntityPositionSync (#196)
* implement EntityPositionSync

* fix EntityPositionSync setting the wrong vec_delta_codec and also move into a RelativeEntityUpdate
2024-12-11 19:51:12 -06:00
mat
23932003d9 remove the generic_const_exprs feature since it's unused and to make the rust compiler devs happy 2024-12-11 05:39:23 +00:00
mat
f4a1869a7d fix incorrect EntityDataValue::Long 2024-12-11 03:54:12 +00:00
mat
097a620de1 fix for latest nightly by changing the FixedBitSet generic to take bytes instead of bits 2024-12-11 03:25:36 +00:00
EightFactorial
2feef49471
Disable the deadlock_detection feature by default (#195)
* Disable the `deadlock_detection` feature by default

Fixes conflicts with any packages that enable parking_lot's `send_guard` feature

* move testbot deadlock detection to a function and add additional comments

---------

Co-authored-by: mat <git@matdoes.dev>
2024-12-10 16:37:35 -06:00
EightFactorial
07109964ad
Emit a build warning if the compiler may fail to build (#194)
This should be reverted when the latest nightly can build again
2024-12-07 17:23:27 -06:00
mat
39f4d68e1f fix container_set_content, player_position, and recipe_book_remove packets 2024-12-05 06:30:47 +00:00
EightFactorial
6379035b85
Update Bevy and migrate to workspace dependencies and package attributes (#181)
* Use workspace `Cargo.toml` for dependencies and package atributes

* Fix a couple clippy warnings

* Update bevy, update build script, move deps to workspace, and fix clippy warnings

* Remove carrots from crate versions
The default behavior is the same

* Remove unused dependencies
Compiles and all tests pass, so it should be fine

* Update codegen to use `std::sync::LazyLock` instead of `once_cell::sync::Lazy`

* Update Bevy to `0.15.0-rc.3`
Surprisingly little needed to be changed

* Update to bevy 0.15.0

* Fix leftover merge issues

* Clarify the reason the swarm can't connect

* Fix duplicate lint, remove `log` dependency
2024-12-04 18:31:22 -06:00
mat
241c7527ce add link to 1.21.3 branch in readme 2024-12-03 20:46:36 +00:00
mat
b71a7af53a
1.21.4 (#189)
* start updating to 1.21.4

* fix block codegen and stop using block data from burger

* 1.21.4-rc1

* 1.21.4
2024-12-03 14:42:23 -06:00
Shayne Hartford
ea5a1c1ec1
Add missing world border boolean to use item on packet in 1.21.2 (#192) 2024-11-30 18:05:35 -06:00
Shayne Hartford
944fe5c6f8
Impl FromStr for BlockPos & Vec (again) (#191) 2024-11-30 15:46:39 -06:00
mat
f364ad6b21 switch some packet structs to unit structs 2024-11-28 20:33:39 +00:00
mat
ae5c0ea8e5 improve DataComponentPatch::has and has_kind 2024-11-28 03:22:34 +00:00
mat
c36201cc89 change DataComponentPatch::get to take in a generic (and add get_kind, has, and has_kind) 2024-11-28 03:17:58 +00:00
mat
08958c2278
Refactor azalea-protocol (#190)
* start updating to 1.21.4

* fix block codegen and stop using block data from burger

* rename packet related modules and structs to be simpler

* ItemSlot -> ItemStack for more consistency with mojmap

* .get() -> .into_packet()

* simplify declare_state_packets by removing packet ids

* rename read_from and write_into to azalea_read and azalea_write

* rename McBufReadable and McBufWritable to AzaleaRead and AzaleaWrite

* McBuf -> AzBuf

* remove most uses of into_variant

* update codegen and use resourcelocation names for packets

* implement #[limit(i)] attribute for AzBuf derive macro

* fixes for 1.21.4

* fix examples

* update some physics code and fix ChatType

* remove unused imports in codegen

* re-add some things to migrate.py and update +mc version numbers automatically

* downgrade to 1.21.3 lol
2024-11-27 19:31:40 -06:00
mat
139d77d3c2 make item in EntityMetadataItems public
closes #169
2024-11-27 10:55:37 +00:00
mat
0817382098 replace once_cell with std:;sync::LazyLock 2024-11-27 10:26:40 +00:00