From 9a687f0ffebad80441e036aabe14e7cf80c774d3 Mon Sep 17 00:00:00 2001 From: mat Date: Tue, 10 Oct 2023 23:21:23 -0500 Subject: start adding mining to pathfinder --- azalea-entity/src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'azalea-entity/src/lib.rs') 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::*; -- cgit v1.2.3