diff options
Diffstat (limited to 'azalea-entity/src/lib.rs')
| -rw-r--r-- | azalea-entity/src/lib.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/azalea-entity/src/lib.rs b/azalea-entity/src/lib.rs index 45213fc1..9b673945 100644 --- a/azalea-entity/src/lib.rs +++ b/azalea-entity/src/lib.rs @@ -366,6 +366,12 @@ pub struct LocalEntity; #[derive(Component, Clone, Debug, PartialEq, Deref, DerefMut)] pub struct FluidOnEyes(azalea_registry::Fluid); +impl FluidOnEyes { + pub fn new(fluid: azalea_registry::Fluid) -> Self { + Self(fluid) + } +} + // #[cfg(test)] // mod tests { // use super::*; |
