diff options
Diffstat (limited to 'azalea-world/src')
| -rwxr-xr-x | azalea-world/src/entity/data.rs | 2 | ||||
| -rw-r--r-- | azalea-world/src/entity/metadata.rs | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/azalea-world/src/entity/data.rs b/azalea-world/src/entity/data.rs index 664efe1c..c761a786 100755 --- a/azalea-world/src/entity/data.rs +++ b/azalea-world/src/entity/data.rs @@ -70,7 +70,7 @@ pub enum EntityDataValue { BlockState(azalea_block::BlockState), /// If this is air, that means it's absent, OptionalBlockState(azalea_block::BlockState), - CompoundTag(azalea_nbt::Tag), + CompoundTag(azalea_nbt::Nbt), Particle(Particle), VillagerData(VillagerData), // 0 for absent; 1 + actual value otherwise. Used for entity IDs. diff --git a/azalea-world/src/entity/metadata.rs b/azalea-world/src/entity/metadata.rs index 0b1dedd3..f7b19744 100644 --- a/azalea-world/src/entity/metadata.rs +++ b/azalea-world/src/entity/metadata.rs @@ -6023,9 +6023,9 @@ pub struct PlayerModeCustomisation(pub u8); #[derive(Component, Deref, DerefMut, Clone)] pub struct PlayerMainHand(pub u8); #[derive(Component, Deref, DerefMut, Clone)] -pub struct ShoulderLeft(pub azalea_nbt::Tag); +pub struct ShoulderLeft(pub azalea_nbt::Nbt); #[derive(Component, Deref, DerefMut, Clone)] -pub struct ShoulderRight(pub azalea_nbt::Tag); +pub struct ShoulderRight(pub azalea_nbt::Nbt); #[derive(Component)] pub struct Player; impl Player { @@ -6106,8 +6106,8 @@ impl Default for PlayerMetadataBundle { score: Score(0), player_mode_customisation: PlayerModeCustomisation(0), player_main_hand: PlayerMainHand(1), - shoulder_left: ShoulderLeft(azalea_nbt::Tag::Compound(Default::default())), - shoulder_right: ShoulderRight(azalea_nbt::Tag::Compound(Default::default())), + shoulder_left: ShoulderLeft(azalea_nbt::Nbt::Compound(Default::default())), + shoulder_right: ShoulderRight(azalea_nbt::Nbt::Compound(Default::default())), } } } |
