promotional bannermobile promotional banner

Arrow Detector

An arrow-detecting circuit for use with the RedstoneChips plugin by eisental.
Back to Files

extended pirsensor

File namepirsensordev.jar
Uploaded
Feb 6, 2012
Downloads
650
Size
5.6 KB
File ID
572405
Type
A
Alpha
Supported game versions
  • CB 1.0.1-R1

What's new

Extends the PIR sensor class to detect anything that derives from the "Entity" class. Check the API documentation for a list.

Use in the same manner as the Arrow Detector and other circuits by creating a sign with the text "devsensor" on the first line. Anywhere else on the sign, you may specify the following optional arguments:

  • Radius - an integer specifying the detection radius
  • Entities - the exact name of an entity class that will be checked for
  • 'cube' - the sensor will detect entities in a cubic radius rather than a spherical radius

If no optional text is specified, the sensor defaults to checking LivingEntities in a 10 block spherical radius. Some valid examples:

devsensor
cube 50
Creeper

devsensor
3 Player

devsensor
Cow Pig 20
cube NPC

This mod has no additional files