extended pirsensor

Details

  • Filename
    pirsensordev.jar
  • Uploaded by
  • Uploaded
    Feb 5, 2012
  • Size
    5.60 KB
  • Downloads
    528
  • MD5
    8bbbf240360856ba70562300b2f3fee0

Supported Bukkit Versions

  • CB 1.0.1-R1

Changelog

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