Commit Graph

216 Commits

Author SHA1 Message Date
sk89q
f48040572e Fixed LayerVisitor constructors in RegionCommands. 2014-03-30 13:50:07 -07:00
sk89q
dd3f32b8f1 Moved HeightMap to math.convolution. 2014-03-30 12:15:39 -07:00
sk89q
b07fd594e9 Moved interpolation, filtering packages to math. 2014-03-30 12:13:45 -07:00
sk89q
9113cd4bd3 Added new Mask interface and deprecated old one. 2014-03-30 02:56:15 -07:00
sk89q
e657fd5be9 Moved noise classes to worldedit.math.* package. 2014-03-29 21:08:03 -07:00
sk89q
3c5c257a41 Changed ground seeking operations to LayerVisitor. 2014-03-29 18:51:33 -07:00
sk89q
c804aeb03e Make FlatRegionVisitor take FlatRegions only. 2014-03-29 18:34:34 -07:00
sk89q
53730bfa20 Moved packages to worldedit.function.*. 2014-03-28 16:15:40 -07:00
sk89q
60b839ed09 Changed how ground finding operations were implemented. 2014-03-28 16:13:27 -07:00
sk89q
a6e979ec6c Moved visitors to com.sk89q.worldedit.visitor. 2014-03-27 21:07:38 -07:00
sk89q
dbb7b085f0 Changed //count, //fill, //fillr to use visitors. 2014-03-27 08:22:18 +01:00
sk89q
7c4a67d32b FlatRegionApplicator -> FlatRegionVisitor. 2014-03-27 08:22:17 +01:00
TomyLobo
d18a20dafa Clarified some comments. 2014-03-27 08:21:06 +01: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
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
sk89q
086533e6bc Fixed incorrect arg shifting on //forest. 2014-03-01 02:51:50 -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
2e2d432d11 Removed the /fill command as an alias of /material.
Fixes WORLDEDIT-3016.
2014-02-28 15:42:28 -08:00
wizjany
ab0d170d9a Added -s flag to //paste to select the pasted area.
Also undeprecated a method that shouldn't have been.
2014-01-12 15:57:19 -05:00
TomyLobo
c25b9a53f2 Added config option to set the default for the /up and /ceil commands.
The config option defaults to glass as that is consistent across gamemodes.
Use -f to force flight (if available).
Use -g to force glass.
2013-12-31 19:04:19 +01:00
wizjany
99fae3e716 Revert /up and /ceil command to use glass block by default. Flight can be done via -f flag now. 2013-12-29 13:28:22 -05:00
TomyLobo
61905527f8 The /green command no longer affects permadirt and podzol.
This behaviour can be overridden with -f.
2013-12-29 18:28:42 +01:00
orthoplex64
22d6c51976 Added /curve. 2013-11-01 20:24:09 +01:00
orthoplex64
f4277c126d Hollow lines; modified line-drawing; EditSession utility methods
Made hypot() and getHollowed() static
2013-11-01 20:24:08 +01:00
orthoplex64
f38b6c484c Line thickness support 2013-11-01 20:24:08 +01:00
orthoplex64
91c6c69551 Add //line command and EditSession method
The EditSession method comes with javadoc.
2013-11-01 20:24:07 +01:00
Albert Pham
9930fb7338 Merge pull request #269 from sk89q/generatebiome
Added a //generatebiome command, which uses formulae to generate free-form biomes.
2013-11-01 12:23:27 -07:00
TomyLobo
f7c7292f79 Added a //generatebiome command, which uses formulae to generate free-form biomes.
Shorthands: //genbiome, //gb
2013-11-01 20:09:30 +01:00
TomyLobo
1746dd2e1a Snapshot restore now obeys masks again. 2013-11-01 20:09:28 +01:00
TomyLobo
961773ce5d Added non-cuboid support for //walls and //outline. 2013-11-01 19:05:49 +01:00
TomyLobo
dcd1c7cee8 Made /up and /ceil benefit from fly mode.
This avoids littering the world with floating glass blocks when possible.
2013-10-25 18:22:11 +02:00
TomyLobo
661484f858 Code quality improvements. 2013-10-23 18:54:45 +02:00
TomyLobo
9e708b70a9 Fixed some warnings. 2013-10-20 16:30:22 +02:00
TomyLobo
d2f51b27b5 Gave the function containing the code for the //gmask command a better name. 2013-10-17 11:03:27 +02:00
TomyLobo
8ce14dc982 Made //copy and //cut copy only the blocks contained in the selection. 2013-08-27 08:03:14 +02:00
TomyLobo
77219a8b3e The Sphere selector can now also shrink the region.
The radius is set to ceil(distanceToCenter).
2013-08-24 10:59:23 +02:00
TomyLobo
2a4e6ac93a Added a separate point maximum for polyhedral selections. 2013-08-16 08:18:36 +02:00
Wizjany
63f2f96a8c Add convex to the @Command usage info for //sel. 2013-08-06 11:50:42 -04:00
TomyLobo
b28fdbfe4e Used vector constants in all appropriate placed. 2013-08-06 11:50:39 -04:00
TomyLobo
37373976f5 Added the polyhedral selector to //sel. 2013-08-06 11:50:36 -04:00
TomyLobo
9f4d470f7d Made //move operate on the actual region instead of its bounding box. 2013-08-04 01:34:55 +02:00
TomyLobo
9b37fb98ac Fixed some warnings. 2013-08-03 14:46:37 +02:00
wizjany
65c3614e7b Support for listing in expand, contract, and shift.
Support listing in these commands by replacing a single Vector with a
List<Vector> and then iterating through it in a foreach loop. Region
changes are still performed individually, no extra complicated math
involved.
2013-08-02 22:55:38 -04:00
wizjany
5f47ede05a Made generation commands respect the max-radius config setting. 2013-08-02 22:50:14 -04:00
wizjany
d7324f6b13 Made a checkMaxBrushRadius method for centralized use. 2013-08-02 21:34:20 -04:00
TomyLobo
3e875b7936 Fixed some warnings. 2013-07-02 07:29:58 -04:00