forked from minetest-mods/mesecons
.github
.test
.test_fixtures
mesecons
mesecons_alias
mesecons_blinkyplant
mesecons_button
mesecons_commandblock
mesecons_delayer
mesecons_detector
doc
nodedetector
description.html
preview.png
recipe.png
objectdetector
locale
textures
init.lua
mod.conf
mesecons_extrawires
mesecons_fpga
mesecons_gamecompat
mesecons_gates
mesecons_hydroturbine
mesecons_insulated
mesecons_lamp
mesecons_lightstone
mesecons_luacontroller
mesecons_materials
mesecons_microcontroller
mesecons_movestones
mesecons_mvps
mesecons_noteblock
mesecons_pistons
mesecons_powerplant
mesecons_pressureplates
mesecons_random
mesecons_receiver
mesecons_solarpanel
mesecons_stickyblocks
mesecons_switch
mesecons_torch
mesecons_walllever
mesecons_wires
.gitignore
.luacheckrc
COPYING.txt
LICENSE.txt
README.md
bower.json
documentation.json
modpack.conf
screenshot.png
settingtypes.txt
12 lines
876 B
HTML
12 lines
876 B
HTML
The node detector is a receptor. It changes its state when either any node
|
|
or a specific node is detected. Right-click it to set a nodename to scan for.
|
|
It can also receive digiline signals. For example, you can send
|
|
<code>{distance=4, scanname="default:dirt"}</code>
|
|
to set distance to 4 and scan for dirt. You can omit either parameter.
|
|
There is also a command parameter: <code>{command="get"}</code> will respond
|
|
with the detected nodename and <code>{command="scan"}</code> will respond with
|
|
a boolean using the distance and nodename of the detector.
|
|
Nodenames must include the mod they reside in, so for instance default:dirt, not just dirt.
|
|
The distance parameter specifies how many blocks are between the node detector and the node to detect.
|
|
Automatic scanning with Mesecons output only works when the detector is in an active block, but Digilines queries always work.
|