Bug Closed · Resolved

[Bug] - Move Towards Target Conditional - doesn't do anything

#10034 opened by ChronoKeeper 1 week ago

ChronoKeeperreported this bug

The Move Towards Target Conditional doesn't seem to do anything, i specify the condition to move towards a player as it is explained on the wiki: https://wiki.mythiccraft.io/mythicmobs/Mobs/ai/goals/MoveTowardsTargetConditional The 1:1 example provided there doesn't work, the mob doesn't follow any player thats near within the specified range. I tried changing the AITargets as well to include or exclude players, but that doesn't do anything, the goal simply doesn't work.

ChronoKeepercommented

test_goal: Type: HUSK Display: 'Bot' Health: 40 Damage: 1 Modules: ThreatTable: true DamageModifiers: - SUFFOCATION 0 - FALL 0 AIGoalSelectors: - 0 clear - 1 MoveTowardsTargetConditional{s=2;maxrange=6;targetConditions=[ - isPlayer true ]} AITargetSelectors: - 0 clear - 1 player Options: NoDamageTicks: 10 MovementSpeed: 0.45 FollowRange: 80 KnockbackResistance: 1 AlwaysShowName: true Silent: true Despawn: CHUNK Invincible: false PreventSunburn: true PreventBlockInfection: true PreventOtherDrops: true PreventRandomEquipment: true PreventJockeyMounts: true MaxCombatDistance: 32

Sign in to join the discussion.