Описание
**Beacon Anti-Phantom | Minecraft Server Mod**
*Prevent Phantoms, Illuminate Protection*
### **Introduction**
A lightweight server-side mod for Minecraft 1.21 that creates **phantom-free zones** around activated beacons! Using dynamic particle effects and smart detection, it blocks phantom spawns within configurable radii while adding immersive visual feedback. No client mod required—just peace of mind.
### **Core Features**
🔹 **Phantom Bane System**
- **Full Prevention**: Stop phantom spawns entirely within beacon-protected areas.
- **Tiered Radii** (configurable via `config/beacon_anti_phantom.json`):
- Lv1 (Redstone): 20 blocks
- Lv2 (Gold): 30 blocks
- Lv3 (Diamond): 40 blocks
- Lv4 (Netherite): 50 blocks
- **3D Protection**: Covers all vertical layers in a circular radius.
- **Phantom Clearing**: Phantoms within the range will be captured by the beacon and eliminated by emitted rays, with no loot dropped.
🎇 **Visual Indicators**
- Real-time particle rings match beacon tiers:
- 🔴 Lv1: Redstone-breaking particles
- 🟡 Lv2: Gold-breaking particles
- 💎 Lv3: Diamond-breaking particles
- ⚫ Lv4: Netherite-breaking particles
- No client mod needed—particles render automatically for all players.
⚙️ **Smart Mechanics**
- Auto-detects active beacons every 5 seconds.
- Optimized performance: Low CPU/GPU impact, even on large servers.
### **Technical Details**
📦 **Compatibility**
- Minecraft: 1.21
- Loaders: NeoForge 21.0.37-beta / Fabric 0.100.1+
- Server-side required; clients see effects without mods.
⚙️ **Configuration**
- Customize radii in `config/beacon_anti_phantom.json`:
```json
{ "beaconRadius": { "level_1": 20, "level_2": 30, "level_3": 40, "level_4": 50 } }
```
- Changes take effect after server restart.
### **How to Use**
1. **Build a Beacon**: Craft a standard Minecraft beacon pyramid.
2. **Activate**: Select any beacon effect (no need for specific powers).
3. **Protect**: Phantoms vanish within the particle-ring radius.
4. **Expand**: Stack beacons for overlapping protection zones.
### **Install**
1. Install NeoForge/Fabric for Minecraft 1.21.
2. Drop the mod JAR into the `mods` folder.
3. Start your server—no client setup required!
### **Support & Credits**
- **Issues**: Report on [GitHub](https://gitee.com/god_xiyu/beacon_anti_phantom).
- **License**: All rights reserved. No redistribution without permission.
- **Thanks**: Minecraft modding community + MultiLoader Template.
*Enjoy uninterrupted nights—let beacons guard your world!* 🏙️🌙
*"A simple solution to an annoying problem—finally, phantoms don’t stand a chance."*
— Mai_Xiyu, Mod Developer
*Version: 1.0.0 | Last Updated: 2025-07-17*
*Perfect for survival, RPG, and vanilla+ servers!*