Commit graph

142 Commits

Autor SHA1 Nachricht Datum
TomyLobo
9ea977af77 Fixed some warnings. 2011-09-04 23:20:03 +02:00
TomyLobo
bb2f8bb350 Cleaned up WorldEdit.getFlipDirection. 2011-09-04 23:18:37 +02:00
Wizjany
e4cd6c23b6 Fixed odd-lengthed clipboards double flipping in the center as per anon's commit(s). 2011-09-03 20:25:20 -04: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
TomyLobo
780d07a9ba Fixed a warning. Seriously, guys... 2011-09-02 21:32:23 +02:00
TomyLobo
3205904003 //copy and //paste now respect /toggleplace. 2011-09-02 21:03:22 +02:00
zml2008
bc6315fb24 Fixed getting and setting of blocks in unloaded chunks 2011-08-29 17:31:08 -07:00
zml2008
02d8acfa81 Alowed performing undos from other player sessions, if they exist. 2011-08-29 14:24:46 -07:00
zml2008
a3186c2ce4 Removed old workaround from hmod 2011-08-29 14:24:46 -07:00
TomyLobo
b8a310dfdc Changed data type of BaseBlock.data from char to byte 2011-08-29 14:46:35 +02:00
zml2008
1562f17540 Added block damage support to //replace and //replacenear 2011-08-29 00:08:06 -07:00
zml2008
d83fed13fb Fixed 43 and 44 block data cycling 2011-08-28 20:46:54 -07:00
TomyLobo
4dcbae03fe Made some variables in CuboidClipboard.flip final 2011-08-28 12:28:31 +02:00
TomyLobo
8ac8cb77a5 Cleaned up bukkit event registration a bit and fixed 2 warnings. 2011-08-26 18:40:21 +02:00
TomyLobo
3f58187790 Fixed sign post flipping 2011-08-26 16:48:31 +02:00
TomyLobo
c6843a2c6d When flipping a door upside-down, the top and bottom parts are now swapped. 2011-08-26 14:08:02 +02:00
TomyLobo
c8bbcbd133 Fixed flipping of the central blocks in a clipboard with odd length. 2011-08-26 14:04:38 +02:00
TomyLobo
8e84e7ae18 - Added proper block flipping code for all blocks with proper rotation code except sign posts
- Fixed block rotation code for some blocks and cleaned it up a lot
- Added block rotation code for powered rails and detector rails
- //flip now flips all blocks, not just half of them
2011-08-26 13:14:39 +02:00
TomyLobo
2281684f20 - Added a -p flag to //flip that makes it flip around the player instead of the center of the clipboard.
- Code cleanup
2011-08-26 05:04:07 +02:00
Wizjany
da6e6da024 Cleanup. Added toString override for polygonal regions. 2011-08-24 18:27:18 -04:00
Droolio
26d07b4ca4 Fixed polygonal edges with explicit test for point-on-line segment
Closes pull #136
2011-08-24 00:19:00 -07:00
zml2008
ef60fa94bf Typo fixes 2011-08-24 00:17:27 -07:00
masteroftime
63262dbd5f Corrected number of arguments in //pos2 2011-08-22 23:05:31 +02:00
zml2008
91b7b8444f Added pattern support to /replacenear, //walls, and //faces 2011-08-21 23:56:10 -07:00
zml2008
9e13e25760 Fixed floodfill usage 2011-08-21 23:56:10 -07:00
TomyLobo
9de9004834 - Moved Bukkit event registration from WorldEditPlugin into the respective listeners.
- Changed registerEvent to the string-based system WorldGuard has, which should improve compatibility with differing Bukkit versions.
2011-08-21 23:05:03 +02:00
TomyLobo
d12bff993b Added //-prefixed aliases for most /-prefixed commands 2011-08-21 22:35:27 +02:00
Wizjany
a9498d2c68 Stop working around broken stuff and do it like we always have. 2011-08-21 11:47:29 -04: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
3c92bd9451 Worked around brokenness in PlayerInteractEvent 2011-08-17 13:38:23 -07: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
zml2008
c99d64cfa0 Removed unnecessary valid block checking (already in LocalWorld) 2011-08-16 22:29:06 -07:00
zml2008
a313f2e93e Made events respect isCancelled() 2011-08-16 18:39:07 -07:00
Wizjany
4d6bb6d746 Prevent setting blocks to items due to Bukkit's Material containing both. 2011-08-16 19:31:22 -04: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
ea445ebcf5 Added a -s flag to //chunk, which extends your current selection to the encompassed chunks. 2011-08-16 10:10:23 +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
a57830706e Added support for non-integer radius to //superpickaxe recursive and improved performance a bit by making the recurse method static. 2011-08-15 14:22:35 +02:00
TomyLobo
e67ea1e769 Commands that consider the player's look direction now also use up/down when the player's pitch is outside the [-67.5;67.5] interval. 2011-08-15 14:09:19 +02:00
TLUL
22cbc90b6d setTypeIdAndData in LocalWorld is no longer abstract - it now defaults to calling setBlockType and setBlockData. Restores compatibility with SinglePlayerCommands 2.10_2. 2011-08-14 03:48:18 -04:00
Wizjany
9d753c8692 Cleanup overlay/underlay mask. 2011-08-13 01:04:59 -04: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
b74670fda6 Fixed a warning 2011-08-12 08:20:40 +02:00
X1337X
bc31e4c20a Removed the >, or <, from the over and underlay masks - command is now /mask >id,id,id 2011-08-11 22:56:24 +02:00
X1337X
43bba317e5 Added overlay and underlay masks 2011-08-11 21:44:54 +01:00