aumgn
7fd5d1b61c
Add /center commmand
2012-08-29 11:51:57 +02:00
sk89q
39d451438f
Changed EditSession.rawSetBlock() to call setBlock() on World.
2012-08-24 13:38:00 -07:00
sk89q
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
zml2008
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
zml2008
9f1cc0674d
Fixed EditSession.makeCylinder's mimimum height check
2012-02-11 15:27:46 -08:00
zml2008
1f921779fa
Fixed the replaceBlocks that takes a Pattern too. Closes #1083 .
2012-02-07 17:14:14 -08:00
TomyLobo
ea4ee34810
Fixed north face not being set with non-singleblockpatterns.
2012-02-07 00:37:52 +01:00
sk89q
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
zml2008
4bb5b56da8
Correctly check for null values in EditSession.replaceBlocks()
2012-02-05 16:26:19 -08:00
zml2008
0bea058328
Fixed //replace. Closes #1069
2012-02-04 15:23:08 -08:00
TomyLobo
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
zml2008
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
TomyLobo
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
zml2008
410ac65c6a
Using trove collections for most internal stuff, using array access in BlockType and ItemType
2012-01-16 19:27:18 -08:00
TomyLobo
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
TomyLobo
633f6643a5
Added a thickness parameter to //hollow.
2011-12-19 11:58:38 +01:00
zml2008
98216e2762
Added support for non-128 worldheights
2011-12-13 04:50:53 +01:00
TomyLobo
3dabcdacd1
Made /green break on liquids.
2011-12-10 12:16:57 +01:00
TomyLobo
2e1087a49a
Added a //hollow command, which hollows out the object contained in the selection.
2011-12-08 11:54:49 +01:00
TomyLobo
662e597f1a
Moved temporary variable creation from Parser to Expression.
2011-11-30 04:45:48 +01:00
TomyLobo
7e13b60a51
Cleanup
2011-11-23 04:48:40 +01:00
TomyLobo
3ed5841863
The block bag fetch/place mapping is now taken from BlockType.getBlockBagItem.
2011-11-04 16:56:53 +01:00
TomyLobo
ff39121fc8
Begun adding support for data/damage values to the blockbag.
2011-11-03 15:51:23 +01:00
TomyLobo
187896c5ed
Made //deform round the results before lookup and fixed some potential issues.
2011-11-02 03:39:02 +01:00
TomyLobo
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
TomyLobo
4f1196ce2d
Added a //deform command, which deforms a region given an expression that operates on the x/y/z variables.
2011-11-01 15:27:13 +01:00
TomyLobo
a5e5880064
Moved shape generation to EditSession.
...
Also refactored it to get rid of the 3 different anonymous classes.
2011-11-01 15:27:12 +01:00
TomyLobo
c5c68f481b
Moved all command-implementing methods to the bottom of the file.
2011-11-01 14:54:32 +01:00
TomyLobo
6b0f237a46
Removed extra fastLighting flag.
...
Fast lighting is now used when available.
2011-10-31 03:28:05 +01:00
Wizjany
699807665d
Cleanup
2011-10-29 11:57:45 -04:00
TomyLobo
58be9d9be4
Added support for stretched cylinders and brought their profile in line with that of the central layer of a sphere of the same x/z radius.
2011-10-28 20:34:08 +02:00
TomyLobo
318e81886c
Removed -q flag from //[h]sphere and the code to back it.
...
The speed difference between the "flexible" and the "quick" variant is so minor that it doesn't justify the aditional code complexity.
2011-10-28 15:10:14 +02:00
TomyLobo
906b6dd832
Forgot to save...
2011-10-25 23:26:25 +02:00
TomyLobo
4f7e1a6b31
Improved speed greatly by deferring lighting until after all blocks are in place.
...
This needs CraftBukkit to work.
2011-10-24 13:44:22 +02:00
TomyLobo
ffe5f89afc
EditSession.flushQueue(): queueLast is now ordered with attachments in mind.
2011-10-24 04:31:34 +02:00
zml2008
050eef8dc7
Fixed checkLoadedChunk
2011-10-10 02:01:50 -04:00
Wizjany
f90e47da9a
Removed trailing whitespaces.
2011-09-24 15:32:03 -04:00
Wizjany
b5b55a2775
Cleanup and a few bugfixes
2011-09-24 15:24:10 -04:00
Wizjany
43809a705d
More BlockType cleanup
2011-09-19 00:43:39 -04:00
zml2008
3f369f104a
Abstracted type detection of simulateBlockMine into BlockType.
2011-09-17 22:00:14 -07:00
zml2008
a1cf6eb6da
Allow //replace to ignore from block damage values (and force them to not be ignored with the -f flag)
2011-09-17 21:50:06 -07:00
TomyLobo
d6ed17dd9d
Made some variables final.
2011-09-16 05:48:09 +02:00
TomyLobo
3bcd9a932b
Replaced lots of else if constructs by switch/case and other simpler constructs.
2011-09-05 04:20:36 +02:00
Wizjany
4c00a24c1d
Abstracted all block IDs to BlockID and item ids to ItemType. Overloaded recently changed methods for compatibility and cleaned a few things up.
2011-09-03 13:01:51 -04:00
TomyLobo
8c0d0f9ed4
//[h]sphere can now generate ellipsoid (stretched sphere) shapes
2011-09-03 18:59:18 +02:00
zml2008
bc6315fb24
Fixed getting and setting of blocks in unloaded chunks
2011-08-29 17:31:08 -07:00
zml2008
1562f17540
Added block damage support to //replace and //replacenear
2011-08-29 00:08:06 -07:00
Wizjany
da6e6da024
Cleanup. Added toString override for polygonal regions.
2011-08-24 18:27:18 -04:00
zml2008
91b7b8444f
Added pattern support to /replacenear, //walls, and //faces
2011-08-21 23:56:10 -07:00
TomyLobo
e09a66d859
Gave /green a larger "ignored blocks" set.
2011-08-20 15:51:25 +02:00
TomyLobo
2893438f8e
/green now fails a bit less.
2011-08-20 15:18:17 +02:00
zml2008
59ade7a386
Abstracted natural blocktype checking to BlockType.isNaturalBlock
2011-08-17 13:36:17 -07:00
TomyLobo
93620ec168
The /green command should now only affect dirt on the top layer.
2011-08-17 13:19:35 +02:00
zml2008
2b94ddf7ed
Added flag to //smooth to only use "natural" blocks
2011-08-17 00:33:46 -07:00
TomyLobo
151b4c0fa1
Added a /green command, which greens the surrounding landscape.
2011-08-16 18:43:13 +02:00
TomyLobo
6c5d1236c7
Fixed non-integer radius support for /thaw and /snow.
2011-08-16 18:42:29 +02:00
TomyLobo
c79d90bb99
Added support for non-integer radius to //fill, //fillr, //drain, //fixlava, //fixwater, //snow and //thaw.
2011-08-15 14:35:21 +02:00
TomyLobo
af2429467d
Optimized //(h)sphere a bit and made the shell for //hsphere as thin as possible.
2011-08-12 08:20:40 +02:00
TomyLobo
9d98ca3db8
Added library support for non-integer radius spheres and cylinders.
2011-08-07 05:19:17 +02:00
hretsam
282b3fbd05
Merge branch 'master' of git@github.com:sk89q/worldedit.git
2011-08-07 02:42:12 +02:00
hretsam
2342acfae2
Added pyramid generation with /pyramid & /hpyramid
2011-08-07 02:40:48 +02:00
TomyLobo
79f8a032f3
Fixed warnings.
2011-08-07 02:34:30 +02:00
Elizabeth Jennifer Myers
4aa9f7d35b
EditSession: Fix hcyl height checks.
...
The height check was incorrect for certain height/position combinations,
causing the cyl to be the wrong length.
Closes #119
2011-08-05 15:34:05 -04:00
sk89q
8ea980a303
Changed //smooth to smooth nearly everything.
2011-08-02 15:52:58 -07:00
sk89q
8bb0629d79
Added //naturalize.
2011-08-02 15:52:57 -07:00
Jacob Scott
66dcc99809
fixed superpickaxe for gravel & lightstone, preprocessors faster than postprocessors, added methods so same-type changes are visble client-side, fixed fixliquid & setblocks block count
2011-07-15 02:00:48 -05:00
sk89q
e20cca38fd
Change the block type check to be implementation-dependent. The Bukkit plugin now checks Bukkit's Material.
2011-06-04 22:22:23 -07:00
sk89q
0f040429c5
Added flood fill tool, fixed data values not being set properly.
2011-06-04 19:41:12 -07:00
sk89q
aa17d2f0e0
Added //gmask to set a *GLOBAL* mask that affects nearly ALL operations. Now you can confine //sphere to a region or create //walls that do not replace existing blocks.
2011-06-04 12:16:10 -07:00
sk89q
d881c14e2d
Added //fast mode, which allows the server to skip the dirtying of chunks. This means that you have to rejoin to see changes though, but most operations are doubled in speed.
2011-06-04 10:30:45 -07:00
Wizjany
5d44053429
Updated for MC 1.6
2011-05-26 16:09:33 -04:00
sk89q
582b98dad0
More file moving.
2011-05-01 01:30:33 -07:00