Skip to content
Matthew Bates edited this page May 24, 2013 · 3 revisions

getTargets()
returns a map of targets that have an inventory, relative to the position of the sensor. The sensor is at position “0,0,0”.

getTargetDetails(x)
returns a map representing the slots in an inventory

1 table
2 table 
3 table
4 table
5 table
...
table consists of:
"Name" String (if "Name" is "Empty" the slot is Empty)
"Size" int
"Damagevalue" int
Clone this wiki locally