JourneyMap Waypoint Radar
Represents a compact addition that transforms waypoints from JourneyMap into a full-fledged radar alert system.
Main Features
Radar for Mcheli Helicopters
When operating aircraft from the Mcheli modification equipped with radar detection functionality, the system automatically creates yellow map markers indicating the positions of other players also in corresponding vehicles.
Team members share radar data without additional configuration.
Each aircraft type has configurable range and stealth parameters through the configuration file (path: **/config/configjmradar.cfg).
Guided Missile Armament
Use the /radar shoot command to launch homing missiles at targets beyond normal visibility range. Missiles will automatically load chunks along their flight path but will cease movement upon loss of radar contact.
Note: This feature is under active development and may contain unidentified issues.
Programming Interface (API)
To connect third-party objects, use the ApiRadarEntity.instance.addRadar(id, range, radarRate, targetType, radarEntity, playerEntity, infoRange) function. Each radar must have a unique string identifier.
Target types: 0 = Players | 1 = Players on Mcheli vehicles | 2 = Mobs
Example implementation for custom NPCs:
var apiinstance = Java.type("onewhohears.minecraft.jmradar.api.ApiRadarEntity").instance;
var radar = apiinstance.getRadarById("testid");
if (radar == null) radar = apiinstance.addRadar("testid", 1000, 20, 1, npc.getMCEntity(), world.getPlayer("example_name").getMCEntity(), 10);
radar.addPlayer(world.getPlayer("example_name_2").getMCEntity());
Control Commands
/radar shoot <radar waypoint name> - launch missile at specified target
/clearpings - complete removal of all radar markers from the map
Required Components
Full operation requires the basic JourneyMap mod or its enhanced version Journey Map QOL, as well as the presence of the Mcheli modification with aircraft support.