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
d86d81ef21
Switch Style to Preconditions.
2014-06-28 19:13:46 -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
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
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
ec28cd626c
Removed use of @Nullable in ParametricCallable.
2014-06-27 20:24:02 -07:00
sk89q
b8b097ce68
Fixed 'break' being 'return' in LegacyCommandsHandler.
2014-06-27 20:10:48 -07:00
sk89q
5347cd4e34
Fixed issue where the use of non-existent subcommands had no response.
2014-06-27 20:00:02 -07:00
sk89q
23ce159ccf
Moved other command handler related classes to the internal package.
2014-06-27 18:29:43 -07:00
sk89q
47076b313e
Fixed command logging regression caused by merge.
2014-06-27 18:29:43 -07:00
sk89q
b7e0821b97
Removed command binding classes to internal package.
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
900c9b5258
Added BlockInteractEvent to replace handleBlockLeftClick().
...
Needed quite a shim for tools/brushes for now.
2014-06-26 16:56:40 -07:00
sk89q
33e641d5f2
Added a new Location and added Entity.getLocation().
2014-04-26 19:48:30 -07:00
sk89q
e69e72c410
Moved annotation package to internal package.
...
Closes WORLDEDIT-3055.
2014-04-25 15:23:43 -07:00
sk89q
e0a2873c99
Removed use of Guava's Cache because Bukkit uses an ancient version of Guava.
2014-04-05 14:44:41 -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
7ed1718d21
Moved LocalWorld's members upwards to AbstractWorld and World.
2014-04-04 22:40:29 -07:00
sk89q
8fb73347e4
Implemented PlatformManager, Platform over old platform registration method.
2014-04-04 20:53:58 -07:00
sk89q
ae8becafdd
Code cleanup.
2014-04-04 16:09:05 -07:00
sk89q
e0fd804f70
Standardized file headers.
2014-04-04 15:23:11 -07:00
sk89q
478ce3f627
Fixed utility classes having constructors.
2014-04-04 14:35:12 -07:00
sk89q
469cb8c8b3
(Breaking) Moved some packages around.
...
Most of the changes should not break *most* WorldEdit-using plugins,
but implementations of WorldEdit are broken by this change.
2014-04-02 19:20:12 -07:00
sk89q
a7d83958ac
Added event bus implementation.
2014-04-02 18:53:06 -07:00
sk89q
8bec48dc9e
Moved DoubleArrayList to util.collection.
2014-03-31 20:11:23 -07:00
sk89q
031d40f9e6
Changed SimpleBlockReorder to TupleArrayList.
2014-03-31 19:48:10 -07:00
sk89q
e657fd5be9
Moved noise classes to worldedit.math.* package.
2014-03-29 21:08:03 -07:00
sk89q
e5e5d8901a
Added NoiseFilter and NoiseFilter2D masks.
2014-03-28 16:13:12 -07:00
TomyLobo
c25b9a53f2
Added config option to set the default for the /up and /ceil commands.
...
The config option defaults to glass as that is consistent across gamemodes.
Use -f to force flight (if available).
Use -g to force glass.
2013-12-31 19:04:19 +01:00
wizjany
d5831ea37b
Added 1.7.2 biomes and trees.
2013-12-24 18:31:45 -05:00
wizjany
3acc82e97b
Removed the allow-extra-data-values option.
...
This reverts parts of e477141
.
Data values could never go past 15 anyway,
making the option pointless and misleading.
2013-11-26 10:53:23 -05:00
TomyLobo
921c354db7
Made everything that uses canPassThrough use data values.
2013-10-17 11:03:55 +02:00
TomyLobo
2a4e6ac93a
Added a separate point maximum for polyhedral selections.
2013-08-16 08:18:36 +02:00
Albert Pham
142f5c8e5c
Changed WorldEdit to use the new dispatcher.
2013-06-18 14:51:42 -07:00
Wizjany
31de2a3a09
Update PropertiesConfiguration. Catch potential NPE.
2013-02-24 01:53:14 -05:00
Wizjany
6abd48ab08
Add a config setting to allow creative mode players to override inventory setting.
2013-01-19 19:06:55 -05:00
Wizjany
79802bd4b9
Fix command logging.
...
No seriously, was the previous code even supposed to work?
2012-12-27 11:47:07 -05:00