Mod
Neutron
No reviews yet
Make all mobs neutral, configurable per-player and per-mob!
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
About
Project Details
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.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
Make mobs neutral to all players or specific players!
Most actions that make neutral mobs angry will still be in effect, such as staring at enderman and breaking beehives. However, not wearing gold armor for piglins and darkness for spiders will no longer anger them.
Neutral mode is disabled by default and must be activated with commands.
Commands
/neutron global- Check if neutral mode is enabled globally/neutron global <enable | disable>- Enable or disable neutral mode globally/neutron player <username>- Check if neutral mode is enabled for a player/neutron player <username> <enable | disable>- Enable or disable neutral mode for a player/neutron resetall- Reset player overrides in both modes
Configuration
The mod's config file can be found in config/neutron.json.
exceptions: List of the mobs which ignore neutralitypreventEndermanEyeContact: If enderman should ignore eye contact from neutron'd players, default isfalseexcludePatrollers: If actively patrolling mobs should be neutral even if their types are listed inexceptions, default istrue
By default, boss mobs and certain structure-exclusive mobs are not turned neutral. This is to retain the challenge of certain bosses, events, and structures.
Default non-neutral mobs
- Wither
- Evoker
- Vindicator
- Pillagers
- Ravager
- Vex
- Piglin Brute
- Blaze
- Wither Skeleton
- Guardian
- Elder Guardian
- Warden
- Breeze
- Shulker
- Endermite
Note: Ender Dragon behavior is not affected by this mod, as they do not use the normal targeting system and do not have a concept of being neutral.
API
ShouldBeNeutralCallback
Is triggered whenever a mob's neutrality towards a certain entity is checked.
register(callback: (entity: LivingEntity, target: LivingEntity) -> Boolean):entityis the mob which will or will not be neutral,targetis the entity which the mob will aggro on. Returningtruewill make the mob be neutral towards the target.registerPlayers(callback: (entity: LivingEntity, target: PlayerEntity) -> Boolean)Same asregisterbut only considers player targets
The mob will be neutral towards the target if any listener returns true.
Note: Command completion and result messages will be broken if not installed on the client, but otherwise everything will work fine if only installed on the server
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
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers