@@ -3,19 +3,26 @@ use crate::dungeon::items::ability::{Ability, ActiveAbility, Cooldown};
33use crate :: dungeon:: items:: dungeon_items:: DungeonItem ;
44use crate :: dungeon:: room:: room:: Room ;
55use chrono:: Local ;
6- use glam:: IVec3 ;
6+ #[ cfg( feature = "dungeon_breaker" ) ]
7+ use glam:: { dvec3, IVec3 } ;
78use indoc:: { formatdoc, indoc} ;
9+ #[ cfg( feature = "dungeon_breaker" ) ]
10+ use server:: block:: blocks:: Blocks ;
811use server:: constants:: PotionEffect ;
912use server:: inventory:: item:: get_item_stack;
1013use server:: inventory:: item_stack:: ItemStack ;
1114use server:: network:: protocol:: play:: clientbound:: { AddEffect , BlockChange , Chat } ;
1215use server:: network:: protocol:: play:: serverbound:: PlayerDiggingAction ;
1316use server:: player:: packet_handling:: BlockInteractResult ;
1417use server:: player:: sidebar:: Sidebar ;
18+ #[ cfg( feature = "dungeon_breaker" ) ]
19+ use server:: types:: aabb:: AABB ;
1520use server:: types:: chat_component:: ChatComponent ;
1621use server:: types:: direction:: Direction ;
1722use server:: { Player , PlayerExtension , World } ;
1823use std:: cell:: { Cell , RefCell } ;
24+ #[ cfg( feature = "dungeon_breaker" ) ]
25+ use std:: cmp:: min;
1926use std:: collections:: HashMap ;
2027use std:: rc:: Rc ;
2128use std:: time:: { SystemTime , UNIX_EPOCH } ;
0 commit comments