Detector -------- * This block is only available if digilines and/or mesecons are loaded. Detects items or entities within a given radius. Also acts as a digilines conductor. Only the owner can dig or access the form of the locked version. UI Channel - digilines channel of detector. Radius - block distance from detector to detect. Entities - if checked detects entities. Players - if checked detects players. Drops - if checked detects drops. Nodes - if checked detects nodes. mode: All - detects to radius in all directions, including diagonal. Forward - detects to radius directly in front of the detector (one block high). Up - detects to radius directly above the detector (one block wide). Down - detects to radius directly below the detector (one block wide). Mesecons Mesecons power is turned on when something is detected, and turned off when nothing is detected. Digilines messages "start" Start the detector. "stop" Stop the detector. "radius " Set radius of the detector. should be a number from 1 to 5, and is trimmed to this range. "entities " Set detection of entities on or off. "players " Set detection of players on or off. "drops " Set detection of drops on or off. "nodes " Set detection of nodes on or off. "mode all" "mode forward" "mode up" "mode down" Set the detector's mode. When items or entities are detected a digilines message is sent with the detector's channel. A message is sent for each found item/entity. The message is a table with the following keys: { action = "detect", detected = table } The detected field is a list of detected items. Each entry is of the form: { type = "", -- will be "entity", "player", "drop" or "node" name = "", label = "