Back to mods
Neutron project artwork

Modrinth · Minecraft mod

Neutron

Make all mobs neutral, configurable per-player and per-mob!

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Neutron release matches 1.20.3?

Updated 1 year ago
Best match for your filters 1.3.0+mc1.20.3
Game version 1.20.3, 1.20.4
Loader Fabric, Quilt

Neutron 1.3.0+mc1.20.3 targets 1.20.3, 1.20.4 with Fabric, Quilt. Installation on the client is optional. Installation on the dedicated server is optional. All 2 required mods have matching files.

Where it goes

Is Neutron required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Fabric, Quilt
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does Neutron 1.3.0+mc1.20.3 need?

1.3.0+mc1.20.3 on 1.20.3. Every mod below is checked against that same setup.

All 2 required mods have matching files

Install Fabric Language Kotlin, Fabric API first. We found matching files for this game-version and loader setup.

Fabric Language Kotlin Needed by Neutron 1.3.0+mc1.20.3
required
Matching file found Matched file: 1.14.2+kotlin.2.4.21
Fabric API Needed by Neutron 1.3.0+mc1.20.3
required
Matching file found Matched file: [1.20.3] Fabric API 0.91.1+1.20.3

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Neutron without breaking your instance.

Built for Neutron 1.3.0+mc1.20.3 on 1.20.3. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.3.0+mc1.20.3. It targets 1.20.3, 1.20.4 with Fabric, Quilt; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric Language Kotlin, Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.3.0+mc1.20.3. It opens that exact file at the source.

About this project

What does Neutron add?

Make mobs neutral to all players or specific players!

fabric-api
fabric-language-api

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 neutrality
  • preventEndermanEyeContact: If enderman should ignore eye contact from neutron'd players, default is false
  • excludePatrollers: If actively patrolling mobs should be neutral even if their types are listed in exceptions, default is true

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): entity is the mob which will or will not be neutral, target is the entity which the mob will aggro on. Returning true will make the mob be neutral towards the target.
  • registerPlayers(callback: (entity: LivingEntity, target: PlayerEntity) -> Boolean) Same as register but 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

Project description from Modrinth.

Pick your setup

Neutron by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

12 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Neutron versions and loaders

5 of 11 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.