
PassivePhantoms
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.
172
1
Список изменений
Added
- Per-chunk mobcap system: Prevents infinite phantom spawning with a limit of 8 phantoms per chunk
- Configurable mobcap: New
phantom_settings.max_phantoms_per_chunksetting allows server admins to adjust the per-chunk limit - Mobcap monitoring: Enhanced
/passivephantoms statuscommand shows phantom populations per world - Chunk-based spawning: Phantoms now spawn based on chunk limits rather than world-wide limits
- Better distribution: Prevents single players from hogging all phantoms in a world
- Debug logging: Shows chunk coordinates and mobcap status in debug messages. Enable
debug_logging: trueto see when chunk mobcaps are reached.
Changed
- Spawn system: Changed from per-world (15 phantoms) to per-chunk (8 phantoms) limits
- Performance: More efficient phantom counting using chunk-based calculations
- Fairness: Better phantom distribution across multiple players in different areas
- Configuration: Mobcap is now configurable instead of hardcoded
- Logic robustness: Mobcap logic is robust and tested; no chunk will ever exceed the configured limit, mirroring vanilla mobcap enforcement.
Technical Details
- Uses chunk coordinates (
blockX >> 4,blockZ >> 4) for efficient counting - Each chunk can independently have up to the configured limit (default: 8 phantoms)
- Multiple chunks can each reach their limit, allowing higher total phantom populations
- Maintains compatibility with multiple End worlds
- Configurable mobcap supports values from 5 (conservative) to 15+ (generous)
- Mobcap enforcement is logged when debug_logging is enabled
Файлы
PassivePhantoms-1.2.5b2.jar(12.47 KiB)
ОсновнойМетаданные
Канал релиза
Beta
Номер версии
1.2.5b2
Загрузчики
PaperPurpurSpigot
Версии игры
1.13–1.21
Загрузок
11
Дата публикации
9 мес. назад
