Commit Graph

49 Commits

Author SHA1 Message Date
sk89q
7c4a67d32b FlatRegionApplicator -> FlatRegionVisitor. 2014-03-27 08:22:17 +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
0e615e5bf7 Added //forest that generates a forest in a selection.
Fixes WORLDEDIT-2958.
2014-02-28 16:15:51 -08: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
TomyLobo
961773ce5d Added non-cuboid support for //walls and //outline. 2013-11-01 19:05:49 +01:00
TomyLobo
661484f858 Code quality improvements. 2013-10-23 18:54:45 +02:00
TomyLobo
b28fdbfe4e Used vector constants in all appropriate placed. 2013-08-06 11:50:39 -04:00
TomyLobo
9f4d470f7d Made //move operate on the actual region instead of its bounding box. 2013-08-04 01:34:55 +02:00
Wizjany
79802bd4b9 Fix command logging.
No seriously, was the previous code even supposed to work?
2012-12-27 11:47:07 -05:00
sk89q
d198961e12 Updated for 5.4.5. 2012-11-03 12:58:04 -07:00
aumgn
7fd5d1b61c Add /center commmand 2012-08-29 11:51:57 +02:00
sk89q
3558d65b79 Added //re and //rep as aliases for //replace. 2012-08-24 19:44:46 -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
09a92fa76c Added a block/pattern parameter to //hollow.
Also made a few variables final and optimized the thickness algo a bit.
2011-12-20 12:53:26 +01:00
TomyLobo
633f6643a5 Added a thickness parameter to //hollow. 2011-12-19 11:58:38 +01:00
TomyLobo
936aff06b2 Fixed //stack -s (again). 2011-12-18 22:46:09 +01:00
zml2008
4dc3c035c1 Updated to use simplified method signature for commands. Also improved SimpleInjector. 2011-12-17 23:45:12 -08:00
zml2008
98216e2762 Added support for non-128 worldheights 2011-12-13 04:50:53 +01:00
TomyLobo
2e1087a49a Added a //hollow command, which hollows out the object contained in the selection. 2011-12-08 11:54:49 +01:00
TomyLobo
d69863db59 Fixed unimportant typos. 2011-12-06 13:59:41 +01:00
TomyLobo
4c9e0a629f Added help text for most commands that take flags.
//generate, //regen, //deform, //[h]cyl, //[h]sphere, //chunk, //outset, //inset, //stack, //move, //smooth, //paste, //flip, /search //distr /butcher, //brush sphere/cyl/clipboard/smooth
Only //replace and /replacenear are still missing.
2011-12-06 06:50:10 +01:00
TomyLobo
258bdc11b0 Fixed //stack -s only shifting by 1 block, regardless of the selection size. 2011-12-05 23:23:52 +01:00
TomyLobo
7e13b60a51 Cleanup 2011-11-23 04:48:40 +01:00
TomyLobo
ff03d03fd7 Cleanup 2011-11-02 03:41:22 +01:00
TomyLobo
2ee36f7484 //generate and //deform no longer behave oddly with selections that are only one block thick in either direction. 2011-11-01 16:32:56 +01:00
TomyLobo
4f1196ce2d Added a //deform command, which deforms a region given an expression that operates on the x/y/z variables. 2011-11-01 15:27:13 +01:00
Wizjany
b5b55a2775 Cleanup and a few bugfixes 2011-09-24 15:24:10 -04:00
TomyLobo
88b4f4de18 Cleanup.
- Fixed a few warnings
- Unified the formatting of the command prologue
- Put down why it was deprecated in the javadoc of a deprecated method.
- Gave //none a better usage line
- Switchcaseified some elseifs
2011-09-19 07:24:49 +02:00
zml2008
a1cf6eb6da Allow //replace to ignore from block damage values (and force them to not be ignored with the -f flag) 2011-09-17 21:50:06 -07:00
Wizjany
4c00a24c1d Abstracted all block IDs to BlockID and item ids to ItemType. Overloaded recently changed methods for compatibility and cleaned a few things up. 2011-09-03 13:01:51 -04:00
zml2008
1562f17540 Added block damage support to //replace and //replacenear 2011-08-29 00:08:06 -07:00
zml2008
91b7b8444f Added pattern support to /replacenear, //walls, and //faces 2011-08-21 23:56:10 -07:00
zml2008
2b94ddf7ed Added flag to //smooth to only use "natural" blocks 2011-08-17 00:33:46 -07:00
TomyLobo
5e45fd1625 Disabling global masks while regnerating because they only affect the area outside the selection. 2011-08-10 04:16:54 +02:00
TomyLobo
2af31fe231 Added position logging to /up, /ceil, position+orientation+region logging for the script commands and changed the logging for //move and //stack to orientation+region 2011-08-09 01:23:16 +02:00
TomyLobo
cc917b424c Added position/region logging. 2011-08-08 14:40:02 +02:00
TomyLobo
96eb94155c Fixed the desciption of the //outline (//faces) command. 2011-08-08 09:20:55 +02:00
sk89q
8bb0629d79 Added //naturalize. 2011-08-02 15:52:57 -07:00
Wizjany
f97c765623 Added -s flag to //move and //stack to move the selection along with the blocks. 2011-05-16 15:49:35 -04:00
sk89q
582b98dad0 More file moving. 2011-05-01 01:30:33 -07:00