Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 161
    • Issues 161
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #1950

Closed
Open
Created Jun 17, 2025 by PeakPartyGames@PeakPartyGames

[BUG] Villagers Wander With Cleared AI

Villagers are wandering the map with cleared AI. The intended behavior is to stay put unless attacked or being chased by monsters. I am unable to use Profession in the options, so I have used the disguise setting instead. Profession is not functional either. It looks like they are running around trying to find a profession.

Villager:

PickaxeMerchant:
  Template: Merchant_Base
  Display: '&aPickaxe Merchant'
  Disguise: Villager setProfession TOOLSMITH setBiome PLAINS setCustomName "&2&l✦ &aPickaxe Merchant"
  Skills:
  - command{command="redacted"} @trigger ~onInteract

Merchant Base

Merchant_Base:
  Type: VILLAGER
  Faction: TheEmeraldEmpire
  Health: 50
  Damage: 2
  Level: 1
  Options:
    AlwaysShowName: true
    HealOnReload: true
    Interactable: true
    Despawn: persistent
  AIGoalSelectors:
  - clear
  - fleeFaction{f=Pillagers}
  - fleeFaction{f=Hostiles}
  - fleeFaction{f=HostileToGuards}
  - goToSpawnLocation{max=5;min=1;dt=true}
  - lookAtPlayers{range=5}
  - lookAround
  AITargetSelectors:
  - clear
  DisplayOptions:
    Billboard: CENTER
  Nameplate:
    Enabled: false
  Skills:
  - command{c=lp user <target.name> permission settemp faction.hostiletoguards true 30s} ~onDamaged 
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking