Commit Graph

55 Commits

Author SHA1 Message Date
sk89q
9feafcfc30 Convert newer API from radians to degrees. 2014-07-15 20:10:14 -07:00
sk89q
3e34d5ca52 Re-implement /remove and /butcher with the new entity API. 2014-07-15 19:47:47 -07:00
sk89q
e5959383c5 Fix /schematic load and save not taking 2 arguments. 2014-07-10 01:34:05 -07:00
sk89q
4f5e130b59 Add -p to /br clipboard to paste using origin of clipboard.
Closes WORLDEDIT-2825.
2014-07-10 01:19:08 -07:00
sk89q
708b38312c Closer isn't available in the Guava version that Bukkit bundles. 2014-07-09 22:55:10 -07:00
sk89q
9aec81c8c6 Change /schematic save to bake in the transform. 2014-07-09 22:51:17 -07:00
sk89q
2bbf5d2793 /schematic save should not check if the file exists. 2014-07-09 22:04:17 -07:00
sk89q
47ad03a013 Add new Clipboard-compatible .schematic reader/writer. 2014-07-09 21:08:34 -07:00
sk89q
955a52825f Flip direction of //rotate to have it match previous behavior. 2014-07-09 14:34:05 -07:00
sk89q
56b349ead8 Add a new block metadata framework and fix //rotate and //flip.
Remove the previous Mapping interfaces.
2014-07-09 14:14:41 -07:00
sk89q
65f451279c Merge branch 'master' into feature/mapping
Conflicts:
	src/bukkit/java/com/sk89q/worldedit/bukkit/BukkitWorld.java
	src/main/java/com/sk89q/worldedit/command/SelectionCommands.java
2014-07-06 21:06:10 -07:00
sk89q
85f014e256 Clamp acceptable density for //flora and //forest.
Fixes WORLDEDIT-3148.
2014-07-06 17:34:08 -07:00
sk89q
e9ca618961 Fixes //desel no longer working.
Closes WORLDEDIT-3146.
2014-07-06 17:29:17 -07:00
sk89q
51a540dab1 Added //calc, //eval, etc. to evaluate mathematical expressions. 2014-07-03 03:34:19 -07:00
sk89q
1f6e31dae8 Changed /ascend and /descend to get arguments via injection. 2014-07-03 03:33:16 -07:00
sk89q
d3aa6c86a8 Added -m for //cut and //copy to set a source mask. 2014-07-02 12:55:18 -07:00
sk89q
b2e953a95f Merge remote-tracking branch 'origin/master' into feature/mapping 2014-07-02 12:54:30 -07:00
sk89q
aad7bb47d6 Added new preliminary non-destructive //rotate and //flip implementations.
Blocks themselves are not yet rotated/flip.

//flip now only flips across the player. -p was removed.
2014-07-02 02:56:21 -07:00
sk89q
8f8d991ee1 Fixed /butcher not working correctly in-game.
@Optional does not work on parameter bindings of the PROVIDES type at
this time.

Fixes WORLDEDIT-3139.
2014-07-01 15:04:30 -07:00
sk89q
7a5ea73c57 Merge branch 'master' into feature/mapping 2014-07-01 12:59:55 -07:00
sk89q
a74bab7f98 Added changes to formatting package in some classes. 2014-07-01 01:39:54 -07:00
sk89q
2effc57b78 When sorting commands for //help, ignore / characters. 2014-06-30 23:17:44 -07:00
sk89q
11d37bce2b Implemented -? and changed handling of InvalidUsageException.
Fixes WORLDEDIT-2947.
2014-06-30 22:48:04 -07:00
sk89q
c29ca03e35 Improved re-use of command help formatting. 2014-06-30 22:08:08 -07:00
sk89q
1e2523ddcb Updated //help with colors and sub-command support. 2014-06-30 21:56:05 -07:00
sk89q
d1f5beb961 Shortened /schematic command descriptions. 2014-06-30 21:48:26 -07:00
sk89q
0a5a1e1b01 Fixed typo in //curve's help.
Fixes WORLDEDIT-3025.
2014-06-30 21:00:02 -07:00
sk89q
09eb36dc5e Added new Extent-compatible Clipboard and BlockArrayClipboard classes.
The goal is to replace use of CuboidClipboard with these new classes.

Support for entities, //flip, //rotate, and //distr still needs to be
re-implemented.

DataException was also removed from BaseBlock because The Base(...)
classes should be "dumb" blocks without any validation.
2014-06-29 17:47:08 -07:00
sk89q
eee2c5d9f4 Changed Location to use Extents rather than worlds and overhauled the new Entity code a bit. 2014-06-29 15:36:41 -07:00
sk89q
723b8b6e63 Shortened and improved some command descriptions. 2014-06-28 18:44:09 -07:00
sk89q
620a4a21a1 Fixed -a in //stack being interpreted as -s. 2014-06-28 16:30:22 -07:00
sk89q
33e1e0b1f1 Overhauled command handling and suggestion support. 2014-06-28 16:30:02 -07:00
sk89q
f64107c2c0 Removed LocalPlayer from commands and removed various uses of old Mask and Pattern classes. 2014-06-28 01:01:49 -07:00
sk89q
d96d3cf8bc Changed instances of Pattern, Mask, etc. to newer versions.
Most affected is the brush code.
2014-06-27 19:55:38 -07:00
sk89q
1431cd2a67 Cleaned up BiomeCommands and made better use of new command framework. 2014-06-27 18:29:43 -07:00
sk89q
ebe2bc6ae2 Changed command pipeline to use Actor over LocalPlayer. 2014-06-27 18:29:42 -07:00
sk89q
8f1943fd84 Merge commit '142f5c8e5c889ee5098c05ba2fde20b52467c1df' into feature/platform-caps 2014-06-27 16:03:29 -07:00
sk89q
c9e60f1f60 Updated /we version with platform information. 2014-06-27 13:14:55 -07:00
sk89q
e52ca6661f Added support for platforms to declare capabilities.
Platforms can declare certain capabilities and a suggested preference
for the platform for each capability. WorldEdit can then choose
the best platform for a given capability.

Examples of capabilities include providing configuration, registering
game hooks/events, performing changes to the world, or checking
permissions/authorization.
2014-06-27 01:11:35 -07:00
sk89q
7827dfea9e Put in a tip about setting //limit. 2014-06-26 17:43:25 -07:00
sk89q
900c9b5258 Added BlockInteractEvent to replace handleBlockLeftClick().
Needed quite a shim for tools/brushes for now.
2014-06-26 16:56:40 -07:00
sk89q
c8246ec962 Merge pull request #239 2014-05-01 18:01:12 -07:00
sk89q
996438ff91 Merge pull request #282
Add support for listing schematics inside subdirectories

Conflicts:
	src/main/java/com/sk89q/worldedit/command/SchematicCommands.java
2014-05-01 17:45:13 -07:00
sk89q
a3c542b74f The /butcher command no longer kills mobs with a name tag.
PR: https://github.com/sk89q/worldedit/pull/292

Conflicts:
	src/bukkit/java/com/sk89q/worldedit/bukkit/BukkitWorld.java
	src/main/java/com/sk89q/worldedit/command/BrushCommands.java
	src/main/java/com/sk89q/worldedit/command/UtilityCommands.java
2014-05-01 17:36:11 -07:00
wizjany
5ed9239e14 Fixed listing schematics with directories in the folder. 2014-04-25 23:45:49 -04:00
sk89q
f94be80923 Changed Super Pickaxe to use EditSession.
This fixes WORLDEDIT-3102 and allows the logging of Super Pickaxe
usage via the EditSession Extent pipeline.
2014-04-23 00:33:00 -07:00
sk89q
f3e107da90 Handle running multiple platforms at a time better. 2014-04-05 23:27:10 -07:00
sk89q
24f8fbc92a Converted API over to use new World.
This breaks backwards compatibility for all getWorld() methods, but
shim methods were added for binary compatibility with method calls that
use LocalWorld.
2014-04-05 03:04:21 -07:00
sk89q
52b828ae17 Clean up WorldEdit main class. 2014-04-04 21:02:56 -07:00
sk89q
e0fd804f70 Standardized file headers. 2014-04-04 15:23:11 -07:00