Mod

[CMT] Custom Mob Targets

Quick rating

[CMT] Custom Mob Targets

No reviews yet

Easily make mobs attack other entities! Works with any entity from any mod!

Mod Loaders
Forge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

About

Project Details

Type
Mod
Latest Version
[1.12.2] Custom Mob Targets - 12.1.0

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Ever wanted to make Creepers attack your Farm Animals? Or make Zombies and Skeletons attack each other? Now you can!

This mod simply allows pack developers to let hostile mobs attack entities other then player or those hard-coded into the mod.

Any hostile entity can now be easily configured to attack any entity from any mod, with minimal performance impact!

To effectively utilize this mod, relationships must be defined in .json files in the "CustomMobTargets" config folder.
Important: Any files starting with a double underscore will be ignored, such as the example file. This mod does nothing without user added .json files.

Configuring a .json file for CMT is easy. Simply define an "entity" string key (mod:entity), and a "targets" JSON array. The "targets" array contains a list of JSON objects, for each entity target.
There is no limit on how many targets you can add, and there is no limit to how many .json files can be put in the "CustomMobTargets" folder.

"priority" responds to how important the AI task for attacking is.
"check_sight" handles sight checking. In other words, should the entity target another entity if there is no direct sight, through walls for example.

Here is an example template json file that makes creepers agressive towards sheep:

{

  "entity": "minecraft:creeper",

  "targets": [

    {

       "priority": 2,

       "check_sight": true,

       "entity": "minecraft:sheep"

    }

  ]

}

 
One extra note is the "/cmt" command.
You can quickly reload configs while the game is running by executing "/cmt reload"

Here is a demo video of how the mod works:

Permissions:

  • You can use this mod in your modpack.
  • You are not allowed to repost this mod to other sites without providing a CurseForge download link and my permission (376091478142746625 Zeitheron on Discord)
  • You are not allowed to include this (or any other mods of DragonForge team) in your own mod. Building addons, however, is allowed, but a friendly PM would be good.

Note:

  • The only supported version of minecraft is the latest one that this mod exists for. DO NOT ASK TO DOWNGRADE!

dev.png

Want to discuss anything? Need help with APIs?

Join the discord server and follow Zeitheron on Twitter!

If you would like to support my work, you can become a patron via  Patreon

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~3,000
Downloads
Last Updated
Created
Last synced
When ModDex last fetched and imported data for this project from CurseForge or Modrinth. High-traffic and active projects are checked more often.
Next pipeline sync