aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_add_entity.rs
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2025-09-30 10:56:34 -0500
committerGitHub <noreply@github.com>2025-09-30 10:56:34 -0500
commit643fcb98c0e6cdc63218dd39960d9053b209d9a6 (patch)
tree6bddb7fe39b8fcc3ab3fb2665574533bb227898a /azalea-protocol/src/packets/game/c_add_entity.rs
parenta80d8d1b242430c4a251876fa67bfd26af7a0de9 (diff)
downloadazalea-drasl-643fcb98c0e6cdc63218dd39960d9053b209d9a6.tar.xz
1.21.9 (#235)
* start updating to 25w33a * 1.21.9-pre2 * clippy * cleanup, and fix c_explode and c_player_rotation * mc update should be in Changed section in the changelog * 1.21.9
Diffstat (limited to 'azalea-protocol/src/packets/game/c_add_entity.rs')
-rw-r--r--azalea-protocol/src/packets/game/c_add_entity.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-protocol/src/packets/game/c_add_entity.rs b/azalea-protocol/src/packets/game/c_add_entity.rs
index e71499c5..7fb680a1 100644
--- a/azalea-protocol/src/packets/game/c_add_entity.rs
+++ b/azalea-protocol/src/packets/game/c_add_entity.rs
@@ -1,5 +1,5 @@
use azalea_buf::AzBuf;
-use azalea_core::{delta::PositionDelta8, position::Vec3, resource_location::ResourceLocation};
+use azalea_core::{delta::LpVec3, position::Vec3, resource_location::ResourceLocation};
use azalea_entity::{EntityBundle, metadata::apply_default_metadata};
use azalea_protocol_macros::ClientboundGamePacket;
use azalea_world::MinecraftEntityId;
@@ -13,6 +13,7 @@ pub struct ClientboundAddEntity {
pub uuid: Uuid,
pub entity_type: azalea_registry::EntityKind,
pub position: Vec3,
+ pub movement: LpVec3,
pub x_rot: i8,
pub y_rot: i8,
pub y_head_rot: i8,
@@ -26,7 +27,6 @@ pub struct ClientboundAddEntity {
/// for more information about this field.
#[var]
pub data: u32,
- pub velocity: PositionDelta8,
}
impl ClientboundAddEntity {