Commit Graph

121 Commits

Author SHA1 Message Date
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
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
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
900c9b5258 Added BlockInteractEvent to replace handleBlockLeftClick().
Needed quite a shim for tools/brushes for now.
2014-06-26 16:56:40 -07:00
sk89q
f3e107da90 Handle running multiple platforms at a time better. 2014-04-05 23:27:10 -07:00
sk89q
52b828ae17 Clean up WorldEdit main class. 2014-04-04 21:02:56 -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
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
144302a487 Added shims for old EditSession constructors. 2014-04-03 20:48:42 -07:00
sk89q
0ed62b8f90 Moved RegionSelector back to regions package to reduce API breakage. 2014-04-03 19:50:05 -07:00
sk89q
8e2fc8b0d4 Moved session code into SessionManager. 2014-04-03 19:12:30 -07:00
sk89q
1fd1e7aaf8 Moved RegionSelectors and RegionIterators into subpackages. 2014-04-03 18:32:51 -07:00
sk89q
2e904577b7 Added events for each stage of EditSession Extent creation. 2014-04-03 18:24:06 -07:00
sk89q
c8e455cd6f Removed binary-incompatible changes to EditSessionFactory. 2014-04-03 17:56:21 -07:00
sk89q
9d08f266bf Created pattern, mask, and block registries.
Deprecated getBlock, getBlockPattern, and so-on in WorldEdit.
2014-04-03 17:52:53 -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
6e70e8c862 Removed EditSessionFactory in favor of event-based system. 2014-04-02 18:57:25 -07:00
sk89q
7cf093ad40 Fixed pattern "X%Y" with no Y defined throwing an exception.
Fixes WORLDEDIT-2897.
2014-02-28 16:20:54 -08:00
TomyLobo
ef43e141ee Typo fix. 2013-12-02 10:35:01 +01:00
TomyLobo
1b9445b6f2 Added a "pos1" pseudo block type, which uses the block type from the "primary position". 2013-11-30 17:21:38 +01:00
TomyLobo
768adee389 Added a "hand" pseudo block type that uses the currently selected block. 2013-11-30 17:21:37 +01:00
TomyLobo
cd0bc62931 WorldEdit.getBlock (and its callers) can now throw any WorldEditException. 2013-11-30 17:21:34 +01:00
TomyLobo
8dbabe344d Reduced indentation level in some methods in WorldEdit.java and made WorldEdit.getBlock less confusing. 2013-11-30 00:00:02 +01: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
728dd52b0d Fixed a javadoc. 2013-11-17 18:31:12 +01:00
TomyLobo
627e029fbb Added a SolidBlockMask (#solid). 2013-10-30 08:49:14 +01:00
wizjany
cb8df85cc7 Allow colors for stained clay and carpet data values. 2013-10-02 21:55:51 -04:00
TomyLobo
2a4e6ac93a Added a separate point maximum for polyhedral selections. 2013-08-16 08:18:36 +02:00
wizjany
5f47ede05a Made generation commands respect the max-radius config setting. 2013-08-02 22:50:14 -04:00
wizjany
d7324f6b13 Made a checkMaxBrushRadius method for centralized use. 2013-08-02 21:34:20 -04:00
wizjany
bc39a913ea Fix logic error when checking for use-inventory overrides. 2013-07-26 08:33:52 -04:00
Albert Pham
142f5c8e5c Changed WorldEdit to use the new dispatcher. 2013-06-18 14:51:42 -07:00
wizjany
102a149dbb Fix setbiome issue and tweak a few block names. 2013-04-09 17:17:15 -04:00
wizjany
51515473bc Allow remove command to be used from console 2013-03-26 00:56:42 -04:00
Albert Pham
33d0d7cd6c Fixed WORLDEDIT-2717, max-blocks-changed . maximum overriden by default
min(default_limit, max_limit) meant that the max limit was really default_limit when the default was less than the max
2013-03-12 14:07:25 -07:00
Albert Pham
da6103c33e Fixed WORLDEDIT-2707, regex in WorldEdit.getBlockPattern()
Regex in WorldEdit.getBlockPattern() was overly complex.
2013-02-25 00:14:17 -08: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
83c71f30a8 Skulls should use underscores for player names, not spaces 2013-01-15 22:59:53 -05:00
Wizjany
57327fd37f Add support for skull blocks. 2013-01-13 04:37:36 -05:00
Wizjany
e09a0c64ad Add amount of missing blocks to message when using inventory. 2012-12-29 14:56:10 -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
Wizjany
a54c7437fc Add config option to allow symbolic links for files. 2012-12-25 18:42:20 -05:00
Wizjany
3f9404560e Remove old navigation perms for jumpto and thru 2012-12-24 01:42:55 -05:00
Wizjany
e4771416aa Added new items for 1.4.6
Fix permission for other help command (why are there two?)
- Made registerhelp read from yaml (not that the setting does anything)
Added an option to override data value limits.
- This should fix some mods which use data values above 16
- May cause issues if set to true and people mess with vanilla data values
2012-12-24 01:18:18 -05:00
aumgn
574f162019 Clean up warnings 2012-11-11 14:38:51 +01:00