24,485 ARTICLES
ON THIS WIKI

Sensor

(Redirected from Sensor (OpenPeripheral Addons))

Sensor
Sensor

Name Sensor
Source Mod OpenPeripheral
ID Name Unknown
Type Block
Stackable Yes (64)
Solid Yes
Transparent No
Affected by Gravity No
Emits Light No
Flammable No
Required Tool Any tool

The Sensor is a block added by OpenPeripherals.

Methods[edit]

Return type Method Description
Table sonicScan() Get a table of information about the surrounding area. Includes whether each block is UNKNOWN, AIR, LIQUID or SOLID
Table getAdvancedMethodsData() Get a complete table of information about all available methods
Table getPlayerByUUID(String uuid) Get full details of a particular player if they're in range
Table getMinecartIDs() Get the ids of all the minecarts in range
Table getMinecartData(Number minecartId) Get full details of a particular minecart if it's in range
Table getPlayerByName(String username) Get full details of a particular player if they're in range
Table listSources() List all method sources
Table getPlayerNames() Get the usernames of all players in range
String listMethods() List all the methods available
Table getMobIds() Get the ids of all the mobs in range
Table getMobData(Number mobId) Get full details of a particular mob if it's in range