Skip to content

Commit be10d5f

Browse files
committed
25w03a
1 parent 4b8fde0 commit be10d5f

File tree

23 files changed

+1495
-971
lines changed

23 files changed

+1495
-971
lines changed

Cargo.lock

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ resolver = "2"
2222
# --- Workspace Settings ---
2323

2424
[workspace.package]
25-
version = "0.11.0+mc25w02a"
25+
version = "0.11.0+mc25w03a"
2626
edition = "2021"
2727
license = "MIT"
2828
repository = "https://github.com/azalea-rs/azalea"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ A collection of Rust crates for making Minecraft bots, clients, and tools.
1111

1212
<!-- The line below is automatically read and updated by the migrate script, so don't change it manually. -->
1313

14-
_Currently supported Minecraft version: `25w02a`._
14+
_Currently supported Minecraft version: `25w03a`._
1515

1616
> [!WARNING]
1717
> Azalea is still unfinished, though most crates are in a useable state

azalea-block/src/generated.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1718,6 +1718,12 @@ make_block_states! {
17181718
NorthUp,
17191719
SouthUp,
17201720
},
1721+
"test_block_mode" => TestBlockMode {
1722+
Start,
1723+
Log,
1724+
Fail,
1725+
Accept,
1726+
},
17211727
"level" => ComposterLevel {
17221728
_0,
17231729
_1,
@@ -4792,6 +4798,10 @@ make_block_states! {
47924798
jigsaw => BlockBehavior::new().requires_correct_tool_for_drops().strength(-1.0, 3600000.0), {
47934799
"orientation": Orientation::NorthUp,
47944800
},
4801+
test_block => BlockBehavior::new(), {
4802+
"test_block_mode": TestBlockMode::Start,
4803+
},
4804+
test_instance_block => BlockBehavior::new(), {},
47954805
composter => BlockBehavior::new().strength(0.6, 0.6), {
47964806
"level": ComposterLevel::_0,
47974807
},

azalea-client/src/packet_handling/game.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1566,6 +1566,7 @@ pub fn process_packet_events(ecs: &mut World) {
15661566
ClientboundGamePacket::RecipeBookAdd(_) => {}
15671567
ClientboundGamePacket::RecipeBookRemove(_) => {}
15681568
ClientboundGamePacket::RecipeBookSettings(_) => {}
1569+
ClientboundGamePacket::TestInstanceBlockStatus(_) => {}
15691570
}
15701571
}
15711572
}

azalea-core/src/position.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,18 @@ impl BlockPos {
392392
}
393393
}
394394

395+
/// Similar to [`BlockPos`] but it's serialized as 3 varints instead of one
396+
/// 64-bit integer, so it can represent a bigger range of numbers.
397+
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Hash, AzBuf)]
398+
pub struct Vec3i {
399+
#[var]
400+
pub x: i32,
401+
#[var]
402+
pub y: i32,
403+
#[var]
404+
pub z: i32,
405+
}
406+
395407
/// Chunk coordinates are used to represent where a chunk is in the world. You
396408
/// can convert the x and z to block coordinates by multiplying them by 16.
397409
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq)]

0 commit comments

Comments
 (0)