Commit Graph

3173 Commits

Author SHA1 Message Date
sk89q
e5e5d8901a Added NoiseFilter and NoiseFilter2D masks. 2014-03-28 16:13:12 -07:00
sk89q
e7d5cc8603 Added Mask2D and AbstractMask2D. 2014-03-28 16:12:39 -07:00
sk89q
fd8ad9b988 Removed messages from EditSession not-null preconditions. 2014-03-28 00:41:00 -07:00
sk89q
f509a3128e Switched //faces and //walls to use visitors. 2014-03-28 00:40:04 -07:00
sk89q
6c1ff02df5 Add getFaces() and addWalls() to CuboidRegion. 2014-03-28 00:39:39 -07:00
sk89q
dd244bfe04 Add getFaces() and addWalls() to CuboidRegion. 2014-03-28 00:39:34 -07:00
sk89q
09ca5c3131 Cleaned up Javadocs for CuboidRegion; added preconditions. 2014-03-28 00:16:24 -07:00
sk89q
9cd164ae98 Removed mask support from BlockCount.
RegionMaskFilter handles it.
2014-03-27 21:11:02 -07:00
sk89q
a6e979ec6c Moved visitors to com.sk89q.worldedit.visitor. 2014-03-27 21:07:38 -07:00
sk89q
e022804c27 Changed //center to use visitors. 2014-03-27 21:04:07 -07:00
sk89q
570b4ebd93 Made CuboidRegions in EditSession clamp Y to world. 2014-03-27 20:57:20 -07:00
sk89q
d9ad0014f0 Made CuboidRegion(world, ...) constructor clamp to world. 2014-03-27 20:54:35 -07:00
sk89q
5cfc05c616 Converted /removenear, //replace to visitors. 2014-03-27 20:48:36 -07:00
sk89q
2311964b82 Added RegionMaskFilter to filter a RegionFunction. 2014-03-27 20:47:25 -07:00
sk89q
8c3912b5e7 Added FuzzyBlockMask(BaseBlock... block) constructor. 2014-03-27 20:47:01 -07:00
sk89q
b21f944570 Changed /remove[above|below], //set to use visitors. 2014-03-27 19:57:24 -07:00
sk89q
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
sk89q
dbb7b085f0 Changed //count, //fill, //fillr to use visitors. 2014-03-27 08:22:18 +01:00
sk89q
2562a2f577 Added OperationHelper.completeBlindly(). 2014-03-27 08:22:18 +01:00
sk89q
45c2868d4c Added various visitors (BFS, Downward, Recursive, Region). 2014-03-27 08:22:18 +01:00
sk89q
a7300cf9ef Aded BlockReplace, which replaces blocks with a pattern. 2014-03-27 08:22:18 +01:00
sk89q
79643790cc Added BlockCount, which counts the number of blocks matching a mask. 2014-03-27 08:22:17 +01:00
sk89q
c7fcbb299d Added FuzzyBlockMask, which uses BaseBlock.containsFuzzy. 2014-03-27 08:22:17 +01:00
sk89q
0cafe4abb8 Added BoundedYMask that requires that Y is in a range. 2014-03-27 08:22:17 +01:00
sk89q
52bbbb1797 Added CombinedMask(Mask ...mask) constructor. 2014-03-27 08:22:17 +01:00
sk89q
7c4a67d32b FlatRegionApplicator -> FlatRegionVisitor. 2014-03-27 08:22:17 +01:00
TomyLobo
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
TomyLobo
d18a20dafa Clarified some comments. 2014-03-27 08:21:06 +01:00
TomyLobo
6262fe35bd Fixed some javadocs. 2014-03-23 22:26:08 +01:00
sk89q
b3e03f59ac Don't grow pumpkin patches on non-grass blocks. 2014-03-01 16:57:14 -08:00
sk89q
c5fdfa7a0d Made GroundScatterFunction use a NoiseGenerator. 2014-03-01 16:52:36 -08:00
sk89q
d2e93dfe23 Added GardenPatchGenerator, GroundScatterFunction.
/pumpkins now uses the new classes.
2014-03-01 15:46:00 -08:00
sk89q
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
sk89q
0402faa839 Added GroundFindingFunction.shouldPassThrough(). 2014-03-01 14:08:17 -08:00
sk89q
31060e1e0c Moved FlatRegion cast code to FlatRegionApplicator's constructor. 2014-03-01 13:54:44 -08:00
sk89q
c87b1acbad Added FlatRegionApplicator for FlatRegionFunctions. 2014-03-01 12:37:18 -08:00
sk89q
504c7a5ff1 Have upperY and lowerY on GroundFindingFunction be set via mutators. 2014-03-01 12:03:10 -08:00
sk89q
6f116cd564 Added FloraPlacer FlatRegionFunction and //flora. 2014-03-01 10:41:32 -08:00
wizjany
5d13ed2356 Fixed a typo in CHANGELOG.txt 2014-03-01 12:33:44 -05:00
sk89q
bc711d9036 Implemented ForestGenerator that performs the "forestgen" or "//forest" commands. 2014-03-01 02:51:50 -08:00
sk89q
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
sk89q
086533e6bc Fixed incorrect arg shifting on //forest. 2014-03-01 02:51:50 -08:00
wizjany
b558463f56 [maven-release-plugin] prepare for next development iteration 2014-02-28 19:46:00 -05:00
wizjany
36d56b5e1a [maven-release-plugin] prepare release 5.6 2014-02-28 19:45:57 -05:00
sk89q
24b58edceb Updated changelog. 2014-02-28 16:32:43 -08:00
sk89q
7cf093ad40 Fixed pattern "X%Y" with no Y defined throwing an exception.
Fixes WORLDEDIT-2897.
2014-02-28 16:20:54 -08:00
sk89q
513940a80b Fixed /we help to always check the lowercase command name.
Fixes WORLDEDIT-2876.
2014-02-28 16:18:07 -08:00
sk89q
0e615e5bf7 Added //forest that generates a forest in a selection.
Fixes WORLDEDIT-2958.
2014-02-28 16:15:51 -08:00
sk89q
9627d830d7 Added CuboidRegion.makeCuboid(Region). 2014-02-28 16:15:14 -08:00
sk89q
6bfcaca6d3 Added EditSession.forestGen() that takes Iterable<Vector2D>. 2014-02-28 16:14:44 -08:00