steel_core/entity/ai/goal/
mod.rs1mod avoid_entity;
4mod breath_air;
5mod breed_goal;
6mod climb_on_top_of_powder_snow;
7mod door_interact;
8mod eat_block_goal;
9mod flee_sun;
10mod float_goal;
11mod follow_mob;
12mod follow_parent;
13mod hurt_by_target;
14mod interact;
15mod leap_at_target;
16mod look_at_player;
17mod melee_attack;
18mod move_to_block;
19mod move_towards_restriction;
20mod move_towards_target;
21mod nearest_attackable_target;
22mod open_door;
23mod panic_goal;
24mod random_look_around;
25mod random_pos;
26mod random_stroll;
27mod random_swimming;
28mod restrict_sun;
29mod selector;
30mod target_goal;
31mod tempt_goal;
32mod try_find_water;
33mod water_avoiding_random_stroll;
34
35pub(crate) use breed_goal::BreedGoal;
36pub(crate) use climb_on_top_of_powder_snow::ClimbOnTopOfPowderSnowGoal;
37pub(crate) use eat_block_goal::EatBlockGoal;
38pub(crate) use float_goal::FloatGoal;
39pub(crate) use follow_parent::FollowParentGoal;
40pub(crate) use hurt_by_target::HurtByTargetGoal;
41pub(crate) use look_at_player::LookAtPlayerGoal;
42pub(crate) use melee_attack::MeleeAttackGoal;
43pub(crate) use nearest_attackable_target::NearestAttackableTargetGoal;
44pub(crate) use panic_goal::PanicGoal;
45pub(crate) use random_look_around::RandomLookAroundGoal;
46pub(crate) use selector::{GoalControl, GoalSelector};
47pub(crate) use tempt_goal::TemptGoal;
48pub(crate) use water_avoiding_random_stroll::WaterAvoidingRandomStrollGoal;
49
50pub(super) const fn reduced_tick_delay(ticks: i32) -> i32 {
51 (ticks + 1) / 2
52}