Commit Graph

37 Commits

Author SHA1 Message Date
TomyLobo
37373976f5 Added the polyhedral selector to //sel. 2013-08-06 11:50:36 -04: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
fb96ced3bf Add coordinate argument to //chunk command. 2013-06-03 15:55:17 -04:00
Wizjany
d78bbc4f68 Merge Moo0's data flag for distr.
Also added data flag to //count.
  //count -d 35 will now only search for white wool.
  //count 35:5 will only search for green wool.
  //count 35 will work as normal.
  //count 35:-1 will also work.
2013-01-19 09:31:00 -05:00
Wizjany
76a77f04e7 Log a few more things. Added BiomeCommands to doc printer. 2013-01-02 02:11:42 -05: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
manearrior
b352f7321f Added //size -c and //distr -c command options. Describes clipboard. 2012-11-09 19:12:04 +01:00
TomyLobo
bb5f3477c2 //chunk no longer switches from //sel extend to //sel cuboid. 2012-07-28 14:50:01 +02:00
aumgn
cd64ca459d Add config entries for polygonal region points limit 2012-04-23 11:39:09 +02:00
aumgn
857f721bb5 Add support for expand with reverse dir for Cylinder & Ellipsoid 2012-03-15 08:51:37 +01:00
aumgn
760f77e681 Make inset/outset use varargs contract/expand, so they can be used with cylinders and ellipses. 2012-03-15 08:31:40 +01: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
Yetanotherx
8a24fd9741 Add a cylindrical region selector.
- Supports shift
- Supports expand/contract on the y axis
- getArea is slightly inaccurate, but more accuracy would mean more CPU usage.
- Displays as a cuboid in legacy mode.
2012-01-03 23:35:29 +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
616f9a2360 Added support for ellipsoid and sphere selections.
//sel ellipsoid, //sel sphere.
2011-12-30 12:02:15 +01:00
zml2008
70207f1370 Added //desel or //deselect as aliases for //sel 2011-12-27 14:21:18 -08:00
TomyLobo
370ca96a44 Fixed //sel selection clearing not being dispatched to CUI. 2011-12-27 12:23:09 +01:00
TomyLobo
7d503fdc5c //sel poly now keeps the previous selection, converting its outline into a polygon if necessary.
This loses some blocks, if anyone cares
2011-12-27 12:07:11 +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
f5c6678da6 Added an extending cuboid selector.
It can be used with //sel extend.
Also made //sel carry over some information about the selection into the new selection mode.
Also cleaned up the source of the RegionSelectors and the //sel command a bit.
2011-12-12 05:27:33 +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
274ecaadf2 Changed a usage string. 2011-12-05 23:23:51 +01:00
TomyLobo
7e13b60a51 Cleanup 2011-11-23 04:48:40 +01:00
zml2008
04803de8b1 Fixed some NPE's for block types not in BlockType. 2011-11-02 22:51:48 -07:00
Wizjany
699807665d Cleanup 2011-10-29 11:57:45 -04: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
Wizjany
1a6bc6f42c Fixed AIOOBE and a missing return, removed an unused and ambiguous method from CommandContext. 2011-09-18 19:11:05 -04:00
Wizjany
1c4c621500 Cleanup. 2011-09-17 19:32:44 -04:00
masteroftime
63262dbd5f Corrected number of arguments in //pos2 2011-08-22 23:05:31 +02:00
TomyLobo
ea445ebcf5 Added a -s flag to //chunk, which extends your current selection to the encompassed chunks. 2011-08-16 10:10:23 +02:00
Wizjany
46e37017bf Whitespace police 2011-08-10 18:36:26 -04:00
masteroftime
7b306160d7 Added optional position parameter to //pos1 and //pos2 2011-08-10 18:36:26 -04:00
Wizjany
d91a634450 Fixed //expand vert not updating client. 2011-05-12 23:24:24 -04:00
sk89q
582b98dad0 More file moving. 2011-05-01 01:30:33 -07:00