sk89q
83e141bfb0
Added AffineTransform.scale(Vector).
2014-07-02 02:54:48 -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
sk89q
2effc57b78
When sorting commands for //help, ignore / characters.
2014-06-30 23:17:44 -07:00
sk89q
75b1fe6090
Added "Usage: " back when handling InvalidUsageException.
2014-06-30 23:04:32 -07:00
sk89q
f0530f9d28
Removed gold color from CommandUsageBox for command help.
2014-06-30 23:03:46 -07:00
sk89q
88f0f1061a
Cleaned up InvalidUsageException and CommandException to be less confusing.
2014-06-30 23:02:04 -07:00
sk89q
08ad5f4451
Handle exceptions thrown from bindings as a convertible InvocationTargetException.
...
For example, if IncompleteRegionException is thrown by a binding, it
will result in a InvocationTargetException now with a getCause(),
which gets handled as if that exception was thrown from the actual
Method that is invoked for the command.
2014-06-30 22:51:25 -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
dd924d806b
Fixed RepeatingExtentPattern repeating a (1, 1, 1) smaller region.
2014-06-29 17:47:29 -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
ad9b8ce3b1
[Bukkit] Made BukkitCommandSender public again.
...
CommandHelper subclasses this, although whether things will work
properly after this change is to be said.
Fixes WORLDEDIT-3136.
2014-06-29 12:28:27 -07:00
sk89q
d4dde8c4a6
[Bukkit] Handle onDisable() better when onEnable() fails.
2014-06-29 01:43:30 -07:00
sk89q
302d089d55
Assembly needs to go after the shader .jar is built.
2014-06-29 01:39:56 -07:00
sk89q
c9612c05a7
Fixed formatting error in BukkitEntity.
2014-06-28 22:43:41 -07:00
sk89q
b0d050451a
Merge branch 'master' into feature/mapping
...
Conflicts:
src/bukkit/java/com/sk89q/worldedit/bukkit/BukkitCommandSender.java
src/main/java/com/sk89q/worldedit/internal/LocalWorldAdapter.java
src/main/java/com/sk89q/worldedit/util/TargetBlock.java
2014-06-28 22:31:13 -07:00
sk89q
bc73d12f25
Merge support for platform capabilities and overhaul of command executors.
2014-06-28 19:29:26 -07:00
sk89q
d86d81ef21
Switch Style to Preconditions.
2014-06-28 19:13:46 -07:00
sk89q
d7d7b2741a
Added MaxBrushRadiusException to WorldEditExceptionConverter.
2014-06-28 18:53:06 -07:00
sk89q
723b8b6e63
Shortened and improved some command descriptions.
2014-06-28 18:44:09 -07:00
sk89q
edb6c56aab
Improved the styling of SimpleDispatcher's list of sub-commands.
2014-06-28 18:43:54 -07:00
sk89q
46c429606e
Added text formatting classes from the operations branch.
2014-06-28 18:43:37 -07:00
sk89q
2628e80f41
Made SimpleDescription's lists modifiable.
2014-06-28 18:42:25 -07:00
sk89q
a957482ee6
Ignore cause when handling ParameterException in ParametricCallable.
2014-06-28 17:37:47 -07:00
sk89q
93a48bbb55
Handle NoMatchException in WorldEditBinding.
2014-06-28 17:37:13 -07:00
sk89q
e261e720b6
Removed ParametricCallable's getSuggestions() which isn't quite working.
2014-06-28 17:32:48 -07:00
sk89q
c7988c7ad9
Don't throw a ParameterException for a regular exception.
2014-06-28 17:32:25 -07:00
sk89q
3750190f2c
Passed a string of parent commands rather than just the current command.
2014-06-28 17:04:38 -07:00
sk89q
10c45fcb22
Check permissions in command suggestions and Dispatcher.
2014-06-28 16:57:11 -07:00
sk89q
205fee3c36
Renamed some command manager methods to be more descriptive.
2014-06-28 16:39:20 -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
2258513104
Made Dispatcher implement CommandCallable.
...
This simplifies things a bit.
2014-06-28 01:42:59 -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
ec28cd626c
Removed use of @Nullable in ParametricCallable.
2014-06-27 20:24:02 -07:00
sk89q
de0f283656
Call createProxyActor() on command Actors.
2014-06-27 20:23:53 -07:00
sk89q
b8b097ce68
Fixed 'break' being 'return' in LegacyCommandsHandler.
2014-06-27 20:10:48 -07:00