Commit Graph

167 Commits

Author SHA1 Message Date
sk89q
8834af7538 Clean up and removal of some old exceptions. 2014-07-29 07:57:45 -07:00
sk89q
70f05c950a Made BukkitEntity keep a weak ref to the entity and cleaned up code. 2014-07-18 11:43:18 -07:00
sk89q
42be110097 Implemented new biome API. 2014-07-17 00:21:13 -07:00
sk89q
0ce7954dc9 Add support for copying entities between Extents. 2014-07-10 22:22:35 -07:00
sk89q
c564278dd6 Revert Extent.createEntity() taking a Vector. 2014-07-10 14:51:04 -07:00
sk89q
bd0e20e8a7 Have Extent.createEntity() take a Vector rather than a Location. 2014-07-10 02:58:04 -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
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
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
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
bf062298f1 Moved EditSession BlockQuirkExtent upward.
Should fix WORLDEDIT-3101.
2014-04-22 01:19:49 -07:00
sk89q
d85c0096a9 Fixed console commands not working due to null Worlds. 2014-04-05 21:49:25 -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
144302a487 Added shims for old EditSession constructors. 2014-04-03 20:48:42 -07:00
sk89q
2e904577b7 Added events for each stage of EditSession Extent creation. 2014-04-03 18:24:06 -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
1667fa5c79 OperationHelper -> Operations 2014-04-01 16:21:27 -07:00
sk89q
76b679caad Added EditSession Extent wrapping callbacks. 2014-03-31 20:46:57 -07:00
sk89q
761904e496 General code cleanup. 2014-03-31 20:29:05 -07:00
sk89q
8bec48dc9e Moved DoubleArrayList to util.collection. 2014-03-31 20:11:23 -07:00
sk89q
6985ff5250 Bypass history for undo/redo. 2014-03-31 18:49:39 -07:00
sk89q
b2d1562595 Implemented last-access-caching for getLazyBlock(). 2014-03-31 18:43:47 -07:00
sk89q
fa24eb60fa Added getLazyBlock() to Extent for performance. 2014-03-31 18:22:44 -07:00
sk89q
f688b3daa5 Fixed EditSession's Javadocs regarding notifyAdjacent. 2014-03-31 17:23:05 -07:00
sk89q
fe25d08267 Removed notifyAdjacent from Extent.setBlock().
Also fixed Extent's incorrect Javadocs.
2014-03-31 17:20:54 -07:00
sk89q
e7fe787b20 Broke up EditSession into many Extents. 2014-03-31 16:55:58 -07:00
sk89q
10e672a94a Added new history framework, visitors for history. 2014-03-30 22:33:16 -07:00
sk89q
cfdd87efac Fixed Javadocs in EditSession. 2014-03-30 14:46:50 -07:00
sk89q
a9797ed30b Changed /fix[water|lava] to use visitors. 2014-03-30 14:45:42 -07:00
sk89q
41c4033fbb Added LocalWorld.createLiquidMask(). 2014-03-30 14:16:06 -07:00
sk89q
cc8a89f415 Converted //drain to visitors. 2014-03-30 14:10:01 -07:00
sk89q
21496915af Made moveCuboidRegion() call moveRegion(). 2014-03-30 13:56:12 -07:00
sk89q
d64d3fbacb Added to @SuppressWarnings("deprecation") to converted EditSession methods. 2014-03-30 13:54:57 -07:00
sk89q
593a9e555a Fixed LayerVisitor constructors in EditSession. 2014-03-30 13:49:26 -07:00
sk89q
25021b4a30 Removed EditSession from RecursiveVisitor. 2014-03-30 13:46:20 -07:00
sk89q
f0d97c5231 Added new Pattern interface. 2014-03-30 12:59:39 -07:00
sk89q
b07fd594e9 Moved interpolation, filtering packages to math. 2014-03-30 12:13:45 -07:00
sk89q
75bee27610 Move Extent to extent sub-package. 2014-03-30 12:03:12 -07:00
sk89q
c8ee9ce931 Converted //move to visitors. 2014-03-30 10:29:00 -07:00
sk89q
37c388baef Converted //stack to visitors. 2014-03-30 03:08:56 -07:00
sk89q
9113cd4bd3 Added new Mask interface and deprecated old one. 2014-03-30 02:56:15 -07:00
sk89q
e657fd5be9 Moved noise classes to worldedit.math.* package. 2014-03-29 21:08:03 -07:00
sk89q
70f409975e Added support for Extent interface. 2014-03-29 21:05:09 -07:00
sk89q
3c5c257a41 Changed ground seeking operations to LayerVisitor. 2014-03-29 18:51:33 -07:00
sk89q
c804aeb03e Make FlatRegionVisitor take FlatRegions only. 2014-03-29 18:34:34 -07:00
sk89q
69f3862c11 Converted //naturalize to visitors. 2014-03-29 18:32:10 -07:00
sk89q
1b6d32ba3a Converted //overlay to visitors. 2014-03-28 16:49:01 -07:00