This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
GamerNebulae's profile picture

OpenPeripheral Sensor detecting players in a certain range

Started by GamerNebulae, 23 June 2014 - 08:29 PM
GamerNebulae #1
Posted 23 June 2014 - 10:29 PM
Hello everyone!

I was wondering if you could tell the OpenPeripheral Sensor to check for players in a certain range to save energy that is going to be used by my AE system. If this is not possible, is there another way to do this?
AssossaGPB #2
Posted 23 June 2014 - 10:52 PM
Yes, the OpenPeripheral sensor has a range of about 10 blocks I think. With it you can tell what players are currently in that area and their coordinates. If you need to know what functions there are for it, you can call peripheral.getMethods(side).

Hope that helped and if it did, feel free to click that little green arrow :D/>