20.1.0
Compatibility
Changes
Changelog v20.1.0 — Full rewrite for Minecraft 1.20.1 (Forge 47+)
Ported and updated by me. Credit to Zeitheron for the original 1.12.2 mod.
New Features:
Melee attacks for passive mobs — give any mob a configurable melee attack with custom damage Ranged attacks for passive mobs — give any mob a ranged attack with 10 projectile types: arrow, spectral_arrow, small_fireball, large_fireball, snowball, egg, wither_skull, dragon_fireball, shulker_bullet, llama_spit Array format — define multiple mob configs in a single JSON file Active toggle — enable/disable individual entries with "active": true/false Auto-generated docs — the mod creates __examples.json and __README.txt on first run with full documentation Hot-reload command — /cmt reload applies config changes without restarting
Technical Changes:
Replaced ASM coremod with Forge event system (EntityJoinLevelEvent) — cleaner and more compatible No dependencies required (HammerCore dependency removed) Uses official Mojang mappings Server-side only
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:HaM5Rbgx:Tui7V0OP"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:HaM5Rbgx:Tui7V0OP"
}![[CMT] Custom Mob Targets (Muddy Port)](https://cdn.modrinth.com/data/HaM5Rbgx/da2eb6487ee72f5ef4b2afd0236da8a9ec7558cb_96.webp)

