0ce7954dc9
Add support for copying entities between Extents.
2014-07-10 22:22:35 -07:00
c564278dd6
Revert Extent.createEntity() taking a Vector.
2014-07-10 14:51:04 -07:00
bd0e20e8a7
Have Extent.createEntity() take a Vector rather than a Location.
2014-07-10 02:58:04 -07:00
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
d96d3cf8bc
Changed instances of Pattern, Mask, etc. to newer versions.
...
Most affected is the brush code.
2014-06-27 19:55:38 -07:00
c4c19017bb
Added incomplete entity support to all Extents.
...
The Bukkit implementation supports the new entity API, but it has
not yet been tested. The Forge implementation does not support the
entity API yet.
At the moment, an UnsupportedOperationException is thrown for
Entity.getState() in some implementations, but use of an exception
should probably not be allowed.
BaseEntity is now an interface. It should not be possible to create
instances of BaseEntity because it may be implementation-specific.
2014-04-27 23:34:39 -07:00
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
bf062298f1
Moved EditSession BlockQuirkExtent upward.
...
Should fix WORLDEDIT-3101.
2014-04-22 01:19:49 -07:00
d85c0096a9
Fixed console commands not working due to null Worlds.
2014-04-05 21:49:25 -07:00
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
e0fd804f70
Standardized file headers.
2014-04-04 15:23:11 -07:00
144302a487
Added shims for old EditSession constructors.
2014-04-03 20:48:42 -07:00
2e904577b7
Added events for each stage of EditSession Extent creation.
2014-04-03 18:24:06 -07:00
9d08f266bf
Created pattern, mask, and block registries.
...
Deprecated getBlock, getBlockPattern, and so-on in WorldEdit.
2014-04-03 17:52:53 -07:00
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
6e70e8c862
Removed EditSessionFactory in favor of event-based system.
2014-04-02 18:57:25 -07:00
1667fa5c79
OperationHelper -> Operations
2014-04-01 16:21:27 -07:00
76b679caad
Added EditSession Extent wrapping callbacks.
2014-03-31 20:46:57 -07:00
761904e496
General code cleanup.
2014-03-31 20:29:05 -07:00
8bec48dc9e
Moved DoubleArrayList to util.collection.
2014-03-31 20:11:23 -07:00
6985ff5250
Bypass history for undo/redo.
2014-03-31 18:49:39 -07:00
b2d1562595
Implemented last-access-caching for getLazyBlock().
2014-03-31 18:43:47 -07:00
fa24eb60fa
Added getLazyBlock() to Extent for performance.
2014-03-31 18:22:44 -07:00
f688b3daa5
Fixed EditSession's Javadocs regarding notifyAdjacent.
2014-03-31 17:23:05 -07:00
fe25d08267
Removed notifyAdjacent from Extent.setBlock().
...
Also fixed Extent's incorrect Javadocs.
2014-03-31 17:20:54 -07:00
e7fe787b20
Broke up EditSession into many Extents.
2014-03-31 16:55:58 -07:00
10e672a94a
Added new history framework, visitors for history.
2014-03-30 22:33:16 -07:00
cfdd87efac
Fixed Javadocs in EditSession.
2014-03-30 14:46:50 -07:00
a9797ed30b
Changed /fix[water|lava] to use visitors.
2014-03-30 14:45:42 -07:00
41c4033fbb
Added LocalWorld.createLiquidMask().
2014-03-30 14:16:06 -07:00
cc8a89f415
Converted //drain to visitors.
2014-03-30 14:10:01 -07:00
21496915af
Made moveCuboidRegion() call moveRegion().
2014-03-30 13:56:12 -07:00
d64d3fbacb
Added to @SuppressWarnings("deprecation") to converted EditSession methods.
2014-03-30 13:54:57 -07:00
593a9e555a
Fixed LayerVisitor constructors in EditSession.
2014-03-30 13:49:26 -07:00
25021b4a30
Removed EditSession from RecursiveVisitor.
2014-03-30 13:46:20 -07:00
f0d97c5231
Added new Pattern interface.
2014-03-30 12:59:39 -07:00
b07fd594e9
Moved interpolation, filtering packages to math.
2014-03-30 12:13:45 -07:00
75bee27610
Move Extent to extent sub-package.
2014-03-30 12:03:12 -07:00
c8ee9ce931
Converted //move to visitors.
2014-03-30 10:29:00 -07:00
37c388baef
Converted //stack to visitors.
2014-03-30 03:08:56 -07:00
9113cd4bd3
Added new Mask interface and deprecated old one.
2014-03-30 02:56:15 -07:00
e657fd5be9
Moved noise classes to worldedit.math.* package.
2014-03-29 21:08:03 -07:00
70f409975e
Added support for Extent interface.
2014-03-29 21:05:09 -07:00
3c5c257a41
Changed ground seeking operations to LayerVisitor.
2014-03-29 18:51:33 -07:00
c804aeb03e
Make FlatRegionVisitor take FlatRegions only.
2014-03-29 18:34:34 -07:00
69f3862c11
Converted //naturalize to visitors.
2014-03-29 18:32:10 -07:00
1b6d32ba3a
Converted //overlay to visitors.
2014-03-28 16:49:01 -07:00
53730bfa20
Moved packages to worldedit.function.*.
2014-03-28 16:15:40 -07:00
60b839ed09
Changed how ground finding operations were implemented.
2014-03-28 16:13:27 -07:00
fd8ad9b988
Removed messages from EditSession not-null preconditions.
2014-03-28 00:41:00 -07:00