Commit Graph

55 Commits

Author SHA1 Message Date
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
zml2008
76fd63d64b Fixed a NPE in WorldEdit.getSafeFile() when extensions is null. 2011-12-26 16:28:51 -08:00
TomyLobo
324a041e38 Split up some external .* imports. 2011-12-26 00:36:23 +01:00
zml2008
c8c0c69f6d Added support for dynamic command registration. 2011-12-24 22:34:53 -08:00
zml2008
4dc3c035c1 Updated to use simplified method signature for commands. Also improved SimpleInjector. 2011-12-17 23:45:12 -08:00
TomyLobo
370ddeb9ff Added support for console commands to WorldEditPlugin. 2011-12-15 15:45:34 +01:00
TomyLobo
05404b005d Added a //help command. 2011-12-13 09:43:39 +01:00
zml2008
51dd7a0c9c Improved handling of valid blocks not in BlockType and added dragon egg to BlockType 2011-11-27 15:29:26 -08:00
TomyLobo
5d59dd764e Changed getSafe*File to accept varargs instead of arrays. 2011-11-27 05:29:49 +01:00
TomyLobo
7e13b60a51 Cleanup 2011-11-23 04:48:40 +01:00
TomyLobo
7812d8f5f8 Cleanup and refactorings 2011-11-20 06:02:54 +01:00
TomyLobo
feee529095 Improved error reporting for number format errors. 2011-11-20 05:31:18 +01:00
TomyLobo
cf30a63018 Further cleanup of input handlers.
Slight deviation from previous behaviour:
Wand and navigation wand can no longer be used as ordinary tool binds.
However, these are already blocked elsewhere anyway, so it is unimportant.
2011-11-20 02:00:12 +01:00
TomyLobo
71d302c893 Removed fix for issue #376, since the problem appears to have been fixed on the CraftBukkit side now.
Also cleaned up the input handlers a bit.
2011-11-20 01:45:25 +01:00
TomyLobo
a3946dc8c4 Typo fix.
Thanks, Moo0
2011-11-13 15:00:41 +01:00
zml2008
256897f473 Added seperate permissions for jumpto/thru commands and tools 2011-11-11 15:39:42 -08:00
TomyLobo
04b7f40f46 Renamed some local variables in WorldEdit.getblock.
Also added a note about a potential concurrency problem i stumbled upon.
2011-11-05 18:09:50 +01:00
TomyLobo
4c05050d73 Improved /we version output for dev builds. 2011-11-02 17:23:45 +01:00
TomyLobo
3ed867ed53 Added left, right, back and forward directions to all directional commands. 2011-10-25 01:07:08 +02:00
TomyLobo
2d654b59c5 Reduced code duplication in the WorldEdit.get*Direction methods. 2011-10-25 01:06:18 +02:00
Wizjany
467cc4dd14 Fixed infinite loop. Just because it's unused in worldedit doesn't mean you should break it -.- 2011-10-12 17:47:26 -04:00
Wizjany
b89ede09a6 Bugfix for jumpto 2011-10-09 20:43:21 -04:00
Wizjany
b5b55a2775 Cleanup and a few bugfixes 2011-09-24 15:24:10 -04: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
md-5
46ba1c7f5b Added mob type enum and subsequently removed case sensitivity from //set with mobspawners. 2011-09-17 21:08:15 -04:00
TomyLobo
3bcd9a932b Replaced lots of else if constructs by switch/case and other simpler constructs. 2011-09-05 04:20:36 +02:00
TomyLobo
bb2f8bb350 Cleaned up WorldEdit.getFlipDirection. 2011-09-04 23:18:37 +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
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
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
c99d64cfa0 Removed unnecessary valid block checking (already in LocalWorld) 2011-08-16 22:29:06 -07: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
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
Wizjany
9d753c8692 Cleanup overlay/underlay mask. 2011-08-13 01:04:59 -04: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
hretsam
ddcf948974 Fixed issue #376 "right-clicking with a compass on a door is treated if the door was not there and the left mousebutton was clicked."
Also when you use the compass for jumpto/thru it wont interact with items anymore.
2011-08-10 18:36:25 -04:00
TomyLobo
d30cad6340 Added ORIENTATION_REGION and ALL LogModes, which log orientation+region and position+orientation+region respectively. 2011-08-09 01:23:08 +02:00
TomyLobo
cc917b424c Added position/region logging. 2011-08-08 14:40:02 +02:00
TomyLobo
7a3ddfe7bc Fixed //flip sometimes throwing errors about unknown directions. 2011-08-08 09:19:24 +02:00
Wizjany
02e24ed824 Removed and reimplemented mrapple's selection at a distance. It is now a brush tool, meaning it can be bound as other tools can and it subject to Nichts' /range command, so you can select points in midair. 2011-08-06 19:22:10 -04:00
mrapple
894ebec740 You may now select pos1/pos2 from a distance! 2011-07-23 11:34:28 -05: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
730244056c Fixed a mask parsing error that raised java.lang.StringIndexOutOfBoundsException. 2011-06-04 12:22:33 -07:00
sk89q
e1da7c41ad Added a new region-based mask type and the ability to combine masks. 2011-06-04 11:57:40 -07:00