Commit Graph

17 Commits

Author SHA1 Message Date
sk89q
8834af7538 Clean up and removal of some old exceptions. 2014-07-29 07:57:45 -07:00
sk89q
c2a0f590b1 Refactor RegionSelectors so limits are passed in during selection. 2014-07-28 19:50:01 -07:00
sk89q
3e34d5ca52 Re-implement /remove and /butcher with the new entity API. 2014-07-15 19:47:47 -07:00
sk89q
4f5e130b59 Add -p to /br clipboard to paste using origin of clipboard.
Closes WORLDEDIT-2825.
2014-07-10 01:19:08 -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
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
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
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
900c9b5258 Added BlockInteractEvent to replace handleBlockLeftClick().
Needed quite a shim for tools/brushes for now.
2014-06-26 16:56:40 -07:00
sk89q
f94be80923 Changed Super Pickaxe to use EditSession.
This fixes WORLDEDIT-3102 and allows the logging of Super Pickaxe
usage via the EditSession Extent pipeline.
2014-04-23 00:33:00 -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
e0fd804f70 Standardized file headers. 2014-04-04 15:23:11 -07:00
sk89q
0ed62b8f90 Moved RegionSelector back to regions package to reduce API breakage. 2014-04-03 19:50:05 -07:00
sk89q
1fd1e7aaf8 Moved RegionSelectors and RegionIterators into subpackages. 2014-04-03 18:32:51 -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