diff options
Diffstat (limited to 'azalea-protocol/src/packets/game/c_add_entity.rs')
| -rwxr-xr-x | azalea-protocol/src/packets/game/c_add_entity.rs | 5 |
1 files changed, 3 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 cf0adeb7..67615fb9 100755 --- a/azalea-protocol/src/packets/game/c_add_entity.rs +++ b/azalea-protocol/src/packets/game/c_add_entity.rs @@ -2,13 +2,14 @@ use azalea_buf::AzBuf; use azalea_core::{position::Vec3, resource_location::ResourceLocation}; use azalea_entity::{metadata::apply_default_metadata, EntityBundle}; use azalea_protocol_macros::ClientboundGamePacket; +use azalea_world::MinecraftEntityId; use uuid::Uuid; #[derive(Clone, Debug, AzBuf, ClientboundGamePacket)] pub struct ClientboundAddEntity { - /// The id of the entity. + /// The numeric ID of the entity being added to the world. #[var] - pub id: u32, + pub id: MinecraftEntityId, pub uuid: Uuid, pub entity_type: azalea_registry::EntityKind, pub position: Vec3, |
