setpathfindingmalus mechanic is not working
Summary
setpathfindingmalus mechanic is not working, whether in mob config or skill config, even when moved to the main folder (outside of packs) it still shows the same error.
Steps to reproduce
Mythicmobs v5.10.0 & Paper-1.21.8-60
Mob config:
hbs_Mob1:
Type: IRON_GOLEM
Display: "Mob 1"
Variables:
faction: villager_companion # //customizable //default: villager_companion
Modules:
ImmunityTable: true
ThreatTable: true
Options:
AlwaysShowName: false
Despawn: FALSE
Silent: true
PreventOtherDrops: true
PreventRandomEquipment: true
PreventMobKillDrops: true
PreventVanillaDamage: true
KnockbackResistance: 0.25
FollowRange: 32
AIGoalSelectors:
- clear
- meleeAttack
- randomStroll
- lookAtTarget{s=0.9;r=16}
- randomLookAround
- lookAtPlayers{r=4}
- goToSpawn{mr=16;r=64}
- openDoor
- float
AITargetSelectors:
- clear
- attacker
- monsters
Skills:
- skill{skill=[
- gcd{ticks=60} @self
- setfaction{faction=<caster.var.faction>} @self
- setpathfindingmalus{malus=DAMAGE_CAUTIOUS;value=1} @self
- setpathfindingmalus{malus=DAMAGE_OTHER;value=1} @self
- setpathfindingmalus{malus=DANGER_OTHER;value=1} @self
]} @self ~onSpawnorload
- skill{skill=[
- model{m=test_model;usm=true;save=true;s=1;init=true} @self
- partvis{p=weapon;c=true;v=false} @self
- partvis{p=death_weapon;c=true;v=false} @self
- partvis{p=lantern;c=true;v=false} @self
- brightness{p=lantern_light;b=15;s=15} @self
- brightness{p=weapon_aura;b=15;s=15} @self
- bodyclamp{mh=70;mb=70;s=1;rde=20;rdu=10} @self
- defaultstate{li=3;t=IDLE;s=idle} @self
- defaultstate{li=3;t=WALK;s=walk} @self
- renderinit{delay=1} @self
]} @self ~onSpawn
Current behavior
setpathfindingmalus mechanic is considered as custom mechanic (null).
Server log file
Edited by Gyzei