SpoutDev/SpoutAPI — pull request #267 by bergerkiller (2012-07-01 23:39:49+00:00)
Title: Added BlockFaces and Effectrange translate functions

Signed-off-by: Irmo van den Berge

By default, Effect ranges will create a new iterator and tries to create a list range from that. If another implementation has a more efficient way (cuboid for example), it will override this and use their own.

I was not sure if the ListEffectRange override was needed, because the iterator essentially iterates over the list as well. But for the sake of obviousness I kept it in there.

BlockFaces.append is added to make it easier to construct your own algorithmic constants.