Commit Graph

1516 Commits

Author SHA1 Message Date
sk89q
ebb25ff41c Now using com.sk89q.worldedit.blocks.BlockType for block type queries. rawSetBlock() now handles changes in block data. WorldEdit.getBlock() now supports specifying data and sign text. 2010-10-15 00:22:03 -07:00
sk89q
47efbb6b18 Fixed a typo in the help of /descend. 2010-10-14 23:40:28 -07:00
sk89q
fcf02df4dc Added /editcut. 2010-10-14 23:39:07 -07:00
sk89q
9dc324f00a Fill routine is now no longer dependent on the state of a block as reported by the server (infinite recursion fixed on non-block items). 2010-10-14 12:06:32 -07:00
sk89q
92dc88562c Renamed hey0's plugin to SMWorldEdit. Made WorldEdit somewhat a singleton to hold the ServerInterface instance. 2010-10-14 11:59:45 -07:00
sk89q
5f1a014bfb Added /toggleplace which lets you perform actions that require one point to use position #1 rather than your feet. 2010-10-14 02:14:18 -07:00
sk89q
9739336730 Changed super axe command to /,. 2010-10-14 02:01:10 -07:00
sk89q
98d1a0be05 Fixed the order of the tool checking code you can now use edit wand again. 2010-10-14 01:43:20 -07:00
sk89q
3bf7c08ad6 Added support for block data and sign texts. Decoupled more code from the server modification. 2010-10-14 01:31:05 -07:00
sk89q
d1eca7c429 Changed everything to use BaseBlock, which supports block data and soon some tile entity data. 2010-10-13 16:49:35 -07:00
sk89q
23b24b3615 Added super pick axe and /.. 2010-10-13 11:26:07 -07:00
sk89q
598f4aa6cd Changed the clipboard so it doesn't store min/max anymore, just origin and offset. Added /editrotate. 2010-10-13 10:08:53 -07:00
sk89q
bd9a90f01d Re-implemented /forestgen in Java. This version does not replace existing blocks. Undo system fixed. 2010-10-12 22:38:05 -07:00
sk89q
a5ac9514ab Added /toggleeditwand, removed unused tool click stuff. 2010-10-12 22:10:17 -07:00
sk89q
514a78272e Added /ascend and /descend. 2010-10-12 22:06:46 -07:00
sk89q
87daf8e7ed Fixed help for /editstack(air). 2010-10-12 21:43:01 -07:00
sk89q
6ab19fd52d Added /editexpand and /editcontract. 2010-10-12 21:41:06 -07:00
sk89q
68dcce31f8 Removed Point/BlockPoint to Vector/BlockVector. 2010-10-12 18:03:56 -07:00
sk89q
c039e8e77d Updated to v115 with PluginListener. WorldEdit decoupled from plugin. 2010-10-12 13:51:25 -07:00
sk89q
aea64916e3 Removed scripting support. 2010-10-11 13:27:37 -07:00
sk89q
2f2ff86bac Converted /editdrain to use own stack. 2010-10-11 11:30:11 -07:00
sk89q
6882aa416d Switched undo/redo buffer to use BlockPoint. Added Point.toBlockPoint(). 2010-10-11 11:21:43 -07:00
sk89q
f64cc76906 Added /editdrain, added BlockPoint that compares using ints. 2010-10-11 11:17:32 -07:00
sk89q
7823aa2a6c Added Javadocs for EditSession.stackCuboidRegion() 2010-10-11 10:27:18 -07:00
sk89q
0044ddf48b Removed Apache commons dependency. 2010-10-11 09:44:22 -07:00
sk89q
10703082ed Cleaned up Javadoc comments. 2010-10-11 08:56:19 -07:00
sk89q
eb70ac391a Fixed the help for /editstack and /editstackair. 2010-10-11 01:29:51 -07:00
sk89q
204cfc1452 Major cleanup and refactoring. Non-cuboid regions now technically supported; players now abstracted through WorldEditPlayer; use of Point across the board; command cleanup. 2010-10-11 01:22:47 -07:00
sk89q
ce4b2810ff Added /lift. 2010-10-08 20:53:03 -07:00
sk89q
633be176eb Removed /editcyl (not finished). 2010-10-05 21:52:47 -07:00
sk89q
532c4de8cc Added /editwand. 2010-10-05 21:16:55 -07:00
sk89q
c59d77e138 Fixed /editstack(air), fixed getLength()/getHeight() of WorldEditSession. 2010-10-05 21:08:52 -07:00
sk89q
35f46473de Fixed arguments with /removeabove and /removebelow. 2010-10-05 20:28:43 -07:00
sk89q
02ef9610be Added /removebelow and added a height parameter to /removeabove. 2010-10-05 17:02:33 -07:00
sk89q
ba828c1a3a Added untested /editstack and /editstackair commands to stack the region towards a direction. 2010-10-05 13:46:54 -07:00
sk89q
05524be2d2 Made static Logger static final. 2010-10-05 13:07:39 -07:00
sk89q
f896acc662 On paste, you will now be placed on top of the paste if you ended up inside some blocks. 2010-10-05 01:43:23 -07:00
sk89q
a61c62f46d Implemented block smart queuing that allows certain block types that require a block under them to exist to work now. For example, torches are only created at the end. 2010-10-05 00:40:50 -07:00
sk89q
c0a9d0d551 Improved the quality of the command-related messages and renamed /setchangelimit to /editlimit. 2010-10-04 23:08:08 -07:00
sk89q
87780f0a78 etc.getDataSource() is now static; updated. 2010-10-04 22:44:55 -07:00
sk89q
48aeb58bbb Updated the .schematic save routine to also create directories as required. 2010-10-04 17:04:28 -07:00
sk89q
414c3cf33d Added short overflow check for schematic saving. 2010-10-04 17:00:54 -07:00
sk89q
713f23d0de Reorganized code, made exceptions inherit from WorldEditException, added /setchangelimit. 2010-10-04 16:39:35 -07:00
sk89q
1f7b39b8e3 Updated for b104. 2010-10-03 17:57:41 -07:00
sk89q
c0e78bebf4 Fixed a bug where Point was not returning accurate results with .equals(), breaking undo code. Temporarily using org.apache.commons.lang3.builder.EqualsBuilder to fix the problem. 2010-10-03 17:29:17 -07:00
sk89q
a620ca9efe Added /editoutline. 2010-10-03 17:04:06 -07:00
sk89q
bb06f9daed Added region selection with a wooden axe (#271); 2010-10-03 16:45:54 -07:00
sk89q
fc2a827c07 Added maximum script execution time of 3 seconds. 2010-10-03 16:12:29 -07:00
sk89q
ddfb7f21be Added direct script->command mapping support; fixed some comments in exception files. 2010-10-03 13:23:43 -07:00
sk89q
33fb2abb54 Added teleport functions to the player interface for scripts; renamed some script-related classes. 2010-10-03 13:09:59 -07:00
sk89q
c55799567a Added some JavaDoc/minor cleanup. 2010-10-03 12:43:30 -07:00
sk89q
5507f0ae98 Made /clearclipboard function. 2010-10-03 12:37:32 -07:00
sk89q
4eb40b039f Minor cleanup of code. 2010-10-03 12:16:09 -07:00
sk89q
81753ee979 Added .schematic loading/saving; fixed issue with pasting not pasting entire region. 2010-10-03 10:44:52 -07:00
sk89q
b3eb1fc548 Gave /editreplace the ability to discriminate on block type to replace. Corrected arguments help for /editscript. 2010-10-02 16:44:20 -07:00
sk89q
2b0d73621a Allowed blocks list can now be adjusted in worldedit.properties. 2010-10-02 16:28:02 -07:00
sk89q
d1a807f25f Added lower bounds clamping to some of the arguments. 2010-10-02 16:15:10 -07:00
sk89q
c70a7914da Added /clearhistory and /clearclipboard. 2010-10-02 16:13:52 -07:00
sk89q
4c7e14a76b Added basic copy/paste functions. 2010-10-02 16:11:44 -07:00
sk89q
8e2c6ece61 Updated com.sk89q.worldedit.Point to use generics. 2010-10-02 15:12:45 -07:00
sk89q
7387e36016 Added basic undo/redo functionality with a history size of 15. 2010-10-02 14:52:42 -07:00
sk89q
6364ba720b Moved exceptions to package com.sk89q.worldedit to prevent potential collision. 2010-10-02 13:46:33 -07:00
sk89q
6eaf5895e4 Hard-coded a list of items that can be used for WorldEdit. 2010-10-02 01:36:33 -07:00
sk89q
c8054b95fe Added preliminary JavaScript scripting support. Currently it can be used to do routines such as forest creation but it cannot make hooks or do anything fancy. 2010-10-02 01:21:48 -07:00
sk89q
2e31c2aaf0 Updated WorldEdit for build 100; made regions no longer shared and fixed the missing authorization check. 2010-09-29 23:41:05 -07:00
sk89q
83fea4d00c Initial commit. 2010-09-28 01:12:34 -07:00