![[SBW]Drone Detector](https://cdn.modrinth.com/data/jDFPK38K/54bb61f8cdce43ebcdb00319c4e88912aecfdf3c_96.webp)
[SBW]Drone Detector
A lightweight Forge 1.20.1 mod that turns a handheld (or inventory) detector into a minimal HUD listing nearby UAVs with names and approximate distance, beeping only for the closest, with server-controlled range and custom sound.
Über diese Mod
DetectorUAV — UAV proximity detector for Forge 1.20.1
A lightweight client-friendly mod that adds a handheld UAV detector with a minimal HUD (bottom-right), a custom beep, and server-controlled scan range. Works even from the inventory when switched ON, lists nearby drones with their current names (updates when Superb Warfare renames a linked drone) and shows an approximate distance. The beep triggers only for the closest UAV.
✨ Features
Item-based detector (toggle ON/OFF via right-click; state saved in NBT).
HUD in the bottom-right corner: compact bar + list (up to 5) with name and ≈distance (doesn’t clutter the UI).
Beep only for the nearest UAV; pitch/interval scale with distance.
Works from inventory: if the detector item is ON anywhere in your inventory, tracking & HUD work.
Superb Warfare support: reads the display name each tick, so when SBW renames a linked drone, the HUD shows the updated name automatically.
Server-controlled radius (authoritative): synced to clients on join and when reloaded.
Client-only customization: volume, pitch range, beep period, HUD list size.
Custom sound (drone_detector:detector_beep) with subtitles.
Extensible target list via a data tag.
📦 Requirements
Minecraft: 1.20.1
Forge: 47.2.x
(Optional) Superb Warfare (for UAV entities to detect)
🔧 Installation
Put the mod on both client and server (for MP).
Launch once to generate configs.
(Optional) Add/adjust UAV entity types via the tag (see below).
⚙️ Configuration
Server (authoritative gameplay settings)
serverconfig/drone_detector-server.toml
[detector]
Scan radius in meters
range = 64.0
Client (HUD & audio only)
config/drone_detector-client.toml
[audio]
onlyNearestBeep = true
beepMinPeriod = 6
beepMaxPeriod = 40
beepVolume = 0.8
beepPitchMinFar = 0.7
beepPitchMaxNear = 1.8
[hud]
enabled = true
listCount = 5
(HUD is bottom-right by design to keep UI clean)
🔊 Custom beep sound
The mod registers drone_detector:detector_beep.
File layout
assets/drone_detector/sounds.json
assets/drone_detector/sounds/detector_beep.ogg
assets/drone_detector/lang/en_us.json
assets/drone_detector/lang/ru_ru.json
sounds.json
{
"detector_beep": {
"subtitle": "subtitles.drone_detector.detector_beep",
"sounds": [{ "name": "drone_detector:detector_beep", "stream": false }]
}
}
Want to swap the beep without rebuilding? Use a resource pack overriding the same path.
🎯 What counts as a UAV
By default the mod targets Superb Warfare drones and anything in the entity type tag below. Extend it with datapacks to include your own entities:
data/drone_detector/tags/entity_types/drone_targets.json
{
"replace": false,
"values": [
"sbw:fpv_drone",
"sbw:swarm_drone",
"superbwarfare:fpv_drone"
]
}
🕹️ How to use
Craft/spawn the UAV Detector item.
Right-click to toggle ON/OFF.
Keep it in hand or anywhere in inventory (if ON) to activate HUD + beeps.
Approach drones: the bar fills as you get closer; the list shows current names and ≈distance.
🤝 Multiplayer & Sync
The server sets the scan radius; clients receive it on login and after server config reloads.
Clients control only HUD & audio.
🗺️ Localization
en_us, ru_ru included (subtitles & item strings).
🧩 Compatibility
Designed for Forge 1.20.1.
Works alongside Superb Warfare; recognizes linked drone name changes automatically.
🐞 Known Issues / Notes
If your custom UAV type isn’t detected, add its entity type to the drone_targets tag.
Excessively large server radius may slightly increase client scanning costs (default is safe)
📣 Credits & License
Author: Liko
Mod ID: drone_detector
License: Apache 2.0
🧭 Roadmap
Optional HUD position offset in config (keeping minimal footprint).
Per-entity icons in the list (tiny 16×16).
Keybind to temporarily mute beeps.
📝 Issue Reporting
Please include: MC version, Forge version, list of mods, logs, and steps to reproduce.
Reuploading this project is prohibited!
Опубликовывать проект на иных сайтах запрещено!
Verfügbare Versionen
[SBW]Drone Detector auf dem Server installieren
Server bestellen
Bestelle einen Minecraft Java Server mit mindestens 3 GB RAM (4 GB empfohlen).
forge Loader setzen
Wähle im Panel unter "Egg" den forge-Loader und die passende Minecraft-Version (1.20.1).
Mod installieren
Öffne den Mod-Browser im Dashboard und suche nach "[SBW]Drone Detector". Klicke "Installieren" – fertig! Alternativ: Lade die .jar via SFTP in den /mods Ordner.
Kompatibilität
Mod-Loader
Minecraft-Versionen
1.20.1
Server-seitig
✓ ErforderlichEmpfohlener RAM
4 GB(min. 3 GB)Häufige Fragen
[SBW]Drone Detector Server crasht beim Start – was tun?
Häufigste Ursache: falsche forge-Version oder zu wenig RAM. Prüfe im Server-Log (latest.log), ob ein "OutOfMemoryError" oder "Mixin"-Fehler auftritt. Bei Mado Hosting: Stelle sicher, dass mindestens 3 GB RAM zugewiesen sind und der Loader zur Mod-Version passt (1.20.1). Über das Panel kannst du den Loader mit einem Klick wechseln.
Ist [SBW]Drone Detector mit forge kompatibel?
[SBW]Drone Detector unterstützt offiziell forge für Minecraft 1.20.1. Im Mado Dashboard werden inkompatible Loader-Kombinationen automatisch erkannt.
Server laggt mit [SBW]Drone Detector – wie optimiere ich die Performance?
Empfohlener RAM: 4 GB (+1 GB pro 8 Spieler). Prüfe mit /spark profiler, ob [SBW]Drone Detector den meisten Tick-Time verbraucht. Häufige Fixes: Server-View-Distance auf 8-10 reduzieren, bei Forge "performant" oder "starlight" als Zusatz-Mod installieren. Bei Mado Hosting läuft dein Server auf NVMe-SSDs mit dedizierten CPU-Kernen für minimale Latenz.
Ähnliche Mods
Modded Server mieten
Installiere [SBW]Drone Detector mit nur einem Klick auf deinem Server.