aboutsummaryrefslogtreecommitdiff
path: root/azalea-entity/src/metadata.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-10-07 06:01:19 +0400
committermat <git@matdoes.dev>2025-10-07 06:01:19 +0400
commit1cf6d92f1a8be954f6885704c31f317b99b05972 (patch)
treeab241a7b6fda815e777b914a8a9a153d23e81f06 /azalea-entity/src/metadata.rs
parent06807ec3ea7df6e83eed51b38f9d5e3bea9e7045 (diff)
downloadazalea-drasl-1cf6d92f1a8be954f6885704c31f317b99b05972.tar.xz
update ResolvableProfile data component to 1.21.9
Diffstat (limited to 'azalea-entity/src/metadata.rs')
-rw-r--r--azalea-entity/src/metadata.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/azalea-entity/src/metadata.rs b/azalea-entity/src/metadata.rs
index 56455bb7..68b8b78c 100644
--- a/azalea-entity/src/metadata.rs
+++ b/azalea-entity/src/metadata.rs
@@ -8,7 +8,7 @@ use azalea_core::{
direction::Direction,
position::{BlockPos, Vec3f32},
};
-use azalea_inventory::ItemStack;
+use azalea_inventory::{ItemStack, components};
use azalea_registry::DataRegistry;
use bevy_ecs::{bundle::Bundle, component::Component};
use derive_more::{Deref, DerefMut};
@@ -17,8 +17,7 @@ use uuid::Uuid;
use super::{
ArmadilloStateKind, CopperGolemStateKind, EntityDataItem, EntityDataValue, OptionalUnsignedInt,
- Pose, Quaternion, ResolvableProfile, Rotations, SnifferStateKind, VillagerData,
- WeatheringCopperStateKind,
+ Pose, Quaternion, Rotations, SnifferStateKind, VillagerData, WeatheringCopperStateKind,
};
use crate::particle::Particle;
@@ -6054,7 +6053,7 @@ pub struct MannequinPlayerMainHand(pub u8);
#[derive(Component, Deref, DerefMut, Clone, PartialEq)]
pub struct MannequinPlayerModeCustomisation(pub u8);
#[derive(Component, Deref, DerefMut, Clone, PartialEq)]
-pub struct Profile(pub ResolvableProfile);
+pub struct Profile(pub components::Profile);
#[derive(Component, Deref, DerefMut, Clone, PartialEq)]
pub struct Immovable(pub bool);
#[derive(Component, Deref, DerefMut, Clone, PartialEq)]