All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Neutron

Neutron

by Unknown • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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

How to Install Neutron (Mod)

Neutron by Unknown is verified for Fabric, Quilt across Minecraft versions 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.21, 1.21.1 (latest release: 1.3.0+mc1.21.1, file size: 141 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.21, 1.21.1) and platform (Fabric, Quilt).
  2. Make sure you have the compatible loader or environment installed for Fabric, Quilt.
  3. Move the downloaded Neutron file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.21.x
Fabric Quilt
last yr. 1
1.20.x
Fabric Quilt
last yr. 1
1.20.x
Fabric Quilt
last yr. 1
1.20.x
Fabric Quilt
last yr. 1
1.20.x
Fabric Quilt
last yr. 1
1.20.x
Fabric Quilt
last yr. 1
1.20.x
Fabric Quilt
last yr. 1
1.20.x
Fabric Quilt
last yr. 1
1.20.x
Fabric Quilt
last yr. 1
1.20.x
Fabric Quilt
last yr. 1
1.20.x
Fabric Quilt
last yr. 1
  • Update to 1.21.1
  • Breeze are non-neutral in the default config

1.21.2+ might run but are not supported.
  • Fix command output messages
  • Make some exclusion checks more accurate for possible modded entities
  • Fix phantoms not attacking
  • Prevent endermen attacking Neutron'd players (disabled by default)
  • Make pillagers ignore neutron by default
  • Make patrolling illagers respect neutron (can be disabled)
  • Fix command output messages
  • Make some exclusion checks more accurate for possible modded entities
  • Fix phantoms not attacking
  • Prevent endermen attacking Neutron'd players (disabled by default)
  • Make pillagers ignore neutron by default
  • Make patrolling illagers respect neutron (can be disabled)
  • Add API for neutrality
  • Remove enderdragon modifications as they were not working as intended
  • Fix ghasts not attacking back
  • Add API for neutrality
  • Remove enderdragon modifications as they were not working as intended
  • Fix ghasts not attacking back
  • The mobs that are still hostile are now configurable
  • The mobs that are still hostile are now configurable
Require operator level 3 for /neutron
Require operator level 3 for /neutron
Initial mod release for 1.20.3-1.20.4
Initial mod release for 1.20.1-1.20.2
Neutron Icon
Download Neutron
Select game version
Select platform