Skip to content

Commit

Permalink
update ClientboundLevelParticles
Browse files Browse the repository at this point in the history
  • Loading branch information
mat-1 committed Nov 28, 2024
2 parents a2a941f + 08958c2 commit 6db2204
Show file tree
Hide file tree
Showing 492 changed files with 6,970 additions and 7,175 deletions.
83 changes: 38 additions & 45 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ minecraft_folder_path = "0.1.2"
nohash-hasher = "0.2.0"
num-bigint = "0.4.6"
num-traits = "0.2.19"
once_cell = "1.20.2"
parking_lot = "0.12.3"
priority-queue = "2.1.1"
proc-macro2 = "1.0.92"
Expand Down
4 changes: 1 addition & 3 deletions azalea-auth/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ edition = "2021"
license = "MIT"
name = "azalea-auth"
repository = "https://github.com/azalea-rs/azalea/tree/main/azalea-auth"
version = "0.10.3+mc1.21.1"
version = "0.10.3+mc1.21.4-pre3"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand All @@ -14,8 +14,6 @@ azalea-crypto = { path = "../azalea-crypto", version = "0.10.0" }
base64 = { workspace = true }
chrono = { workspace = true, features = ["serde"] }
md-5 = { workspace = true }
#num-bigint = { workspace = true }
once_cell = { workspace = true }
reqwest = { workspace = true, features = ["json", "rustls-tls"] }
rsa = { workspace = true }
serde = { workspace = true, features = ["derive"] }
Expand Down
6 changes: 3 additions & 3 deletions azalea-auth/src/game_profile.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
use std::collections::HashMap;

use azalea_buf::McBuf;
use azalea_buf::AzBuf;
use serde::{Deserialize, Serialize};
use uuid::Uuid;

#[derive(McBuf, Debug, Clone, Default, Eq, PartialEq)]
#[derive(AzBuf, Debug, Clone, Default, Eq, PartialEq)]
pub struct GameProfile {
/// The UUID of the player.
pub uuid: Uuid,
Expand Down Expand Up @@ -43,7 +43,7 @@ impl From<SerializableGameProfile> for GameProfile {
}
}

#[derive(McBuf, Debug, Clone, Eq, PartialEq)]
#[derive(AzBuf, Debug, Clone, Eq, PartialEq)]
pub struct ProfilePropertyValue {
pub value: String,
pub signature: Option<String>,
Expand Down
5 changes: 3 additions & 2 deletions azalea-auth/src/sessionserver.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
//! Tell Mojang you're joining a multiplayer server.
use once_cell::sync::Lazy;
use std::sync::LazyLock;

use reqwest::StatusCode;
use serde::Deserialize;
use serde_json::json;
Expand Down Expand Up @@ -49,7 +50,7 @@ pub struct ForbiddenError {
pub path: String,
}

static REQWEST_CLIENT: Lazy<reqwest::Client> = Lazy::new(reqwest::Client::new);
static REQWEST_CLIENT: LazyLock<reqwest::Client> = LazyLock::new(reqwest::Client::new);

/// Tell Mojang's servers that you are going to join a multiplayer server,
/// which is required to join online-mode servers. The server ID is an empty
Expand Down
Loading

0 comments on commit 6db2204

Please sign in to comment.