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

1436 commits

Author SHA1 Message Date
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
Shayne Hartford
dfdc3144b6
Update and merge the dependencies (#187)
* Add rust rover to .gitignore

* Fold dependency feature lists

* Sort dependencies alphabetically

* Update dependencies

* Upgrade dependencies

* Comment out unused dependencies

* Nightly is broken right now :)

* Fix conflict with derive_more

* cargo autoinherit to merge dependencies

* Fix clippy lints
2024-11-23 02:29:30 -06:00
Shayne Hartford
e443c5d76e
Fix debug warning (#186) 2024-11-22 21:30:01 -06:00
Shayne Hartford
a8125cd198
Add SwarmBuilder::add_account_with_opts (#185) 2024-11-20 22:43:21 -06:00
Shayne Hartford
3cf17cb896
Add more derives to the pathfinder goals for flexibility (#183) 2024-11-15 21:38:18 -06:00
Shayne Hartford
0902edb244
Switch to u32 to match other entity ids in Azalea (#182)
* Switch to u32 to match other entity ids in Azalea

* Forgot about the other entity id

* Revert "Forgot about the other entity id"

That wasn't meant for this branch, squash merge this out lol.
2024-11-12 17:59:04 -06:00
Shayne Hartford
09cdc22b86
Make some internal system handles public for use with before/after (#180) 2024-11-12 12:07:36 -06:00
Gaspard Culis
0774888a77
feat(registry): Derive Serialize and Deserialize on registry types (#179) 2024-11-03 10:58:19 -06:00
mat
6b0fe5bf63 group imports with rustfmt 2024-10-26 05:29:26 +00:00
mat
b762575db6 fix ClientboundPlayerInfoUpdatePacket and replace GameProfile with LoginFinished in an example 2024-10-26 05:28:11 +00:00
mat
a3cf78ebec add 1.21.1 to branches list in readme 2024-10-23 05:14:10 +00:00
mat
40e4096d24
1.21.2 (#171)
* partially implement 24w35a

* start updating to 24w39a + itemcomponent codegen

* fix codegen and broken packets to finish updating to 24w39a :D

* update to 1.21.2 except for blocks

* update ServerboundPlayerInputPacket impl
2024-10-23 00:08:13 -05:00
mat
abc7b43b8c Release 0.10.3+mc1.21.1
azalea@0.10.3+mc1.21.1
azalea-auth@0.10.3+mc1.21.1
azalea-block@0.10.3+mc1.21.1
azalea-block-macros@0.10.3+mc1.21.1
azalea-brigadier@0.10.3+mc1.21.1
azalea-buf@0.10.3+mc1.21.1
azalea-buf-macros@0.10.3+mc1.21.1
azalea-chat@0.10.3+mc1.21.1
azalea-client@0.10.3+mc1.21.1
azalea-core@0.10.3+mc1.21.1
azalea-crypto@0.10.3+mc1.21.1
azalea-entity@0.10.3+mc1.21.1
azalea-inventory@0.10.3+mc1.21.1
azalea-inventory-macros@0.10.3+mc1.21.1
azalea-language@0.10.3+mc1.21.1
azalea-physics@0.10.3+mc1.21.1
azalea-protocol@0.10.3+mc1.21.1
azalea-protocol-macros@0.10.3+mc1.21.1
azalea-registry@0.10.3+mc1.21.1
azalea-registry-macros@0.10.3+mc1.21.1
azalea-world@0.10.3+mc1.21.1

Generated by cargo-workspaces
2024-10-22 23:05:04 -05:00