68b8218bea
Moved containsFuzzy from EditSession to BaseBlock.
2013-12-03 23:53:44 +01:00
79bcfd815b
Fixed //deform not doing anything at all.
2013-11-30 17:18:53 +01:00
3fa9a4e309
Attached ascending rails to the block they're ascending towards, in addition to the block below them.
2013-11-17 23:43:38 +01:00
164601644a
//walls on non-cuboid regions no longer introduces gaps in walls beyond 45 degrees (aka slanted roofs :)).
...
This is a better way to solve #273 .
2013-11-03 10:20:49 +01:00
22d6c51976
Added /curve.
2013-11-01 20:24:09 +01:00
f4277c126d
Hollow lines; modified line-drawing; EditSession utility methods
...
Made hypot() and getHollowed() static
2013-11-01 20:24:08 +01:00
f38b6c484c
Line thickness support
2013-11-01 20:24:08 +01:00
91c6c69551
Add //line command and EditSession method
...
The EditSession method comes with javadoc.
2013-11-01 20:24:07 +01:00
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
f7c7292f79
Added a //generatebiome command, which uses formulae to generate free-form biomes.
...
Shorthands: //genbiome, //gb
2013-11-01 20:09:30 +01:00
803b4df72e
Masks are now checked in setBlock instead of rawSetBlock.
...
Untested!!!
2013-11-01 20:09:27 +01:00
961773ce5d
Added non-cuboid support for //walls and //outline.
2013-11-01 19:05:49 +01:00
f27d7e585d
Moved ArbitraryShape and WorldEditExpressionEnvironment to a new "shape" package.
2013-10-26 12:33:24 +02:00
661484f858
Code quality improvements.
2013-10-23 18:54:45 +02:00
921c354db7
Made everything that uses canPassThrough use data values.
2013-10-17 11:03:55 +02:00
aebaa921fd
Fixed some general silliness.
2013-10-17 11:03:26 +02:00
8badb09399
Added query{,Abs,Rel}(x,y,z,typevar,datavar) to the expression parser.
2013-09-21 19:44:56 +02:00
eacd147694
Optimized EditSession.countBlocks.
...
Also fixed the questionable semantics for that anonymous class' "contains" method.
2013-08-16 08:18:37 +02:00
c1396a2468
Added EditSession.moveRegion.
2013-08-04 01:34:54 +02:00
1af61f827b
Fix block setting while not in fast mode
2013-03-17 21:38:13 -04:00
9bb7968358
Make forest and pumpkin gens respect toggleplace. Make pumpkin gen have random faces.
2013-01-27 03:03:05 -05:00
0f77cb357b
Fixed ContainerBlocks spilling items when edited.
...
Fixed ContainerBlocks spilling items when edited, which caused an Item Duplication Exploit.
http://youtrack.sk89q.com/issue/WORLDEDIT-2381 - [Now Resolved]
2013-01-19 09:41:04 -05:00
d78bbc4f68
Merge Moo0's data flag for distr.
...
Also added data flag to //count.
//count -d 35 will now only search for white wool.
//count 35:5 will only search for green wool.
//count 35 will work as normal.
//count 35:-1 will also work.
2013-01-19 09:31:00 -05:00
e09a0c64ad
Add amount of missing blocks to message when using inventory.
2012-12-29 14:56:10 -05:00
e728445383
Prevent //snow from placing snow on some blocks that it shouldn't.
2012-12-25 18:42:20 -05:00
7fd5d1b61c
Add /center commmand
2012-08-29 11:51:57 +02:00
39d451438f
Changed EditSession.rawSetBlock() to call setBlock() on World.
2012-08-24 13:38:00 -07:00
48af65cac3
Updated foundation classes a bit and added raw access for NBT. This release marks experimental support for custom blocks, and nearly all future Minecraft blocks, and is also the beginning of the gradual transition to the new foundation classes as a replacement of the current BaseBlock, etc. classes.
2012-08-23 16:52:37 -07:00
b6d1146427
Added support for new tree types to TreeGenerator and make adding more tree types later easier
2012-03-17 15:28:49 -07:00
9f1cc0674d
Fixed EditSession.makeCylinder's mimimum height check
2012-02-11 15:27:46 -08:00
1f921779fa
Fixed the replaceBlocks that takes a Pattern too. Closes #1083 .
2012-02-07 17:14:14 -08:00
ea4ee34810
Fixed north face not being set with non-singleblockpatterns.
2012-02-07 00:37:52 +01:00
09f3364d9f
Moved the block data check to LocalWorld, adding preliminary support for custom blocks.
...
All unknown blocks are now assumed to carry data, and so this will also future proof WorldEdit (for the immediate future). However, be aware that full custom block support requires carrying TileEntity data (and perhaps other data) and that is not yet supported.
2012-02-05 17:47:09 -08:00
4bb5b56da8
Correctly check for null values in EditSession.replaceBlocks()
2012-02-05 16:26:19 -08:00
0bea058328
Fixed //replace. Closes #1069
2012-02-04 15:23:08 -08:00
d2c64e9304
BaseBlock changes
...
- Changed up EditSession.replaceBlocks to make BaseBlock.inIterable unnecessary.
- Returned BaseBlock.inIterable to its old state and deprecated it.
- Renamed the old BaseBlock.equals to equalsFuzzy, changed the parameter type and took the casts and type checks out.
- Made a new BaseBlock.equals that is consistent with the rules java prescribes.
2012-01-31 16:57:40 +01:00
9830d9d326
Revert "Using trove collections for most internal stuff, using array access in BlockType and ItemType"
...
This reverts commit 410ac65c6a
.
This has been causing compatibility issues with Spout. I haven't been ble to reproduce, but until somebody figures out why, this gets to go
2012-01-22 19:04:56 -08:00
8aa65fd7f4
License block changes
...
Added some missing license blocks
Added "and contributors" to all copyright notices.
Added $Id$ to files that were still missing it.
Changed "All rights reserved" to GPLv3 on Injector.java.
2012-01-20 08:24:32 +01:00
410ac65c6a
Using trove collections for most internal stuff, using array access in BlockType and ItemType
2012-01-16 19:27:18 -08:00
09a92fa76c
Added a block/pattern parameter to //hollow.
...
Also made a few variables final and optimized the thickness algo a bit.
2011-12-20 12:53:26 +01:00
633f6643a5
Added a thickness parameter to //hollow.
2011-12-19 11:58:38 +01:00
98216e2762
Added support for non-128 worldheights
2011-12-13 04:50:53 +01:00
3dabcdacd1
Made /green break on liquids.
2011-12-10 12:16:57 +01:00
2e1087a49a
Added a //hollow command, which hollows out the object contained in the selection.
2011-12-08 11:54:49 +01:00
662e597f1a
Moved temporary variable creation from Parser to Expression.
2011-11-30 04:45:48 +01:00
7e13b60a51
Cleanup
2011-11-23 04:48:40 +01:00
3ed5841863
The block bag fetch/place mapping is now taken from BlockType.getBlockBagItem.
2011-11-04 16:56:53 +01:00
ff39121fc8
Begun adding support for data/damage values to the blockbag.
2011-11-03 15:51:23 +01:00
187896c5ed
Made //deform round the results before lookup and fixed some potential issues.
2011-11-02 03:39:02 +01:00
2edf3559d8
EditSession: Split off a queueFinal, which contains only blocks that can be attached to other attached blocks.
...
This a speed improvement, since the recursive attachment checker turned out to be quite slow.
2011-11-01 21:58:50 +01:00