Links
Tags
Creators
Details
1.1.9
Compatibility
Changes
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/unsetvar -
Conditions:
varequals/variableequals,variableisset,variableinrange(0.5to2,>3, ...),stringeq -
New
target.variable scope and the placeholders<caster.var.x>,<skill.var.x>and<target.var.x> -
Conditions:
modelhaspassengers,ridingmodel,mounted -
Mechanics:
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
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:Ub5HeGCV:lDfLpT6Z"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:Ub5HeGCV:lDfLpT6Z"
}

