Commit Graph

14 Commits

Author SHA1 Message Date
sk89q
24f8fbc92a Converted API over to use new World.
This breaks backwards compatibility for all getWorld() methods, but
shim methods were added for binary compatibility with method calls that
use LocalWorld.
2014-04-05 03:04:21 -07:00
sk89q
e0fd804f70 Standardized file headers. 2014-04-04 15:23:11 -07:00
sk89q
1fd1e7aaf8 Moved RegionSelectors and RegionIterators into subpackages. 2014-04-03 18:32:51 -07:00
sk89q
469cb8c8b3 (Breaking) Moved some packages around.
Most of the changes should not break *most* WorldEdit-using plugins,
but implementations of WorldEdit are broken by this change.
2014-04-02 19:20:12 -07:00
TomyLobo
22798f49c8 Reduced some code duplication in the regions. 2013-08-06 11:50:34 -04:00
TomyLobo
c838ef7b25 Moved the polygonization code to the specific regions that are being polygonized.
Also, maxPoints no longer has confusing semantics.
2013-08-06 11:50:33 -04:00
aumgn
da400ffdeb Remove deprecated Region#contract/expand(Vector) methods
Those methods hid varargs versions which are not deprecated
2012-11-12 10:36:44 +01:00
aumgn
7fd5d1b61c Add /center commmand 2012-08-29 11:51:57 +02:00
aumgn
842c469285 Make regions Cloneable 2012-03-31 09:04:54 -07:00
aumgn
8506bb437e Deprecate expand/contract(Vector) in favor of varargs versions
This keeps things simpler by not dealing with redundant implementations
for single change and multiple changes.
This also let regions handle related changes in a more efficient way
(for example recalculates region components only when needed).
2012-03-15 08:31:39 +01:00
TomyLobo
8aa65fd7f4 License block changes
Added some missing license blocks
Added "and contributors" to all copyright notices.
Added $Id$ to files that were still missing it.
Changed "All rights reserved" to GPLv3 on Injector.java.
2012-01-20 08:24:32 +01:00
TomyLobo
ef3aeda0dc Added vararg expand and contract overload to Region and AbstractRegion. 2012-01-05 21:06:40 +01:00
TomyLobo
3a828c9759 Added Region.shift
- Provided a default implementation using expand+contract in AbstractRegion
- Overrid the implementation in the subtypes
2012-01-03 17:40:36 +01:00
TomyLobo
4d708a5003 Extracted an AbstractRegion class with some common functionality of all the region types. 2012-01-03 16:35:19 +01:00