Commit Graph
100 Commits
Author SHA1 Message Date
sk89q e7d5cc8603 Added Mask2D and AbstractMask2D. 2014-03-28 16:12:39 -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 6c1ff02df5 Add getFaces() and addWalls() to CuboidRegion. 2014-03-28 00:39:39 -07:00
sk89q dd244bfe04 Add getFaces() and addWalls() to CuboidRegion. 2014-03-28 00:39:34 -07:00
sk89q 09ca5c3131 Cleaned up Javadocs for CuboidRegion; added preconditions. 2014-03-28 00:16:24 -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 d9ad0014f0 Made CuboidRegion(world, ...) constructor clamp to world. 2014-03-27 20:54:35 -07:00
sk89q 5cfc05c616 Converted /removenear, //replace to visitors. 2014-03-27 20:48:36 -07:00
sk89q 2311964b82 Added RegionMaskFilter to filter a RegionFunction. 2014-03-27 20:47:25 -07:00
sk89q 8c3912b5e7 Added FuzzyBlockMask(BaseBlock... block) constructor. 2014-03-27 20:47:01 -07:00
sk89q b21f944570 Changed /remove[above|below], //set to use visitors. 2014-03-27 19:57:24 -07:00
sk89q 377182da5f Added Guava... for now.
We have to check to some serious breakage across the board before we can
release.
2014-03-27 19:56:39 -07:00
sk89qandTomyLobo dbb7b085f0 Changed //count, //fill, //fillr to use visitors. 2014-03-27 08:22:18 +01:00
sk89qandTomyLobo 2562a2f577 Added OperationHelper.completeBlindly(). 2014-03-27 08:22:18 +01:00
sk89qandTomyLobo 45c2868d4c Added various visitors (BFS, Downward, Recursive, Region). 2014-03-27 08:22:18 +01:00
sk89qandTomyLobo a7300cf9ef Aded BlockReplace, which replaces blocks with a pattern. 2014-03-27 08:22:18 +01:00
sk89qandTomyLobo 79643790cc Added BlockCount, which counts the number of blocks matching a mask. 2014-03-27 08:22:17 +01:00
sk89qandTomyLobo c7fcbb299d Added FuzzyBlockMask, which uses BaseBlock.containsFuzzy. 2014-03-27 08:22:17 +01:00
sk89qandTomyLobo 0cafe4abb8 Added BoundedYMask that requires that Y is in a range. 2014-03-27 08:22:17 +01:00
sk89qandTomyLobo 52bbbb1797 Added CombinedMask(Mask ...mask) constructor. 2014-03-27 08:22:17 +01:00
sk89qandTomyLobo 7c4a67d32b FlatRegionApplicator -> FlatRegionVisitor. 2014-03-27 08:22:17 +01:00
sk89q b3e03f59ac Don't grow pumpkin patches on non-grass blocks. 2014-03-01 16:57:14 -08: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 fb634ef95b Delegate flora creation to new FloraGenerator.
Sadly, no biome-specific flowers because the biome API in WorldEdit apparently needs some improvement.
2014-03-01 14:37:08 -08:00
sk89q 0402faa839 Added GroundFindingFunction.shouldPassThrough(). 2014-03-01 14:08:17 -08:00
sk89q 31060e1e0c Moved FlatRegion cast code to FlatRegionApplicator's constructor. 2014-03-01 13:54:44 -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
sk89q 6f116cd564 Added FloraPlacer FlatRegionFunction and //flora. 2014-03-01 10:41:32 -08:00
sk89q bc711d9036 Implemented ForestGenerator that performs the "forestgen" or "//forest" commands. 2014-03-01 02:51:50 -08:00
sk89q c9d93d12a1 Added FlatRegionFunction and GroundFindingFunction.
FlatRegionFunction takes apply(Vector2D) and GroundFindingFunction is an implementation of FlatRegionFunction that searches for the first ground block.
2014-03-01 02:51:50 -08:00
sk89q 086533e6bc Fixed incorrect arg shifting on //forest. 2014-03-01 02:51:50 -08:00
sk89q 24b58edceb Updated changelog. 2014-02-28 16:32:43 -08: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
sk89q 513940a80b Fixed /we help to always check the lowercase command name.
Fixes WORLDEDIT-2876.
2014-02-28 16:18:07 -08:00
sk89q 0e615e5bf7 Added //forest that generates a forest in a selection.
Fixes WORLDEDIT-2958.
2014-02-28 16:15:51 -08:00
sk89q 9627d830d7 Added CuboidRegion.makeCuboid(Region). 2014-02-28 16:15:14 -08:00
sk89q 6bfcaca6d3 Added EditSession.forestGen() that takes Iterable<Vector2D>. 2014-02-28 16:14:44 -08:00
sk89q 2e2d432d11 Removed the /fill command as an alias of /material.
Fixes WORLDEDIT-3016.
2014-02-28 15:42:28 -08:00
sk89q 15642ca54f Prepare for 5.6 release. 2014-02-28 15:38:26 -08:00
Albert Pham fae4bd3f21 Added <snapshotRepository> to pom.xml 2014-02-23 22:23:38 -08:00
Albert Pham 81a76c5d4f Merge pull request #277 from sk89q/hand
Added "hand" and "pos1" pseudo block types that use the current quickbar slot and the block at the current pos1, respectively.
2013-11-30 10:30:06 -08:00
Albert Pham a8f4013cbb Merge pull request #278 from sk89q/attachments
Fixed some bugs in the attachment information WE uses to reorder block changes.
2013-11-17 15:17:29 -08:00
Albert Pham 157c0fa60b Merge pull request #276 from sk89q/better-non-cuboid-walls
//walls on non-cuboid regions no longer introduces gaps in walls beyond 45 degrees.
2013-11-04 23:13:37 -08:00
Albert Pham 60f6580553 Merge pull request #275 from sk89q/linecurve
//line and //curve by @orthoplex64
2013-11-01 12:37:08 -07:00
Albert Pham 9930fb7338 Merge pull request #269 from sk89q/generatebiome
Added a //generatebiome command, which uses formulae to generate free-form biomes.
2013-11-01 12:23:27 -07:00
Albert Pham 37e52707f1 Merge pull request #274 from sk89q/redomasks
Apply masks before history (clone)
2013-11-01 12:17:40 -07:00
Albert Pham 69bcaa7133 Merge pull request #272 from sk89q/solidmask
Added a #solid mask
2013-11-01 12:08:29 -07:00
Albert Pham 8b2be37f93 Merge pull request #273 from sk89q/non-cuboid-walls
Added non-cuboid support for //walls and //outline.
2013-11-01 11:52:58 -07:00
Albert Pham 8d685946c0 Merge pull request #271 from sk89q/up-noglass
/up and /ceil now use less glass, particularly for creative mode
2013-10-26 03:06:20 -07:00
Albert Pham 886b2ab720 Merge pull request #267 from sk89q/rotating
Block rotation/flip fixes and removed MCPCPlusXNmsBlock_151dv.java from resources/
2013-10-20 23:41:09 -07:00
Albert Pham b891660263 Merge pull request #268 from sk89q/blocktype-adjustments
Added data values to the BlockType methods and used those in a few places.
2013-10-18 17:00:45 -07:00
Albert Pham a65b574d9d Merge pull request #266 from sk89q/expression
Fixed the query functions not comparing data values at all for their return values.
2013-09-25 11:59:47 -07:00
Albert Pham 0f764187d0 Merge pull request #264 from sk89q/expression
Expression parser changes
2013-09-22 11:39:13 -07:00
Albert Pham 10c43a9c9f Made McRegionReader.getChunkInputStream() throw a DataException instead of returning a null when an ungenerated chunk is encountered. 2013-06-02 12:14:56 -07:00
sk89qandwizjany 9139775c52 Updated changelog for 5.5.3. 2013-03-17 11:12:44 -04:00
sk89q 9ac04f8cfe Cleaned up pom.xml, added attach-docs profile to separately generate Javadocs/source jars. 2013-03-16 00:42:56 -07:00
Albert Pham 184d02d2e3 Updated BukkitWorld NMS fields to be static.
This prevents attempts at loading the proper NMS compatibility classes from occurring more than once.
2013-03-12 18:05:14 -07: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
sk89q 7eac40c6e7 Updated .gitignore with a few more entries. 2013-02-25 16:48:42 -08: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
Albert Pham e17a35bb15 Chunk's Add section stores the first block in the lowest nibble 2013-02-23 22:39:59 -08:00
Albert Pham 02abf41b83 Fixed AddBlocks (again) and simplified expression.
Herpy derpy, >> 2 is not divide by 2, and I am not sure what I was thinking with the double shift.
2013-02-23 22:19:51 -08:00
sk89q 5cf69f4972 Hey, we have a mailing list now! Subscribe! https://groups.google.com/d/forum/sk-dev-discuss 2012-11-07 12:59:52 -08:00
sk89q 79c972125a [maven-release-plugin] prepare for next development iteration 2012-11-03 12:59:46 -07:00
sk89q 71b7c8a08b [maven-release-plugin] prepare release 5.4.5 2012-11-03 12:59:32 -07:00
sk89q d198961e12 Updated for 5.4.5. 2012-11-03 12:58:04 -07:00
sk89q 14e283a1e9 [maven-release-plugin] prepare for next development iteration 2012-11-03 12:30:02 -07:00
sk89q 887695408c [maven-release-plugin] prepare release 5.4.4 2012-11-03 12:29:49 -07:00
sk89q f20e2cf055 Updated for 5.4.4. 2012-11-03 12:28:50 -07:00
sk89q ae75061492 Updated item information database. 2012-10-28 20:50:36 -07:00
sk89q ff0dd68a86 Updated block information database. 2012-10-28 20:49:26 -07:00
sk89q 74c456079a Updated item IDs for 1.4.x. 2012-10-28 12:51:39 -07:00
sk89q 6b392d1609 Remove auto-LF conversion from .gitattributes because it doesn't seem to work that well. 2012-10-28 12:48:52 -07:00
sk89q 417c9a2137 Moved Spout plugin to separate Maven profile.
This was done so that WorldEdit doesn't break during compilation out of the blue. To compile WorldEdit with spout, use "mvn -Pspout".
2012-10-28 12:35:24 -07:00
sk89q 1ba6825124 Updated CONTRIBUTING.md's intro. 2012-10-28 11:08:31 -07:00
sk89q 144512eff0 Updated README.md to point to CONTRIBUTING.md, fixed typo in CONTRIBUTING.md. 2012-10-25 11:52:09 -07:00
sk89q f4aaf0c881 Updated .gitattributes to force LF when committed. 2012-10-25 11:48:44 -07:00
sk89q 36d5cae7ef Added CONTRIBUTING.md for GitHub 2012-10-25 11:47:58 -07:00
sk89q caa5fcdcdf Fixed //limit being overridden each time a LocalSession is fetched. 2012-10-22 20:27:43 -07:00
sk89q 5402da6c70 Fixed issue with block IDs being returned negative in snapshots. 2012-10-20 23:38:26 -07:00
sk89q 5523e7e73d Removed NOTICE.txt. Some license used to require it but I don't think we use that library anymore. 2012-10-20 11:33:46 -07:00
sk89q 885552e566 Tabs -> spaces in README.html. 2012-10-20 00:58:33 -07:00
sk89q 1fb69b06f7 Added support for 4096 ID blocks (theoretically) in snapshots.
Also cleaned up the mess that was AnvilChunk's code.
2012-10-20 00:54:21 -07:00
sk89q 0f49186bf5 Fixed reported bug that block #0 (air) is not considered valid.
Fixed a reported bug that block #0 (air) is not considered valid. Also set skipNmsValidBlockCheck to true if the check fails (as I assume was originally intended).
2012-10-18 23:12:53 -07:00
4c532d9772 Merge pull request #107 from wizjany/master
MC 1.6 support
2011-05-26 15:31:36 -07:00
8a4e1fd281 Merge pull request #105 from wizjany/master
More command flags
2011-05-25 13:29:29 -07:00
fedaf82af9 Merge pull request #100 from wizjany/master
Added a method to check if a block is a rail
2011-05-11 20:48:53 -07:00
08daee3727 Merge pull request #98 from stoneLeaf/master
Corrected a logfile issue.
2011-05-07 22:47:33 -07:00
sk89q 3a361b98bc Made EditSession.rawSetBlock() public. 2011-03-18 17:08:38 -07:00
sk89q 9fa787b9de Updated for 4.2. 2011-03-13 20:55:37 -07:00
sk89q 024604e204 Fixed the permissions resolver not being loaded if it was loaded after a plugin was enabled or re-enabled. 2011-03-13 20:40:40 -07:00
sk89q 66edfbbae6 Added /worldedit tz to set your timezone. It currently does not persist yet. Example: /we tz america/los_angeles 2011-03-13 20:36:28 -07:00
sk89q 12ba1a9fc4 Removed GroupUsers support. 2011-03-13 20:28:15 -07:00
sk89q e2c0670a81 Cleaned up some code. 2011-03-13 20:26:26 -07:00