-
Notifications
You must be signed in to change notification settings - Fork 0
Behavior Profiles and Conditions
Rifa edited this page Aug 9, 2026
·
1 revision
| Component | Class |
|---|---|
| Profile Manager | net.dasik.social.api.profile.BehaviorProfileManager |
| Profile Interface | net.dasik.social.api.profile.BehaviorProfile |
| Condition Interface | net.dasik.social.api.profile.BehaviorCondition |
| Interface Marker | net.dasik.social.api.profile.ProfileAware |
BehaviorProfileManager enables mobs to switch dynamic AI profiles based on environment conditions (e.g. night time, low health, pack leadership, or weather).
[ LivingEntity Tick ]
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ BehaviorProfileManager โ โโโ Evaluate Conditions
โโโโโโโโโโฌโโโโโโโโโโโโโฌโโโโโโโโ
โ โ
โผ โผ
[ Night Profile ] [ Combat Profile ]
// Create a profile using DefaultProfileBuilder
BehaviorProfile netherProfile = new DefaultProfileBuilder("nether_hunter")
.priority(10)
.condition(BehaviorCondition.inDimension(Level.NETHER))
.goals(configurator -> configurator.add(2, new FollowLeaderGoal<>(mob, GroupParameters.DEFAULT_TERRESTRIAL, 16.0D)))
.build();
// Register profile on manager instance
BehaviorProfileManager manager = new BehaviorProfileManager();
manager.registerProfile(netherProfile);
Dasik Library | Social AI & Infrastructure Engine
Developed with โค๏ธ by Dasik (Rifaditya) | Licensed under LGPL-3.0
๐ Documentation reflects active repository source code state.
- Hive Mind Social System
- Social Scheduler & Events
- Animal Genetics Engine
- Genetics API & Pedigree
- Genetics Loot Modifiers
- Leader Follower & Flocking
- Dynamic GameRules Manager
- GameRule Codec & Serialization
- Client GameRule & GUI Helpers
- Dynamic Enchantments & Vision
- Stochastic & Math Utilities
- Stale Attribute Purging & Scale
- ModVersionGuard & Startup Safety
- Developer Setup & Building
- Architecture & Package Layout
- Mixin Reference & Hooks
- Behavior Profiles & Conditions
- Consumer Mods Integration Guide