Commit Graph

151 Commits

Author SHA1 Message Date
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
sk89q
53730bfa20 Moved packages to worldedit.function.*. 2014-03-28 16:15:40 -07:00
sk89q
60b839ed09 Changed how ground finding operations were implemented. 2014-03-28 16:13:27 -07:00
sk89q
fd8ad9b988 Removed messages from EditSession not-null preconditions. 2014-03-28 00:41:00 -07:00
sk89q
f509a3128e Switched //faces and //walls to use visitors. 2014-03-28 00:40:04 -07:00
sk89q
9cd164ae98 Removed mask support from BlockCount.
RegionMaskFilter handles it.
2014-03-27 21:11:02 -07:00
sk89q
a6e979ec6c Moved visitors to com.sk89q.worldedit.visitor. 2014-03-27 21:07:38 -07:00
sk89q
e022804c27 Changed //center to use visitors. 2014-03-27 21:04:07 -07:00
sk89q
570b4ebd93 Made CuboidRegions in EditSession clamp Y to world. 2014-03-27 20:57:20 -07:00
sk89q
5cfc05c616 Converted /removenear, //replace to visitors. 2014-03-27 20:48:36 -07:00
sk89q
b21f944570 Changed /remove[above|below], //set to use visitors. 2014-03-27 19:57:24 -07:00
sk89q
dbb7b085f0 Changed //count, //fill, //fillr to use visitors. 2014-03-27 08:22:18 +01:00
sk89q
7c4a67d32b FlatRegionApplicator -> FlatRegionVisitor. 2014-03-27 08:22:17 +01:00
sk89q
c5fdfa7a0d Made GroundScatterFunction use a NoiseGenerator. 2014-03-01 16:52:36 -08:00
sk89q
d2e93dfe23 Added GardenPatchGenerator, GroundScatterFunction.
/pumpkins now uses the new classes.
2014-03-01 15:46:00 -08:00
sk89q
c87b1acbad Added FlatRegionApplicator for FlatRegionFunctions. 2014-03-01 12:37:18 -08:00
sk89q
504c7a5ff1 Have upperY and lowerY on GroundFindingFunction be set via mutators. 2014-03-01 12:03:10 -08:00