Commit Graph

5969 Commits

Author SHA1 Message Date
6c1ff02df5 Add getFaces() and addWalls() to CuboidRegion. 2014-03-28 00:39:39 -07:00
dd244bfe04 Add getFaces() and addWalls() to CuboidRegion. 2014-03-28 00:39:34 -07:00
09ca5c3131 Cleaned up Javadocs for CuboidRegion; added preconditions. 2014-03-28 00:16:24 -07:00
9cd164ae98 Removed mask support from BlockCount.
RegionMaskFilter handles it.
2014-03-27 21:11:02 -07:00
a6e979ec6c Moved visitors to com.sk89q.worldedit.visitor. 2014-03-27 21:07:38 -07:00
e022804c27 Changed //center to use visitors. 2014-03-27 21:04:07 -07:00
570b4ebd93 Made CuboidRegions in EditSession clamp Y to world. 2014-03-27 20:57:20 -07:00
d9ad0014f0 Made CuboidRegion(world, ...) constructor clamp to world. 2014-03-27 20:54:35 -07:00
5cfc05c616 Converted /removenear, //replace to visitors. 2014-03-27 20:48:36 -07:00
2311964b82 Added RegionMaskFilter to filter a RegionFunction. 2014-03-27 20:47:25 -07:00
8c3912b5e7 Added FuzzyBlockMask(BaseBlock... block) constructor. 2014-03-27 20:47:01 -07:00
b21f944570 Changed /remove[above|below], //set to use visitors. 2014-03-27 19:57:24 -07:00
377182da5f Added Guava... for now.
We have to check to some serious breakage across the board before we can
release.
2014-03-27 19:56:39 -07:00
dbb7b085f0 Changed //count, //fill, //fillr to use visitors. 2014-03-27 08:22:18 +01:00
2562a2f577 Added OperationHelper.completeBlindly(). 2014-03-27 08:22:18 +01:00
45c2868d4c Added various visitors (BFS, Downward, Recursive, Region). 2014-03-27 08:22:18 +01:00
a7300cf9ef Aded BlockReplace, which replaces blocks with a pattern. 2014-03-27 08:22:18 +01:00
79643790cc Added BlockCount, which counts the number of blocks matching a mask. 2014-03-27 08:22:17 +01:00
c7fcbb299d Added FuzzyBlockMask, which uses BaseBlock.containsFuzzy. 2014-03-27 08:22:17 +01:00
0cafe4abb8 Added BoundedYMask that requires that Y is in a range. 2014-03-27 08:22:17 +01:00
52bbbb1797 Added CombinedMask(Mask ...mask) constructor. 2014-03-27 08:22:17 +01:00
7c4a67d32b FlatRegionApplicator -> FlatRegionVisitor. 2014-03-27 08:22:17 +01:00
8868aa94d3 The /butcher command no longer kills mobs with a name tag.
This behaviour can be overridden with the new -t flag.
The -f flag encompasses this flag.
2014-03-27 08:21:07 +01:00
d18a20dafa Clarified some comments. 2014-03-27 08:21:06 +01:00
6262fe35bd Fixed some javadocs. 2014-03-23 22:26:08 +01:00
b3e03f59ac Don't grow pumpkin patches on non-grass blocks. 2014-03-01 16:57:14 -08:00
c5fdfa7a0d Made GroundScatterFunction use a NoiseGenerator. 2014-03-01 16:52:36 -08:00
d2e93dfe23 Added GardenPatchGenerator, GroundScatterFunction.
/pumpkins now uses the new classes.
2014-03-01 15:46:00 -08:00
fb634ef95b Delegate flora creation to new FloraGenerator.
Sadly, no biome-specific flowers because the biome API in WorldEdit apparently needs some improvement.
2014-03-01 14:37:08 -08:00
0402faa839 Added GroundFindingFunction.shouldPassThrough(). 2014-03-01 14:08:17 -08:00
31060e1e0c Moved FlatRegion cast code to FlatRegionApplicator's constructor. 2014-03-01 13:54:44 -08:00
c87b1acbad Added FlatRegionApplicator for FlatRegionFunctions. 2014-03-01 12:37:18 -08:00
504c7a5ff1 Have upperY and lowerY on GroundFindingFunction be set via mutators. 2014-03-01 12:03:10 -08:00
6f116cd564 Added FloraPlacer FlatRegionFunction and //flora. 2014-03-01 10:41:32 -08:00
5d13ed2356 Fixed a typo in CHANGELOG.txt 2014-03-01 12:33:44 -05:00
bc711d9036 Implemented ForestGenerator that performs the "forestgen" or "//forest" commands. 2014-03-01 02:51:50 -08:00
c9d93d12a1 Added FlatRegionFunction and GroundFindingFunction.
FlatRegionFunction takes apply(Vector2D) and GroundFindingFunction is an implementation of FlatRegionFunction that searches for the first ground block.
2014-03-01 02:51:50 -08:00
086533e6bc Fixed incorrect arg shifting on //forest. 2014-03-01 02:51:50 -08:00
b558463f56 [maven-release-plugin] prepare for next development iteration 2014-02-28 19:46:00 -05:00
36d56b5e1a [maven-release-plugin] prepare release 5.6 2014-02-28 19:45:57 -05:00
24b58edceb Updated changelog. 2014-02-28 16:32:43 -08:00
7cf093ad40 Fixed pattern "X%Y" with no Y defined throwing an exception.
Fixes WORLDEDIT-2897.
2014-02-28 16:20:54 -08:00
513940a80b Fixed /we help to always check the lowercase command name.
Fixes WORLDEDIT-2876.
2014-02-28 16:18:07 -08:00
0e615e5bf7 Added //forest that generates a forest in a selection.
Fixes WORLDEDIT-2958.
2014-02-28 16:15:51 -08:00
9627d830d7 Added CuboidRegion.makeCuboid(Region). 2014-02-28 16:15:14 -08:00
6bfcaca6d3 Added EditSession.forestGen() that takes Iterable<Vector2D>. 2014-02-28 16:14:44 -08:00
2e2d432d11 Removed the /fill command as an alias of /material.
Fixes WORLDEDIT-3016.
2014-02-28 15:42:28 -08:00
15642ca54f Prepare for 5.6 release. 2014-02-28 15:38:26 -08:00
fae4bd3f21 Added <snapshotRepository> to pom.xml 2014-02-23 22:23:38 -08:00
be8bb784f8 Only enable CUI support when the message is valid.
Also the check if support isn't already enabled is not really needed, as it will just overwrite the field with the same value.
2014-02-01 08:30:40 -08:00