HomeJavaModsPassivePhantoms
PassivePhantoms
ModsJava

PassivePhantoms

by MightyFinger77 · on Modrinth

A Minecraft Bukkit/Spigot plugin that makes phantoms spawn natrually in the end (no overworld spawn) & are passive until they are attacked by a player.

⬇ Download on Modrinth

PassivePhantoms

A Minecraft Bukkit/Spigot plugin that makes phantoms spawn naturally in the end & are passive until they are attacked by a player. Features a per-chunk mobcap system to prevent infinite spawning and movement improvements to help prevent phantoms from getting hung up on chorus fruit trees.

Note: Movement improvements are experimental and phantoms may still get hung up on chorus trees.

How It Works

  1. Natural Spawning: With custom spawn control, End spawns are enabled by default; Overworld is off unless allow_overworld_spawning is true
  2. Passive Behavior: New phantoms are completely passive and won't target players
  3. Provocation: When a player attacks a phantom (melee or projectile), it becomes "angry" and can attack back
  4. Projectile Aggression: Phantoms also become aggressive when hit by arrows, tridents, snowballs, or other projectiles
  5. Immediate Response: Angry phantoms immediately target and attack the player who hit them
  6. Persistent Anger: Once a phantom is angry, it remains aggressive, retaining vanilla behaviors
  7. Mobcap Protection: Maximum of 8 phantoms per chunk prevents infinite spawning and ensures fair distribution
  8. Movement Improvements: Automatic stuck detection and escape assistance prevents phantoms from getting trapped in chorus fruit trees

Installation

  1. Download: Get the latest JAR file from the releases (v1.3.0-Dev2a)
  2. Install: Place PassivePhantoms-1.3.0-Dev2a.jar in your server's plugins/ folder
  3. (Recommended): If updating from an older version, delete the entire PassivePhantoms config folder and let the plugin generate a new one on next server start. This ensures you get all new config options and avoid legacy issues.
  4. Restart: Restart your server
  5. Verify: Check the console for "PassivePhantoms plugin enabled!" message

Configuration

The plugin generates a config.yml file on first run with the following options:

Commands

Permissions

Mobcap System

The plugin implements a per-chunk mobcap system to prevent infinite phantom spawning:

Building from Source

Prerequisites

Steps

  1. Clone this repository
  2. Run: mvn clean package
  3. Find the compiled JAR in the target/ folder

Compatibility

Troubleshooting

Phantoms not spawning in the end

Phantoms not attacking after being hit:

Plugin not loading:

Projectiles not making phantoms aggressive:

Too many phantoms spawning:

Config issues after updating:

Phantoms getting stuck in chorus fruit trees:

License

This project is open source. Feel free to modify and distribute as needed.

Support

If you encounter any issues or have questions, please create an issue on the GitHub repository.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more