sk89q/craftbook — pull request #129 by Silthus (2012-07-23 20:45:00+00:00)
Title: MC1210 (Bridge) - Detection IC Bugfix - New LocationUtil and RelativeOffset Methods

Changes:

+Detection ICs now detect Players correctly using the relative Offset like in Falsebook. Optionally you can use an "!" in front of the coordinates to use a coordinate based offset.
*Created LocationUtil and moved getGreatestDistance and getSurroundingChunks there. Also created the getRelativeOffsetBlock methods.
*Huge improvement of the getSurrounding Chunks Method.
*Added SET-DOOR IC as MC1210 and moved the ParticleEffect to MC1299 and MC0299 to make conversion from Falsebook a lot more painless.

SET-P-Bridge will follow tomorrow ;)

Just sending you a pull so the code is up to date and we dont work on the same problems ;)