BetterMob - Modern, Improved, and Faster Updates
BetterMob 1.1.9
Big MythicMobs-compatibility update: many more pack lines now load without "unsupported" warnings, plus a large round of Folia stability fixes.
✨ New
Variables (MythicMobs names)
Mechanics:
setvar(withval,typeandduration),variablemath(safe arithmetic, no code execution),variablesubtract,variableunset/unsetvarConditions:
varequals/variableequals,variableisset,variableinrange(0.5to2,>3, ...),stringeqNew
target.variable scope and the placeholders<caster.var.x>,<skill.var.x>and<target.var.x>Conditions:
modelhaspassengers,ridingmodel,mountedMechanics:
mounttarget,dismountall,dismountallmodel;mountmodelalso acceptsp=for the seat
Display and rotation
setrotation{yaw;pitch;relative},setpitch,setgravity,scale,brightness,setdisplayentityitem- Placeholders
<caster.l.yaw>,<caster.l.pitch>,<caster.l.x/y/z>
Triggers
~onDespawn: when a mob is removed without dying~onMove:<ticks>: when the mob moved; no cost for mobs without it~onSignalwith thesignalmechanic- Addons can register their own triggers (
api.registerTrigger)
More conditions, mechanics and targeters
- Conditions:
crouching,day,gamemode,outside,holding,moving,playerwithin,fieldofview,score{o;v} - Targeter
@LivingInCone{a;r;rot;targetplayers}(@LIC) - Mechanics:
setname,giveitem,fakeexplosion,recoil; aliaseffect:particle
Mobs and tools
- Group alert and leader following for mob packs
- Kill conditions (
killedmob,killedmobs) and kill counts for quests /bettermob test <mob>: debug output only for you- Aggro lines and threat table debugging
/bettermob reloadreports what changed
🐛 Fixes
- Totem
~onHitalso fires for hits on its invisible body shootaims along the caster's view when the target stands on the caster's position- Collidable is restored when a mob is loaded again or copied
- AI goals are reapplied when a mob is replaced by a teleport copy
- The player goal is picked for the players target selector
- A mob trigger that is already running for the same mob is no longer started again (no recursion)
- Duplicate-definition warnings are logged once per id
🧵 Folia
About 30 fixes for thread safety across regions: damage and explosion sources, projectiles (flight, homing, scan), particles, spawners, cooldowns, auras, threat and retargeting, loot, delayed steps of dead mobs, and caster names in messages.
⚠️ Not supported yet
tint, lockmodel and meg:setitemmodel. Riders that the model plugin seats itself (not via mountmodel) are not known to @ModelPassengers.
Full list of mechanics and conditions: Wiki
Platforms
Dependencies
- BetterModel Optional
- ModelEngine Optional
- PlaceholderAPI Optional