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
TomyLobo
4b3564a9ac
Fixed a warning.
2011-12-18 09:31:47 +01:00
zml2008
4dc3c035c1
Updated to use simplified method signature for commands. Also improved SimpleInjector.
2011-12-17 23:45:12 -08:00
TomyLobo
a4d82be697
Made /butcher, /searchitem and /worldedit work on the console and added /we help as an alias for //help.
2011-12-15 15:46:32 +01:00
TomyLobo
af6455ea6b
Made //help sort // commands ignoring prefixed slashes.
2011-12-15 06:28:09 +01:00
TomyLobo
05404b005d
Added a //help command.
2011-12-13 09:43:39 +01: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
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
c21c380bba
Added a -a flag to /butcher to kill animals. Its now disabled by default.
2011-12-06 07:10:15 +01:00
TomyLobo
bc3a4377ec
The /butcher command no longer kills NPCs, except when the -n flag is passed.
...
Also:
- Moved some code from BukkitWorld to LocalWorld.
- Replaced the "boolean killPets" argument by an "int flags" to provide extensibility
- Made the radius argument a double
- Basically rewrote the entire function
- Deprecated all old versions of killMobs
2011-12-06 06:50:11 +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
274ecaadf2
Changed a usage string.
2011-12-05 23:23:51 +01:00
TomyLobo
259003d030
Corrected a command description.
2011-12-05 08:56:49 +01:00
TomyLobo
5d59dd764e
Changed getSafe*File to accept varargs instead of arrays.
2011-11-27 05:29:49 +01:00
TomyLobo
7e13b60a51
Cleanup
2011-11-23 04:48:40 +01:00
zml2008
256897f473
Added seperate permissions for jumpto/thru commands and tools
2011-11-11 15:39:42 -08:00
zml2008
04803de8b1
Fixed some NPE's for block types not in BlockType.
2011-11-02 22:51:48 -07: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
TomyLobo
a5e5880064
Moved shape generation to EditSession.
...
Also refactored it to get rid of the 3 different anonymous classes.
2011-11-01 15:27:12 +01:00
TomyLobo
478d6f6e54
Added support for type/data to //generate.
2011-11-01 14:31:33 +01:00
TomyLobo
8a83f7f70e
Added support for custom materials to ArbitraryShape and adjusted //generate accordingly.
2011-11-01 14:28:03 +01:00
TomyLobo
6b0f237a46
Removed extra fastLighting flag.
...
Fast lighting is now used when available.
2011-10-31 03:28:05 +01:00
Wizjany
2719308ada
Made //fast display a different message if the argument matches the current mode
2011-10-29 13:32:51 -04:00
Wizjany
699807665d
Cleanup
2011-10-29 11:57:45 -04:00
TomyLobo
58be9d9be4
Added support for stretched cylinders and brought their profile in line with that of the central layer of a sphere of the same x/z radius.
2011-10-28 20:34:08 +02:00
TomyLobo
318e81886c
Removed -q flag from //[h]sphere and the code to back it.
...
The speed difference between the "flexible" and the "quick" variant is so minor that it doesn't justify the aditional code complexity.
2011-10-28 15:10:14 +02:00
TomyLobo
f6f08da620
Cleanup
2011-10-27 19:29:02 +02:00
TomyLobo
0ca66ce350
Moved check for fastLightingAvailable from BukkitWorld.fixAfterFastMode to fixLighting and adjusted the description for //generate.
2011-10-26 23:24:23 +02:00
TomyLobo
9fa5c4030b
Added a //g[en[erate]] command, which generates a shape according to a mathematical formula.
...
(result > 0) = true = inside
(result <= 0) = false = outside.
2011-10-25 18:46:14 +02:00
TomyLobo
ef88c04550
Gave //fast an on|off parameter and adjusted its message to reflect a future change.
2011-10-24 04:33:19 +02:00
Meaglin
b17fb7eaa3
Adding /snapshot sel [index] to select a snapshot by list index.
2011-10-02 00:10:27 -04:00
Wizjany
868fef813f
Changed pyramid command usage
2011-09-26 01:43:39 -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
67a7969cd1
Added a tool that allows a player to place and remove blocks at a distance.
2011-09-18 21:53:29 -04: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
709cae1995
Removed permissions from plugin.yml for compatibility and cleaned up a bit more.
2011-09-18 02:37:37 -04: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
1c4c621500
Cleanup.
2011-09-17 19:32:44 -04:00
Wizjany
b10498b9c7
Added 'xp' as a parameter of the /remove command to remove experience orbs.
2011-09-17 01:44:10 -04: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
TomyLobo
8c0d0f9ed4
//[h]sphere can now generate ellipsoid (stretched sphere) shapes
2011-09-03 18:59:18 +02:00
TomyLobo
3205904003
//copy and //paste now respect /toggleplace.
2011-09-02 21:03:22 +02:00
zml2008
02d8acfa81
Alowed performing undos from other player sessions, if they exist.
2011-08-29 14:24:46 -07:00
zml2008
1562f17540
Added block damage support to //replace and //replacenear
2011-08-29 00:08:06 -07:00
TomyLobo
2281684f20
- Added a -p flag to //flip that makes it flip around the player instead of the center of the clipboard.
...
- Code cleanup
2011-08-26 05:04:07 +02:00
masteroftime
63262dbd5f
Corrected number of arguments in //pos2
2011-08-22 23:05:31 +02:00
zml2008
91b7b8444f
Added pattern support to /replacenear, //walls, and //faces
2011-08-21 23:56:10 -07:00
zml2008
9e13e25760
Fixed floodfill usage
2011-08-21 23:56:10 -07:00
TomyLobo
d12bff993b
Added //-prefixed aliases for most /-prefixed commands
2011-08-21 22:35:27 +02:00
zml2008
2b94ddf7ed
Added flag to //smooth to only use "natural" blocks
2011-08-17 00:33:46 -07:00
TomyLobo
151b4c0fa1
Added a /green command, which greens the surrounding landscape.
2011-08-16 18:43:13 +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
TomyLobo
c79d90bb99
Added support for non-integer radius to //fill, //fillr, //drain, //fixlava, //fixwater, //snow and //thaw.
2011-08-15 14:35:21 +02:00
TomyLobo
a57830706e
Added support for non-integer radius to //superpickaxe recursive and improved performance a bit by making the recurse method static.
2011-08-15 14:22:35 +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
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
e320d34b32
Added an optional on/off argument to the toggle pickaxe command.
2011-08-09 00:19:58 +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
TomyLobo
8d688165ee
Fixed exceptions in //brush since build #115 .
2011-08-08 02:23:42 +02:00
TomyLobo
0040ba9867
Added support for non-integer radius to the sphere, cylinder, smooth and extinguish brushes.
2011-08-07 05:24:20 +02:00
TomyLobo
57b5c5b546
Added support for non-integer radius to //cyl, //hcyl, //sphere and //hsphere
2011-08-07 05:24:19 +02:00
hretsam
282b3fbd05
Merge branch 'master' of git@github.com:sk89q/worldedit.git
2011-08-07 02:42:12 +02:00
hretsam
2342acfae2
Added pyramid generation with /pyramid & /hpyramid
2011-08-07 02:40:48 +02:00
Wizjany
02e24ed824
Removed and reimplemented mrapple's selection at a distance. It is now a brush tool, meaning it can be bound as other tools can and it subject to Nichts' /range command, so you can select points in midair.
2011-08-06 19:22:10 -04:00
hretsam
2068189cf5
Added multiworld support for snapshots.
...
Added robinjam's nether support (Thank you robinjam!)
2011-08-05 12:35:38 +02:00
hretsam
f8c53a06bf
Merge branch 'master' of git@github.com:sk89q/worldedit.git
2011-08-05 12:30:27 +02:00
hretsam
990915b23f
Merge remote-tracking branch 'remotes/pull_117/multiworld-snapshots'
2011-08-05 12:29:49 +02:00
sk89q
8bb0629d79
Added //naturalize.
2011-08-02 15:52:57 -07:00
Jacob Scott
66dcc99809
fixed superpickaxe for gravel & lightstone, preprocessors faster than postprocessors, added methods so same-type changes are visble client-side, fixed fixliquid & setblocks block count
2011-07-15 02:00:48 -05:00
Jeremy Koletar
4b65cf5bea
Curse you indentation man!
2011-07-07 14:25:21 -05:00
Jeremy Koletar
7717223686
Some code tidying.
2011-07-07 14:05:03 -05:00
Jeremy Koletar
6b9dbe349a
Changes tabs to spaces, also removed extra boolean.
2011-07-07 12:35:08 -05:00
James Robinson
858f8d3c36
Add multiworld snapshot support
2011-07-07 18:23:12 +01:00
Jeremy Koletar
fce942e130
Allow a command to be passed to /ascend and /descend which ascends/descends multiple floors.
2011-07-07 10:35:20 -05:00
Wizjany
021e99c252
Added range command for brushes. Thanks Nichts
2011-06-22 18:33:43 -04:00
Wizjany
1aa08104b5
Made a few commands obey //toggleplace
2011-06-21 12:44:12 -04:00
sk89q
0f040429c5
Added flood fill tool, fixed data values not being set properly.
2011-06-04 19:41:12 -07:00
sk89q
aa17d2f0e0
Added //gmask to set a *GLOBAL* mask that affects nearly ALL operations. Now you can confine //sphere to a region or create //walls that do not replace existing blocks.
2011-06-04 12:16:10 -07:00
sk89q
e1da7c41ad
Added a new region-based mask type and the ability to combine masks.
2011-06-04 11:57:40 -07:00
sk89q
504b4a613f
Added support for combined masks.
2011-06-04 11:42:45 -07:00
sk89q
d881c14e2d
Added //fast mode, which allows the server to skip the dirtying of chunks. This means that you have to rejoin to see changes though, but most operations are doubled in speed.
2011-06-04 10:30:45 -07:00
Wizjany
8f032fb2ea
Added -p flag to //butcher to kill pet wolves.
2011-05-24 18:19:11 -04: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
Wizjany
d91a634450
Fixed //expand vert not updating client.
2011-05-12 23:24:24 -04:00
Moo0
0aba329cf5
Add "deltree" tool for removing floating trees.
2011-05-10 23:31:24 +01:00
sk89q
a18546d698
Added permission checks for tools on /use/, so now if you switch world or lose your permissions, you lose your tools.
2011-05-01 17:06:40 -07:00
sk89q
7dcb4da83b
Moved EntityType to its own class to hopefully fix the unexplainable IllegalAccessErrors.
2011-05-01 13:55:38 -07:00
sk89q
582b98dad0
More file moving.
2011-05-01 01:30:33 -07:00