aboutsummaryrefslogtreecommitdiff
path: root/azalea-world/src/entity
diff options
context:
space:
mode:
authorUbuntu <github@matdoes.dev>2022-11-15 20:44:33 +0000
committerUbuntu <github@matdoes.dev>2022-11-15 20:44:33 +0000
commit709c5dbc19ffb8c47e001b1d5c14846ee69e7988 (patch)
tree09354cd9d5aaae42408a4cd5e7f7cc0cdfb9d4dd /azalea-world/src/entity
parent614c0df0537567c75f781df7affc091a4a466226 (diff)
downloadazalea-drasl-709c5dbc19ffb8c47e001b1d5c14846ee69e7988.tar.xz
add Client::metadata
Diffstat (limited to 'azalea-world/src/entity')
-rw-r--r--azalea-world/src/entity/metadata.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/azalea-world/src/entity/metadata.rs b/azalea-world/src/entity/metadata.rs
index a031ade2..a74635b3 100644
--- a/azalea-world/src/entity/metadata.rs
+++ b/azalea-world/src/entity/metadata.rs
@@ -6,6 +6,7 @@ use super::{EntityDataValue, Pose, Rotations, VillagerData};
use azalea_block::BlockState;
use azalea_chat::Component;
use azalea_core::{BlockPos, Direction, Particle, Slot};
+use enum_as_inner::EnumAsInner;
use std::{
collections::VecDeque,
ops::{Deref, DerefMut},
@@ -7908,7 +7909,7 @@ impl DerefMut for AbstractTameable {
}
}
-#[derive(Debug, Clone)]
+#[derive(Debug, Clone, EnumAsInner)]
pub enum EntityMetadata {
Allay(Allay),
AreaEffectCloud(AreaEffectCloud),