Commit Graph

52 Commits

Author SHA1 Message Date
sk89q
3e34d5ca52 Re-implement /remove and /butcher with the new entity API. 2014-07-15 19:47:47 -07:00
sk89q
bf7185d173 Merge branch 'master' into feature/mapping 2014-07-14 22:50:57 -07:00
sk89q
6dcbc8eb66 Fix a confusion of loggers for command logging. 2014-07-14 22:50:45 -07:00
sk89q
97a1664db5 Merge remote-tracking branch 'origin/master' into feature/mapping 2014-07-10 22:33:25 -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
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
6f0fde47b0 Restored tab completion of player names.
Fixes WORLDEDIT-3144.
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
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
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
75b1fe6090 Added "Usage: " back when handling InvalidUsageException. 2014-06-30 23:04:32 -07:00
sk89q
88f0f1061a Cleaned up InvalidUsageException and CommandException to be less confusing. 2014-06-30 23:02:04 -07:00
sk89q
11d37bce2b Implemented -? and changed handling of InvalidUsageException.
Fixes WORLDEDIT-2947.
2014-06-30 22:48:04 -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
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
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
de0f283656 Call createProxyActor() on command Actors. 2014-06-27 20:23:53 -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
9381beb417 Actor should not have getWorld(). 2014-06-27 18:34:58 -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
9bb70ad335 Updated events to choose the best platform for certain tasks. 2014-06-27 13:14:44 -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
d9cea950b0 Added events for the other WorldEdit.handle*() methods. 2014-06-26 20:07:04 -07:00
sk89q
fc50831cc0 Changed right click to use the event as well. 2014-06-26 17:07:08 -07:00
sk89q
ff7d5aad1a Only handle primary input in block interact event handler. 2014-06-26 16:58:54 -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
Wizjany
33d4285f1a Fix mask parser incorrectly parsing block lists.
i.e. not parsing the list at all
2014-04-13 17:12:10 -04:00
sk89q
f3e107da90 Handle running multiple platforms at a time better. 2014-04-05 23:27:10 -07:00
sk89q
d1a69fd985 Raised level for platform registration log message. 2014-04-05 22:05:58 -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
d4c910a012 Created AbstractPlatform and deprecated ServerInterface. 2014-04-04 21:15:37 -07:00
sk89q
8fb73347e4 Implemented PlatformManager, Platform over old platform registration method. 2014-04-04 20:53:58 -07:00
sk89q
bed5fa8fdc Added Actor, Player, Entity, BaseEntity. 2014-04-04 17:54:14 -07:00