aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2023-03-30 18:18:13 +0000
committermat <github@matdoes.dev>2023-03-30 18:18:13 +0000
commit659c5fea1451c041e2dcf6d8dc3ab7bb8fd0d38c (patch)
tree76aa1717e06e12f932d1cf6e453c825d6ced8760 /azalea-protocol/src
parentac680d39f23f0fe004970fb9e48ca9a60437f607 (diff)
downloadazalea-drasl-659c5fea1451c041e2dcf6d8dc3ab7bb8fd0d38c.tar.xz
23w13a
Diffstat (limited to 'azalea-protocol/src')
-rwxr-xr-xazalea-protocol/src/packets/game/clientbound_open_sign_editor_packet.rs1
-rwxr-xr-xazalea-protocol/src/packets/game/serverbound_sign_update_packet.rs1
-rwxr-xr-xazalea-protocol/src/packets/mod.rs2
3 files changed, 3 insertions, 1 deletions
diff --git a/azalea-protocol/src/packets/game/clientbound_open_sign_editor_packet.rs b/azalea-protocol/src/packets/game/clientbound_open_sign_editor_packet.rs
index b317765e..c774b647 100755
--- a/azalea-protocol/src/packets/game/clientbound_open_sign_editor_packet.rs
+++ b/azalea-protocol/src/packets/game/clientbound_open_sign_editor_packet.rs
@@ -5,4 +5,5 @@ use azalea_protocol_macros::ClientboundGamePacket;
#[derive(Clone, Debug, McBuf, ClientboundGamePacket)]
pub struct ClientboundOpenSignEditorPacket {
pub pos: BlockPos,
+ pub is_front_text: bool,
}
diff --git a/azalea-protocol/src/packets/game/serverbound_sign_update_packet.rs b/azalea-protocol/src/packets/game/serverbound_sign_update_packet.rs
index afebfa72..82e4c2b8 100755
--- a/azalea-protocol/src/packets/game/serverbound_sign_update_packet.rs
+++ b/azalea-protocol/src/packets/game/serverbound_sign_update_packet.rs
@@ -5,5 +5,6 @@ use azalea_protocol_macros::ServerboundGamePacket;
#[derive(Clone, Debug, McBuf, ServerboundGamePacket)]
pub struct ServerboundSignUpdatePacket {
pub pos: BlockPos,
+ pub is_front_text: bool,
pub lines: [String; 4],
}
diff --git a/azalea-protocol/src/packets/mod.rs b/azalea-protocol/src/packets/mod.rs
index 2b8d917d..6c11139a 100755
--- a/azalea-protocol/src/packets/mod.rs
+++ b/azalea-protocol/src/packets/mod.rs
@@ -10,7 +10,7 @@ use std::io::{Cursor, Write};
// TODO: rename the packet files to just like clientbound_add_entity instead of
// clientbound_add_entity_packet
-pub const PROTOCOL_VERSION: u32 = 762;
+pub const PROTOCOL_VERSION: u32 = 1073741952;
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum ConnectionProtocol {