Sensors
MCM sensors are used to detect minecarts that meet certain conditions and locally or wirelessly trigger redstone circuits.
Input sign
To create a detector (input) sign, place a sign facing the rail with the following lines:
- sensor: type
- name
Where type is any of the following
type | Description |
---|---|
0000 | All minecart |
0001 | Has passenger |
0002 | No passeneger |
0003 | Has mob passenger |
0004 | Has animal passenger |
0005 | Has player passenger |
0006 | Is storage minecart |
0007 | Is powered minecart |
0008 | Detect All items specified by name* |
0009 | Has player passenger named name |
0010 | Has zombie passenger |
0011 | Has skeleton passenger |
0012 | Has creeper passenger |
0013 | Has pig passenger |
0014 | Has sheep passenger |
0015 | Has cow passenger |
0016 | Has chicken passenger |
0017 | Detect Any Items specified by name* |
0018 | Has zombiepigman passenger |
0019 | Has destination station set to name* |
0020 | Detect Passenger is holding item name |
- * See item-handling for how to specify items.
Place a redstone diode behind the sign and left click the sign. This diode can now be used directly to power redstone.
Wireless output
Make another sign identical to the input sign at any other location in the world. Place a redstone diode behind this sign as well.
Left click both signs to activate the sensors and link them. When a minecart passes by the input sign that meets the condition, both the input and output diodes will provide power