Commit graph

3236 Commits

Autor SHA1 Nachricht Datum
sk89q
66a51636a3 Ellipsoid-based region selectors no longer starts primary at (0, 0, 0).
Fixes WORLDEDIT-2968.
2014-07-10 00:47:36 -07:00
sk89q
7283526123 Fixes commands registered with the legacy handler not tab completing players.
Closes WORLDEDIT-3151.
2014-07-10 00:30:43 -07:00
sk89q
dd497fdcb1 Send WrappedCommandException to the logger. 2014-07-09 23:08:17 -07:00
sk89q
4e69c7263f Fix a syntax error in 393b0d3d. 2014-07-09 23:07:40 -07:00
sk89q
393b0d3d7a Handle when CommandException.getMessage() is null in CommandManager.
Related to WORLDEDIT-3156.
2014-07-09 23:05:40 -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
932513d8a1 Add Transform.isIdentity(). 2014-07-09 21:44:44 -07:00
sk89q
47ad03a013 Add new Clipboard-compatible .schematic reader/writer. 2014-07-09 21:08:34 -07:00
sk89q
7b0e5a977f Move GZIPOutputStream out of NBTOutputStream.
This is a breaking change with no clear symptoms at first.
2014-07-09 19:06:53 -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
22dceb5614 Added GSON, Trove as dependencies and enabled minimizeJar for shading. 2014-07-09 14:07:17 -07:00
sk89q
6ef4f7b7cc Moved legacy block classes to the legacy source root. 2014-07-08 20:08:43 -07:00
sk89q
7463fdef79 BlockRegistry, MaskRegistry, PatternRegistry -> *Factory
'Registry' will need to be used for the block, entity, item,
and so on registries.
2014-07-08 17:39:33 -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
d74237b15e Fixes masks parsed from input not using block wildcards.
Closes WORLDEDIT-3147.
2014-07-06 18:12:15 -07:00
sk89q
68e5d5926a Allow masks parsed from input to ignore the blacklist.
Fixes WORLDEDIT-3149.
2014-07-06 18:10:30 -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
6f0fde47b0 Restored tab completion of player names.
Fixes WORLDEDIT-3144.
2014-07-06 17:23:05 -07:00
sk89q
f1649dbf51 [Bukkit] Added runtime dependency for running Bukkit. 2014-07-06 17:23:05 -07:00
Albert Pham
297a6053ef Merge pull request #298 from DarkArc/master
Fixes WorldEdit CUI.

Closes WORLDEDIT-3150.
2014-07-06 17:22:19 -07:00
Wyatt Childers
bc92e43be0 Adds Platform support for WorldEdit CUI 2014-07-06 20:13:27 -04:00
sk89q
63605a8417 [Bukkit] Added shim method for setBlock(..., foundation.Block, ...). 2014-07-05 16:40:07 -07:00
sk89q
51a540dab1 Added //calc, //eval, etc. to evaluate mathematical expressions. 2014-07-03 03:34:19 -07:00
sk89q
6c4a321d61 Added support for mathematical expressions for numeric arguments in commands.
This only works for commands that have been ported over to the new command
framework.
2014-07-03 03:33:57 -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
765d987ae1 ParametricCallable.mayConsumeArguments() handles flags better. 2014-07-02 12:52:42 -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
9e8b2d1875 Fix compile error in Transforms caused by merge. 2014-07-02 02:55:02 -07:00
sk89q
83e141bfb0 Added AffineTransform.scale(Vector). 2014-07-02 02:54:48 -07:00
sk89q
06c248e518 Rectified that hopper fix being very incomplete (and unit test breaking!). 2014-07-01 15:37:12 -07:00
sk89q
e207ccebe8 Fixed activated hoppers rotating incorrectly.
Fixes WORLDEDIT-3138.
2014-07-01 15:16:27 -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
ede28df487 Fixed handling of legacy Command.flags/.anyFlags.
Fixes WORLDEDIT-3137.
2014-07-01 14:15:19 -07:00
sk89q
7ba002ac8d Clean up ParametricCallable. 2014-07-01 13:52:19 -07:00
sk89q
c5bd8704ea Added TransformRegion to transform another Region. 2014-07-01 13:03:01 -07:00
sk89q
7a5ea73c57 Merge branch 'master' into feature/mapping 2014-07-01 12:59:55 -07:00
sk89q
1b0a6bfcd8 Removed CommandCallable.getValueFlags().
Parsing of arguments is no longer done automatically so this method
is extraneous.
2014-07-01 12:56:27 -07:00
sk89q
f3fe8f2ad8 Extracted CommandMapping interface. 2014-07-01 12:55:39 -07:00
sk89q
61053564fa Added utility Transforms class. 2014-07-01 12:45:06 -07:00
sk89q
e3ae22da80 Identity.combine(other) should just return other. 2014-07-01 12:42:57 -07:00
sk89q
63411b427a Added Transform.inverse() as a standard operation. 2014-07-01 12:42:57 -07:00
sk89q
a74bab7f98 Added changes to formatting package in some classes. 2014-07-01 01:39:54 -07:00
sk89q
83a657e561 formatting.components -> formatting.component 2014-07-01 00:22:11 -07:00
sk89q
7c2f6f0bcc Sort commands for Dispatchers in CommandUsageBox. 2014-06-30 23:22:04 -07:00