aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-10-04 12:52:57 -0300
committermat <git@matdoes.dev>2025-10-04 12:52:57 -0300
commit43f20b821ce26af148156e705f4c1fd3f956beb5 (patch)
treebfe797e92cd496f4cee59bb078d378909a3823ed
parenta7e2f92b169d6079ba09b2190fefd2d539024a68 (diff)
downloadazalea-drasl-43f20b821ce26af148156e705f4c1fd3f956beb5.tar.xz
upgrade deps and rename SystemSets to follow bevy's new naming convention
-rw-r--r--Cargo.lock216
-rw-r--r--Cargo.toml12
-rw-r--r--azalea-client/src/plugins/attack.rs8
-rw-r--r--azalea-client/src/plugins/chunks.rs4
-rw-r--r--azalea-client/src/plugins/interact/mod.rs20
-rw-r--r--azalea-client/src/plugins/inventory.rs4
-rw-r--r--azalea-client/src/plugins/loading.rs8
-rw-r--r--azalea-client/src/plugins/mining.rs18
-rw-r--r--azalea-client/src/plugins/movement.rs10
-rw-r--r--azalea-client/src/plugins/tick_counter.rs8
-rw-r--r--azalea-client/src/plugins/tick_end.rs8
-rw-r--r--azalea-physics/src/lib.rs4
-rw-r--r--azalea/src/accept_resource_packs.rs4
-rw-r--r--azalea/src/bot.rs4
-rw-r--r--azalea/src/pathfinder/mod.rs21
15 files changed, 160 insertions, 189 deletions
diff --git a/Cargo.lock b/Cargo.lock
index df98767b..e19a8279 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -51,9 +51,9 @@ checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299"
[[package]]
name = "anstream"
-version = "0.6.20"
+version = "0.6.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3ae563653d1938f79b1ab1b5e668c87c76a9930414574a6583a7b7e11a8e6192"
+checksum = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a"
dependencies = [
"anstyle",
"anstyle-parse",
@@ -66,9 +66,9 @@ dependencies = [
[[package]]
name = "anstyle"
-version = "1.0.11"
+version = "1.0.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "862ed96ca487e809f1c8e5a8447f6ee2cf102f846893800b20cebdf541fc6bbd"
+checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78"
[[package]]
name = "anstyle-parse"
@@ -241,7 +241,7 @@ dependencies = [
"rand 0.9.2",
"rustc-hash",
"serde",
- "thiserror 2.0.16",
+ "thiserror 2.0.17",
"tokio",
"tracing",
"uuid",
@@ -263,7 +263,7 @@ dependencies = [
"serde",
"serde_json",
"signature",
- "thiserror 2.0.16",
+ "thiserror 2.0.17",
"tokio",
"tracing",
"uuid",
@@ -307,7 +307,7 @@ dependencies = [
"indexmap",
"serde_json",
"simdnbt",
- "thiserror 2.0.16",
+ "thiserror 2.0.17",
"tracing",
"uuid",
]
@@ -366,7 +366,7 @@ dependencies = [
"regex",
"reqwest",
"simdnbt",
- "thiserror 2.0.16",
+ "thiserror 2.0.17",
"tokio",
"tracing",
"uuid",
@@ -386,7 +386,7 @@ dependencies = [
"num-traits",
"serde",
"simdnbt",
- "thiserror 2.0.16",
+ "thiserror 2.0.17",
"tracing",
"uuid",
]
@@ -427,7 +427,7 @@ dependencies = [
"nohash-hasher",
"parking_lot",
"simdnbt",
- "thiserror 2.0.16",
+ "thiserror 2.0.17",
"tracing",
"uuid",
]
@@ -510,7 +510,7 @@ dependencies = [
"serde_json",
"simdnbt",
"socks5-impl",
- "thiserror 2.0.16",
+ "thiserror 2.0.17",
"tokio",
"tokio-util",
"tracing",
@@ -561,7 +561,7 @@ dependencies = [
"parking_lot",
"rustc-hash",
"serde",
- "thiserror 2.0.16",
+ "thiserror 2.0.17",
"tracing",
]
@@ -600,9 +600,9 @@ checksum = "55248b47b0caf0546f7988906588779981c43bb1bc9d0c44087278f80cdb44ba"
[[package]]
name = "bevy_app"
-version = "0.17.0-rc.2"
+version = "0.17.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "43895cb389531d74f8dab16418f31d8855c7656dacf4cced363e8bc19ece8fde"
+checksum = "9f582409b4ed3850d9b66ee94e71a0e2c20e7068121d372530060c4dfcba66fa"
dependencies = [
"bevy_derive",
"bevy_ecs",
@@ -615,7 +615,7 @@ dependencies = [
"ctrlc",
"downcast-rs",
"log",
- "thiserror 2.0.16",
+ "thiserror 2.0.17",
"variadics_please",
"wasm-bindgen",
"web-sys",
@@ -623,9 +623,9 @@ dependencies = [
[[package]]
name = "bevy_derive"
-version = "0.17.0-rc.2"
+version = "0.17.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2cb3ece117a6052bd2b9af37d9f3933e96524fc04d4e0789c873fb0798b82699"
+checksum = "b8c733807158f8fcac68e23222e69ed91a6492ae9410fc2c145b9bb182cfd63e"
dependencies = [
"bevy_macro_utils",
"quote",
@@ -634,9 +634,9 @@ dependencies = [
[[package]]
name = "bevy_ecs"
-version = "0.17.0-rc.2"
+version = "0.17.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7ae89df258af27286fafc1503ffa9dc095d747f10fc94f4e1932f54da40d819"
+checksum = "69d929d32190cfcde6efd2df493601c4dbc18a691fd9775a544c951c3c112e1a"
dependencies = [
"arrayvec",
"bevy_ecs_macros",
@@ -656,15 +656,15 @@ dependencies = [
"serde",
"slotmap",
"smallvec",
- "thiserror 2.0.16",
+ "thiserror 2.0.17",
"variadics_please",
]
[[package]]
name = "bevy_ecs_macros"
-version = "0.17.0-rc.2"
+version = "0.17.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "40b142eb11acc9827116708b7963e1fc179ab70ed297c03d41f97cc215ce243e"
+checksum = "6eeddfb80a2e000663e87be9229c26b4da92bddbc06c8776bc0d1f4a7f679079"
dependencies = [
"bevy_macro_utils",
"proc-macro2",
@@ -674,9 +674,9 @@ dependencies = [
[[package]]
name = "bevy_log"
-version = "0.17.0-rc.2"
+version = "0.17.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "be79d161555350d3e7adbe30ceaa7d07d3a064893a5cdf15a198df9dd9c7b27e"
+checksum = "4ae217a035714a37b779487f82edc4c7c1223f7088d7ad94054f29f524d61c51"
dependencies = [
"android_log-sys",
"bevy_app",
@@ -692,9 +692,9 @@ dependencies = [
[[package]]
name = "bevy_macro_utils"
-version = "0.17.0-rc.2"
+version = "0.17.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d6f66d0c0b425c6181de04b867e744170275e037d35b1c7f8cdc324f57c78358"
+checksum = "17dbc3f8948da58b3c17767d20fd3cd35fe4721ed19a9a3204a6f1d6c9951bdd"
dependencies = [
"parking_lot",
"proc-macro2",
@@ -705,9 +705,9 @@ dependencies = [
[[package]]
name = "bevy_platform"
-version = "0.17.0-rc.2"
+version = "0.17.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4cc4d19e7ef9e6360ce16a54406135f3ca76f7b4de3d4fae520847d3fad2deed"
+checksum = "10cf8cda162688c95250e74cffaa1c3a04597f105d4ca35554106f107308ea57"
dependencies = [
"critical-section",
"foldhash",
@@ -726,15 +726,15 @@ dependencies = [
[[package]]
name = "bevy_ptr"
-version = "0.17.0-rc.2"
+version = "0.17.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d129fa79c6ec9a63acbb3719eac25a10a4edfdfc88f83af40b963c1cfa540b98"
+checksum = "28ab4074e7b781bab84e9b0a41ede245d673d1f75646ce0db27643aedcfb3a85"
[[package]]
name = "bevy_reflect"
-version = "0.17.0-rc.2"
+version = "0.17.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2457c391687f5773f86bcc1e7dab5529b050069733c6639bf1d3283965f3c0f1"
+checksum = "333df3f5947b7e62728eb5c0b51d679716b16c7c5283118fed4563f13230954e"
dependencies = [
"assert_type_match",
"bevy_platform",
@@ -750,7 +750,7 @@ dependencies = [
"serde",
"smallvec",
"smol_str",
- "thiserror 2.0.16",
+ "thiserror 2.0.17",
"uuid",
"variadics_please",
"wgpu-types",
@@ -758,9 +758,9 @@ dependencies = [
[[package]]
name = "bevy_reflect_derive"
-version = "0.17.0-rc.2"
+version = "0.17.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "73fdd27630d61ddded2a3c6c8b2c846f7fbdce863472ea20cab1ae73674fa454"
+checksum = "0205dce9c5a4d8d041b263bcfd96e9d9d6f3d49416e12db347ab5778b3071fe1"
dependencies = [
"bevy_macro_utils",
"indexmap",
@@ -772,9 +772,9 @@ dependencies = [
[[package]]
name = "bevy_tasks"
-version = "0.17.0-rc.2"
+version = "0.17.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8fec5efc5d9db0cb3841e8e06b484f4adb071ec45819a4dc07d475a684b5ab75"
+checksum = "18839182775f30d26f0f84d9de85d25361bb593c99517a80b64ede6cbaf41adc"
dependencies = [
"async-channel",
"async-executor",
@@ -791,9 +791,9 @@ dependencies = [
[[package]]
name = "bevy_time"
-version = "0.17.0-rc.2"
+version = "0.17.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f8519fc3d9d76d80d1f0236c2d1aa6b57ffbc0dbe0670d6439b79a2baf9f8dec"
+checksum = "1a52edd3d30ed94074f646ba1c9914e407af9abe5b6fb7a4322c855341a536cc"
dependencies = [
"bevy_app",
"bevy_ecs",
@@ -806,9 +806,9 @@ dependencies = [
[[package]]
name = "bevy_utils"
-version = "0.17.0-rc.2"
+version = "0.17.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3b0a08df94307630c54474c3766e6ac6641408c8d550e42ca6c528d4ab305b7b"
+checksum = "080254083c74d5f6eb0649d7cd6181bda277e8fe3c509ec68990a5d56ec23f24"
dependencies = [
"bevy_platform",
"disqualified",
@@ -850,18 +850,18 @@ checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43"
[[package]]
name = "bytemuck"
-version = "1.23.2"
+version = "1.24.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3995eaeebcdf32f91f980d360f78732ddc061097ab4e39991ae7a6ace9194677"
+checksum = "1fbdf580320f38b612e485521afda1ee26d10cc9884efaaa750d383e13e3c5f4"
dependencies = [
"bytemuck_derive",
]
[[package]]
name = "bytemuck_derive"
-version = "1.10.1"
+version = "1.10.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4f154e572231cb6ba2bd1176980827e3d5dc04cc183a75dea38109fbdd672d29"
+checksum = "f9abbd1bc6865053c427f7198e6af43bfdedc55ab791faed4fbd361d789575ff"
dependencies = [
"proc-macro2",
"quote",
@@ -897,9 +897,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.2.39"
+version = "1.2.40"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e1354349954c6fc9cb0deab020f27f783cf0b604e8bb754dc4658ecf0d29c35f"
+checksum = "e1d05d92f4b1fd76aad469d46cdd858ca761576082cd37df81416691e50199fb"
dependencies = [
"find-msvc-tools",
"shlex",
@@ -1162,9 +1162,9 @@ checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5"
[[package]]
name = "crypto-bigint"
-version = "0.7.0-rc.7"
+version = "0.7.0-rc.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e0bfcfbe68dec4e49b4e93da8f091ce39556549554905fcb07308f6eeefae46c"
+checksum = "4113edbc9f68c0a64d5b911f803eb245d04bb812680fd56776411f69c670f3e0"
dependencies = [
"num-traits",
"rand_core 0.9.3",
@@ -1264,9 +1264,9 @@ dependencies = [
[[package]]
name = "digest"
-version = "0.11.0-rc.2"
+version = "0.11.0-rc.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6749b668519cd7149ee3d11286a442a8a8bdc3a9d529605f579777bfccc5a4bc"
+checksum = "dac89f8a64533a9b0eaa73a68e424db0fb1fd6271c74cc0125336a05f090568d"
dependencies = [
"block-buffer 0.11.0-rc.5",
"const-oid",
@@ -1389,9 +1389,9 @@ checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
[[package]]
name = "find-msvc-tools"
-version = "0.1.2"
+version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1ced73b1dacfc750a6db6c0a0c3a3853c8b41997e2e2c563dc90804ae6867959"
+checksum = "0399f9d26e5191ce32c498bebd31e7a3ceabc2745f0ac54af3f335126c3f24b3"
[[package]]
name = "fixedbitset"
@@ -1655,7 +1655,7 @@ dependencies = [
"once_cell",
"rand 0.9.2",
"ring",
- "thiserror 2.0.16",
+ "thiserror 2.0.17",
"tinyvec",
"tokio",
"tracing",
@@ -1678,7 +1678,7 @@ dependencies = [
"rand 0.9.2",
"resolv-conf",
"smallvec",
- "thiserror 2.0.16",
+ "thiserror 2.0.17",
"tokio",
"tracing",
]
@@ -1725,9 +1725,9 @@ checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
[[package]]
name = "hybrid-array"
-version = "0.4.4"
+version = "0.4.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2bad028b20a90afcdb5e28a53392562f1db2bdfa238aa1a978b911461bfffb92"
+checksum = "f471e0a81b2f90ffc0cb2f951ae04da57de8baa46fa99112b062a5173a5088d0"
dependencies = [
"typenum",
]
@@ -2049,11 +2049,10 @@ checksum = "241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956"
[[package]]
name = "lock_api"
-version = "0.4.13"
+version = "0.4.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "96936507f153605bddfcda068dd804796c84324ed2510809e5b2a624c81da765"
+checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965"
dependencies = [
- "autocfg",
"scopeguard",
]
@@ -2293,9 +2292,9 @@ checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba"
[[package]]
name = "parking_lot"
-version = "0.12.4"
+version = "0.12.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "70d58bf43669b5795d1576d0641cfb6fbb2057bf629506267a92807158584a13"
+checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a"
dependencies = [
"lock_api",
"parking_lot_core",
@@ -2303,9 +2302,9 @@ dependencies = [
[[package]]
name = "parking_lot_core"
-version = "0.9.11"
+version = "0.9.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bc838d2a56b5b1a6c25f55575dfc605fabb63bb2365f6c2353ef9159aa69e4a5"
+checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1"
dependencies = [
"backtrace",
"cfg-if",
@@ -2313,8 +2312,7 @@ dependencies = [
"petgraph",
"redox_syscall",
"smallvec",
- "thread-id",
- "windows-targets 0.52.6",
+ "windows-link",
]
[[package]]
@@ -2484,7 +2482,7 @@ dependencies = [
"rustc-hash",
"rustls",
"socket2 0.6.0",
- "thiserror 2.0.16",
+ "thiserror 2.0.17",
"tokio",
"tracing",
"web-time",
@@ -2505,7 +2503,7 @@ dependencies = [
"rustls",
"rustls-pki-types",
"slab",
- "thiserror 2.0.16",
+ "thiserror 2.0.17",
"tinyvec",
"tracing",
"web-time",
@@ -2527,9 +2525,9 @@ dependencies = [
[[package]]
name = "quote"
-version = "1.0.40"
+version = "1.0.41"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
+checksum = "ce25767e7b499d1b604768e7cde645d14cc8584231ea6b295e9c9eb22c02e1d1"
dependencies = [
"proc-macro2",
]
@@ -2621,9 +2619,9 @@ dependencies = [
[[package]]
name = "redox_syscall"
-version = "0.5.17"
+version = "0.5.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5407465600fb0548f1442edf71dd20683c6ed326200ace4b1ef0763521bb3b77"
+checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d"
dependencies = [
"bitflags",
]
@@ -2717,14 +2715,14 @@ dependencies = [
[[package]]
name = "rsa"
-version = "0.10.0-rc.8"
+version = "0.10.0-rc.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fd8c26d4f6d0d2689c1cc822ac369edb64b4a090bc53141ae563bfa19c797300"
+checksum = "bf8955ab399f6426998fde6b76ae27233cce950705e758a6c17afd2f6d0e5d52"
dependencies = [
"const-oid",
"crypto-bigint",
"crypto-primes",
- "digest 0.11.0-rc.2",
+ "digest 0.11.0-rc.3",
"pkcs1",
"pkcs8",
"rand_core 0.9.3",
@@ -2793,9 +2791,9 @@ dependencies = [
[[package]]
name = "rustls-webpki"
-version = "0.103.6"
+version = "0.103.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8572f3c2cb9934231157b45499fc41e1f58c589fdfb81a844ba873265e80f8eb"
+checksum = "e10b3f4191e8a80e6b43eebabfac91e5dcecebb27a71f04e820c47ec41d314bf"
dependencies = [
"ring",
"rustls-pki-types",
@@ -2908,7 +2906,7 @@ checksum = "c5e046edf639aa2e7afb285589e5405de2ef7e61d4b0ac1e30256e3eab911af9"
dependencies = [
"cfg-if",
"cpufeatures",
- "digest 0.11.0-rc.2",
+ "digest 0.11.0-rc.3",
]
[[package]]
@@ -2919,7 +2917,7 @@ checksum = "d1e3878ab0f98e35b2df35fe53201d088299b41a6bb63e3e34dada2ac4abd924"
dependencies = [
"cfg-if",
"cpufeatures",
- "digest 0.11.0-rc.2",
+ "digest 0.11.0-rc.3",
]
[[package]]
@@ -2952,7 +2950,7 @@ version = "3.0.0-rc.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fc280a6ff65c79fbd6622f64d7127f32b85563bca8c53cd2e9141d6744a9056d"
dependencies = [
- "digest 0.11.0-rc.2",
+ "digest 0.11.0-rc.3",
"rand_core 0.9.3",
]
@@ -2977,7 +2975,7 @@ dependencies = [
"serde",
"simd_cesu8",
"simdnbt-derive",
- "thiserror 2.0.16",
+ "thiserror 2.0.17",
]
[[package]]
@@ -3068,7 +3066,7 @@ dependencies = [
"async-trait",
"bytes",
"percent-encoding",
- "thiserror 2.0.16",
+ "thiserror 2.0.17",
"tokio",
]
@@ -3157,11 +3155,11 @@ dependencies = [
[[package]]
name = "thiserror"
-version = "2.0.16"
+version = "2.0.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3467d614147380f2e4e374161426ff399c91084acd2363eaf549172b3d5e60c0"
+checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8"
dependencies = [
- "thiserror-impl 2.0.16",
+ "thiserror-impl 2.0.17",
]
[[package]]
@@ -3177,9 +3175,9 @@ dependencies = [
[[package]]
name = "thiserror-impl"
-version = "2.0.16"
+version = "2.0.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6c5e1be1c48b9172ee610da68fd9cd2770e7a4056cb3fc98710ee6906f0c7960"
+checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913"
dependencies = [
"proc-macro2",
"quote",
@@ -3187,16 +3185,6 @@ dependencies = [
]
[[package]]
-name = "thread-id"
-version = "4.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cfe8f25bbdd100db7e1d34acf7fd2dc59c4bf8f7483f505eaa7d4f12f76cc0ea"
-dependencies = [
- "libc",
- "winapi",
-]
-
-[[package]]
name = "thread_local"
version = "1.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -3467,9 +3455,9 @@ checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c"
[[package]]
name = "typenum"
-version = "1.18.0"
+version = "1.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f"
+checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb"
[[package]]
name = "unicode-ident"
@@ -3704,7 +3692,7 @@ dependencies = [
"js-sys",
"log",
"serde",
- "thiserror 2.0.16",
+ "thiserror 2.0.17",
"web-sys",
]
@@ -3715,37 +3703,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dd7cf3379ca1aac9eea11fba24fd7e315d621f8dfe35c8d7d2be8b793726e07d"
[[package]]
-name = "winapi"
-version = "0.3.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
-dependencies = [
- "winapi-i686-pc-windows-gnu",
- "winapi-x86_64-pc-windows-gnu",
-]
-
-[[package]]
-name = "winapi-i686-pc-windows-gnu"
-version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
-
-[[package]]
name = "winapi-util"
version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
dependencies = [
- "windows-sys 0.61.1",
+ "windows-sys 0.48.0",
]
[[package]]
-name = "winapi-x86_64-pc-windows-gnu"
-version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
-
-[[package]]
name = "windows-link"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -4080,9 +4046,9 @@ dependencies = [
[[package]]
name = "zeroize"
-version = "1.8.1"
+version = "1.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde"
+checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0"
[[package]]
name = "zerotrie"
diff --git a/Cargo.toml b/Cargo.toml
index ba1d148c..a54f1df5 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -34,11 +34,11 @@ anyhow = "1"
async-compat = "0.2"
async-recursion = "1"
base64 = "0.22"
-bevy_app = "0.17.0-rc.2"
-bevy_ecs = { version = "0.17.0-rc.2", default-features = false }
-bevy_log = "0.17.0-rc.2"
-bevy_tasks = "0.17.0-rc.2"
-bevy_time = "0.17.0-rc.2"
+bevy_app = "0.17.2"
+bevy_ecs = { version = "0.17.2", default-features = false }
+bevy_log = "0.17.2"
+bevy_tasks = "0.17.2"
+bevy_time = "0.17.2"
byteorder = "1"
cfb8 = "0.8"
chrono = { version = "0.4", default-features = false }
@@ -66,7 +66,7 @@ quote = "1"
rand = "0.9"
regex = "1"
reqwest = { version = "0.12", default-features = false }
-rsa = "0.10.0-rc.8"
+rsa = "0.10.0-rc.9"
signature = "=3.0.0-rc.4" # TODO: Remove when rsa is fixed.
rsa_public_encrypt_pkcs1 = "0.4"
rustc-hash = "2"
diff --git a/azalea-client/src/plugins/attack.rs b/azalea-client/src/plugins/attack.rs
index 26b5f34d..0e7cfeb8 100644
--- a/azalea-client/src/plugins/attack.rs
+++ b/azalea-client/src/plugins/attack.rs
@@ -3,7 +3,7 @@ use azalea_entity::{
Attributes, Crouching, Physics, indexing::EntityIdIndex, metadata::Sprinting,
update_bounding_box,
};
-use azalea_physics::PhysicsSet;
+use azalea_physics::PhysicsSystems;
use azalea_protocol::packets::game::s_interact::{self, ServerboundInteract};
use bevy_app::{App, Plugin, Update};
use bevy_ecs::prelude::*;
@@ -12,7 +12,7 @@ use tracing::warn;
use super::packet::game::SendGamePacketEvent;
use crate::{
- Client, interact::SwingArmEvent, local_player::LocalGameMode, movement::MoveEventsSet,
+ Client, interact::SwingArmEvent, local_player::LocalGameMode, movement::MoveEventsSystems,
respawn::perform_respawn,
};
@@ -24,14 +24,14 @@ impl Plugin for AttackPlugin {
Update,
handle_attack_event
.before(update_bounding_box)
- .before(MoveEventsSet)
+ .before(MoveEventsSystems)
.after(perform_respawn),
)
.add_systems(
GameTick,
(
increment_ticks_since_last_attack,
- update_attack_strength_scale.after(PhysicsSet),
+ update_attack_strength_scale.after(PhysicsSystems),
handle_attack_queued
.before(super::tick_end::game_tick_packet)
.after(super::movement::send_sprinting_if_needed)
diff --git a/azalea-client/src/plugins/chunks.rs b/azalea-client/src/plugins/chunks.rs
index 6d0877cd..317a36c5 100644
--- a/azalea-client/src/plugins/chunks.rs
+++ b/azalea-client/src/plugins/chunks.rs
@@ -17,7 +17,7 @@ use bevy_ecs::prelude::*;
use tracing::{error, trace};
use crate::{
- inventory::InventorySet, local_player::InstanceHolder, packet::game::SendGamePacketEvent,
+ inventory::InventorySystems, local_player::InstanceHolder, packet::game::SendGamePacketEvent,
respawn::perform_respawn,
};
@@ -32,7 +32,7 @@ impl Plugin for ChunksPlugin {
handle_chunk_batch_finished_event,
)
.chain()
- .before(InventorySet)
+ .before(InventorySystems)
.before(perform_respawn),
)
.add_message::<ReceiveChunkEvent>()
diff --git a/azalea-client/src/plugins/interact/mod.rs b/azalea-client/src/plugins/interact/mod.rs
index 27dba1d4..52862a38 100644
--- a/azalea-client/src/plugins/interact/mod.rs
+++ b/azalea-client/src/plugins/interact/mod.rs
@@ -19,7 +19,8 @@ use azalea_entity::{
};
use azalea_inventory::{ItemStack, ItemStackData, components};
use azalea_physics::{
- PhysicsSet, collision::entity_collisions::update_last_bounding_box, local_player::PhysicsState,
+ PhysicsSystems, collision::entity_collisions::update_last_bounding_box,
+ local_player::PhysicsState,
};
use azalea_protocol::packets::game::{
ServerboundInteract, ServerboundUseItem,
@@ -37,9 +38,9 @@ use crate::{
Client,
attack::handle_attack_event,
interact::pick::{HitResultComponent, update_hit_result_component},
- inventory::{Inventory, InventorySet},
+ inventory::{Inventory, InventorySystems},
local_player::{LocalGameMode, PermissionLevel},
- movement::MoveEventsSet,
+ movement::MoveEventsSystems,
packet::game::SendGamePacketEvent,
respawn::perform_respawn,
};
@@ -56,26 +57,29 @@ impl Plugin for InteractPlugin {
update_attributes_for_held_item,
update_attributes_for_gamemode,
)
- .in_set(UpdateAttributesSet)
+ .in_set(UpdateAttributesSystems)
.chain(),
handle_start_use_item_event,
update_hit_result_component
.after(clamp_look_direction)
.after(update_last_bounding_box),
)
- .after(InventorySet)
- .after(MoveEventsSet)
+ .after(InventorySystems)
+ .after(MoveEventsSystems)
.after(perform_respawn)
.after(handle_attack_event)
.chain(),
)
- .add_systems(GameTick, handle_start_use_item_queued.before(PhysicsSet))
+ .add_systems(
+ GameTick,
+ handle_start_use_item_queued.before(PhysicsSystems),
+ )
.add_observer(handle_swing_arm_trigger);
}
}
#[derive(SystemSet, Debug, Hash, PartialEq, Eq, Clone)]
-pub struct UpdateAttributesSet;
+pub struct UpdateAttributesSystems;
impl Client {
/// Right-click a block.
diff --git a/azalea-client/src/plugins/inventory.rs b/azalea-client/src/plugins/inventory.rs
index 72df7c89..3c57b3cc 100644
--- a/azalea-client/src/plugins/inventory.rs
+++ b/azalea-client/src/plugins/inventory.rs
@@ -32,7 +32,7 @@ impl Plugin for InventoryPlugin {
.add_systems(
Update,
handle_set_selected_hotbar_slot_event
- .in_set(InventorySet)
+ .in_set(InventorySystems)
.before(perform_respawn),
)
.add_systems(
@@ -48,7 +48,7 @@ impl Plugin for InventoryPlugin {
}
#[derive(SystemSet, Debug, Hash, PartialEq, Eq, Clone)]
-pub struct InventorySet;
+pub struct InventorySystems;
impl Client {
/// Return the menu that is currently open. If no menu is open, this will
diff --git a/azalea-client/src/plugins/loading.rs b/azalea-client/src/plugins/loading.rs
index 45735f3b..7ade9d9f 100644
--- a/azalea-client/src/plugins/loading.rs
+++ b/azalea-client/src/plugins/loading.rs
@@ -1,11 +1,11 @@
use azalea_core::tick::GameTick;
use azalea_entity::{HasClientLoaded, InLoadedChunk, LocalEntity, update_in_loaded_chunk};
-use azalea_physics::PhysicsSet;
+use azalea_physics::PhysicsSystems;
use azalea_protocol::packets::game::ServerboundPlayerLoaded;
use bevy_app::{App, Plugin};
use bevy_ecs::prelude::*;
-use crate::{mining::MiningSet, packet::game::SendGamePacketEvent};
+use crate::{mining::MiningSystems, packet::game::SendGamePacketEvent};
pub struct PlayerLoadedPlugin;
impl Plugin for PlayerLoadedPlugin {
@@ -15,8 +15,8 @@ impl Plugin for PlayerLoadedPlugin {
// vanilla runs this on gameMode.tick()
player_loaded_packet
.after(update_in_loaded_chunk)
- .before(PhysicsSet)
- .before(MiningSet)
+ .before(PhysicsSystems)
+ .before(MiningSystems)
.before(crate::movement::send_position),
);
}
diff --git a/azalea-client/src/plugins/mining.rs b/azalea-client/src/plugins/mining.rs
index 499ae71f..5fd0aa4a 100644
--- a/azalea-client/src/plugins/mining.rs
+++ b/azalea-client/src/plugins/mining.rs
@@ -2,7 +2,7 @@ use azalea_block::{BlockState, BlockTrait, fluid_state::FluidState};
use azalea_core::{direction::Direction, game_type::GameMode, position::BlockPos, tick::GameTick};
use azalea_entity::{FluidOnEyes, Physics, PlayerAbilities, Position, mining::get_mine_progress};
use azalea_inventory::ItemStack;
-use azalea_physics::{PhysicsSet, collision::BlockWithShape};
+use azalea_physics::{PhysicsSystems, collision::BlockWithShape};
use azalea_protocol::packets::game::s_player_action::{self, ServerboundPlayerAction};
use azalea_world::{InstanceContainer, InstanceName};
use bevy_app::{App, Plugin, Update};
@@ -16,9 +16,9 @@ use crate::{
BlockStatePredictionHandler, SwingArmEvent, can_use_game_master_blocks,
check_is_interaction_restricted, pick::HitResultComponent,
},
- inventory::{Inventory, InventorySet},
+ inventory::{Inventory, InventorySystems},
local_player::{InstanceHolder, LocalGameMode, PermissionLevel},
- movement::MoveEventsSet,
+ movement::MoveEventsSystems,
packet::game::SendGamePacketEvent,
};
@@ -39,10 +39,10 @@ impl Plugin for MiningPlugin {
continue_mining_block,
)
.chain()
- .before(PhysicsSet)
+ .before(PhysicsSystems)
.before(super::movement::send_position)
.before(super::interact::handle_start_use_item_queued)
- .in_set(MiningSet),
+ .in_set(MiningSystems),
)
.add_systems(
Update,
@@ -51,9 +51,9 @@ impl Plugin for MiningPlugin {
handle_stop_mining_block_event,
)
.chain()
- .in_set(MiningSet)
- .after(InventorySet)
- .after(MoveEventsSet)
+ .in_set(MiningSystems)
+ .after(InventorySystems)
+ .after(MoveEventsSystems)
.after(azalea_entity::update_fluid_on_eyes)
.after(crate::interact::pick::update_hit_result_component)
.after(crate::attack::handle_attack_event),
@@ -64,7 +64,7 @@ impl Plugin for MiningPlugin {
/// The Bevy system set for things related to mining.
#[derive(SystemSet, Debug, Hash, PartialEq, Eq, Clone)]
-pub struct MiningSet;
+pub struct MiningSystems;
impl Client {
pub fn start_mining(&self, position: BlockPos) {
diff --git a/azalea-client/src/plugins/movement.rs b/azalea-client/src/plugins/movement.rs
index 4559be20..2ee5c379 100644
--- a/azalea-client/src/plugins/movement.rs
+++ b/azalea-client/src/plugins/movement.rs
@@ -13,7 +13,7 @@ use azalea_entity::{
update_bounding_box,
};
use azalea_physics::{
- PhysicsSet, ai_step,
+ PhysicsSystems, ai_step,
collision::entity_collisions::{AabbQuery, CollidableEntityQuery, update_last_bounding_box},
local_player::{PhysicsState, SprintDirection, WalkDirection},
travel::{no_collision, travel},
@@ -72,7 +72,7 @@ impl Plugin for MovementPlugin {
Update,
(handle_sprint, handle_walk, handle_knockback)
.chain()
- .in_set(MoveEventsSet)
+ .in_set(MoveEventsSystems)
.after(update_bounding_box)
.after(update_last_bounding_box),
)
@@ -81,14 +81,14 @@ impl Plugin for MovementPlugin {
(
(tick_controls, local_player_ai_step, update_pose)
.chain()
- .in_set(PhysicsSet)
+ .in_set(PhysicsSystems)
.before(ai_step)
.before(azalea_physics::fluids::update_in_water_state_and_do_fluid_pushing),
send_player_input_packet,
send_sprinting_if_needed
.after(azalea_entity::update_in_loaded_chunk)
.after(travel),
- send_position.after(PhysicsSet),
+ send_position.after(PhysicsSystems),
)
.chain(),
);
@@ -96,7 +96,7 @@ impl Plugin for MovementPlugin {
}
#[derive(SystemSet, Debug, Hash, PartialEq, Eq, Clone)]
-pub struct MoveEventsSet;
+pub struct MoveEventsSystems;
impl Client {
/// Set whether we're jumping. This acts as if you held space in
diff --git a/azalea-client/src/plugins/tick_counter.rs b/azalea-client/src/plugins/tick_counter.rs
index dd65ca69..9d07991a 100644
--- a/azalea-client/src/plugins/tick_counter.rs
+++ b/azalea-client/src/plugins/tick_counter.rs
@@ -1,10 +1,10 @@
use azalea_core::tick::GameTick;
-use azalea_physics::PhysicsSet;
+use azalea_physics::PhysicsSystems;
use azalea_world::InstanceName;
use bevy_app::{App, Plugin};
use bevy_ecs::prelude::*;
-use crate::{mining::MiningSet, movement::send_position, tick_broadcast::send_tick_broadcast};
+use crate::{mining::MiningSystems, movement::send_position, tick_broadcast::send_tick_broadcast};
/// Counts the number of game ticks elapsed on the **local client** since the
/// `login` packet was received.
@@ -20,8 +20,8 @@ impl Plugin for TickCounterPlugin {
app.add_systems(
GameTick,
increment_counter
- .before(PhysicsSet)
- .before(MiningSet)
+ .before(PhysicsSystems)
+ .before(MiningSystems)
.before(send_position)
.before(send_tick_broadcast),
);
diff --git a/azalea-client/src/plugins/tick_end.rs b/azalea-client/src/plugins/tick_end.rs
index daa78454..15cd2e59 100644
--- a/azalea-client/src/plugins/tick_end.rs
+++ b/azalea-client/src/plugins/tick_end.rs
@@ -2,13 +2,13 @@
use azalea_core::tick::GameTick;
use azalea_entity::LocalEntity;
-use azalea_physics::PhysicsSet;
+use azalea_physics::PhysicsSystems;
use azalea_protocol::packets::game::ServerboundClientTickEnd;
use azalea_world::InstanceName;
use bevy_app::{App, Plugin};
use bevy_ecs::prelude::*;
-use crate::{mining::MiningSet, packet::game::SendGamePacketEvent};
+use crate::{mining::MiningSystems, packet::game::SendGamePacketEvent};
/// A plugin that makes clients send a [`ServerboundClientTickEnd`] packet every
/// tick.
@@ -19,8 +19,8 @@ impl Plugin for TickEndPlugin {
GameTick,
// this has to happen after every other event that might send packets
game_tick_packet
- .after(PhysicsSet)
- .after(MiningSet)
+ .after(PhysicsSystems)
+ .after(MiningSystems)
.after(crate::movement::send_position),
);
}
diff --git a/azalea-physics/src/lib.rs b/azalea-physics/src/lib.rs
index 19b58e5c..b49d734c 100644
--- a/azalea-physics/src/lib.rs
+++ b/azalea-physics/src/lib.rs
@@ -31,7 +31,7 @@ use crate::collision::{MoveCtx, entity_collisions::update_last_bounding_box};
/// A Bevy [`SystemSet`] for running physics that makes entities do things.
#[derive(SystemSet, Debug, Hash, PartialEq, Eq, Clone)]
-pub struct PhysicsSet;
+pub struct PhysicsSystems;
pub struct PhysicsPlugin;
impl Plugin for PhysicsPlugin {
@@ -47,7 +47,7 @@ impl Plugin for PhysicsPlugin {
apply_effects_from_blocks,
)
.chain()
- .in_set(PhysicsSet)
+ .in_set(PhysicsSystems)
.after(azalea_entity::update_in_loaded_chunk),
)
// we want this to happen after packets are handled but before physics
diff --git a/azalea/src/accept_resource_packs.rs b/azalea/src/accept_resource_packs.rs
index 6ca1b988..8641ce1e 100644
--- a/azalea/src/accept_resource_packs.rs
+++ b/azalea/src/accept_resource_packs.rs
@@ -2,7 +2,7 @@ use azalea_client::{
InConfigState,
chunks::handle_chunk_batch_finished_event,
client_information::send_client_information,
- inventory::InventorySet,
+ inventory::InventorySystems,
packet::{
config::SendConfigPacketEvent,
death_event_on_0_health,
@@ -30,7 +30,7 @@ impl Plugin for AcceptResourcePacksPlugin {
.before(perform_respawn)
.after(death_event_on_0_health)
.after(handle_chunk_batch_finished_event)
- .after(InventorySet)
+ .after(InventorySystems)
.after(send_client_information),
);
}
diff --git a/azalea/src/bot.rs b/azalea/src/bot.rs
index 5523b7b2..1897f510 100644
--- a/azalea/src/bot.rs
+++ b/azalea/src/bot.rs
@@ -12,7 +12,7 @@ use azalea_entity::{
Jumping, LocalEntity, LookDirection, Position, clamp_look_direction,
dimensions::EntityDimensions, metadata::Player, update_dimensions,
};
-use azalea_physics::PhysicsSet;
+use azalea_physics::PhysicsSystems;
use bevy_app::Update;
use bevy_ecs::prelude::*;
use futures_lite::Future;
@@ -51,7 +51,7 @@ impl Plugin for BotPlugin {
.add_systems(
GameTick,
stop_jumping
- .after(PhysicsSet)
+ .after(PhysicsSystems)
.after(azalea_client::movement::send_player_input_packet),
);
}
diff --git a/azalea/src/pathfinder/mod.rs b/azalea/src/pathfinder/mod.rs
index 9bac46df..54fd7a59 100644
--- a/azalea/src/pathfinder/mod.rs
+++ b/azalea/src/pathfinder/mod.rs
@@ -34,14 +34,14 @@ use std::{
use astar::{Edge, PathfinderTimeout};
use azalea_client::{
StartSprintEvent, StartWalkEvent,
- inventory::{Inventory, InventorySet, SetSelectedHotbarSlotEvent},
+ inventory::{Inventory, InventorySystems, SetSelectedHotbarSlotEvent},
local_player::InstanceHolder,
- mining::{Mining, MiningSet, StartMiningBlockEvent},
- movement::MoveEventsSet,
+ mining::{Mining, MiningSystems, StartMiningBlockEvent},
+ movement::MoveEventsSystems,
};
use azalea_core::{position::BlockPos, tick::GameTick};
use azalea_entity::{LocalEntity, Physics, Position, metadata::Player};
-use azalea_physics::PhysicsSet;
+use azalea_physics::PhysicsSystems;
use azalea_world::{InstanceContainer, InstanceName};
use bevy_app::{PreUpdate, Update};
use bevy_ecs::prelude::*;
@@ -95,9 +95,9 @@ impl Plugin for PathfinderPlugin {
recalculate_if_has_goal_but_no_path,
)
.chain()
- .after(PhysicsSet)
+ .after(PhysicsSystems)
.after(azalea_client::movement::send_position)
- .after(MiningSet),
+ .after(MiningSystems),
)
.add_systems(PreUpdate, add_default_pathfinder)
.add_systems(
@@ -110,8 +110,8 @@ impl Plugin for PathfinderPlugin {
handle_stop_pathfinding_event,
)
.chain()
- .before(MoveEventsSet)
- .before(InventorySet),
+ .before(MoveEventsSystems)
+ .before(InventorySystems),
);
}
}
@@ -529,8 +529,9 @@ pub fn path_found_listener(
mut commands: Commands,
) {
for event in events.read() {
- let Ok((mut pathfinder, executing_path, instance_name, inventory, custom_state)) = query
- .get_mut(event.entity) else {
+ let Ok((mut pathfinder, executing_path, instance_name, inventory, custom_state)) =
+ query.get_mut(event.entity)
+ else {
debug!("got path found event for an entity that can't pathfind");
continue;
};