c6c55c3b2a
Adjusted some of the cycler code and added a test case for it.
TomyLobo
2011-09-25 10:14:06 +02:00
93f36955ca
Added a test case for BlockData.
TomyLobo
2011-09-25 06:03:55 +02:00
63fa72af5e
Added rotate code for brick and stone brick stairs and made powered/detector rails not lose their charge when rotating.
TomyLobo
2011-09-25 06:01:01 +02:00
f7c5782fa9
Added data support for silverfish blocks.
Wizjany
2011-09-17 14:11:59 -04:00
ece3934994
Abstracted cycler tool methods to BlockData and optimized them slightly, as well as adding support for many new blocks.
Wizjany
2011-09-17 01:34:55 -04:00
b10498b9c7
Added 'xp' as a parameter of the /remove command to remove experience orbs.
Wizjany
2011-09-17 01:33:42 -04:00
d6ed17dd9d
Made some variables final.
TomyLobo
2011-09-16 05:48:09 +02:00
633145d796
Adjusted some BlockType flags.
TomyLobo
2011-09-16 05:46:07 +02:00
7798319896
Optimized all of the public static boolean BlockType.*(int id) functions by using HashSets and put the blockDrops HashMap next to the getDroppedBlock function.
TomyLobo
2011-09-16 04:25:20 +02:00
f0308efdd0
Made the static initializer for BlockType.blockDrops refer to the BlockID constants instead of having the literal IDs.
TomyLobo
2011-09-16 03:32:58 +02:00
19eedecdaf
Re-re-introduced a small optimization in the flag parser.
TomyLobo
2011-09-16 02:16:11 +02:00
9371202a12
Cleanup BlockType and added a missing block
Wizjany
2011-09-14 20:25:22 -04:00
afa8e873e9
Reverted block id checking in BukkitWorld to prevent false positives and made LoclWorld use the internal list for easier updates
Wizjany
2011-09-14 19:19:19 -04:00
bd52ed5c33
Fixed plugin.yml for dumb people
zml2008
2011-09-14 18:14:42 -07:00
75e843b965
Some small improvements to value flags, and a unit test.
zml2008
2011-09-14 17:58:22 -07:00
6cdfd86f0b
CommandContext: - Adjusted comment of CommandContext(String[] args, Set<Character> valueFlags) to reflect the actual semantics - Optimized several parts of the parser (still not happy with the frequent reallocations inside removePortionOfArray) - Someone (unintentionally?) forgot to break if a non-flag argument was found. If this was indeed intended behaviour, just change the "break;" in line 83 to "continue;". - Reduced the number of nested control structures a bit.
TomyLobo
2011-09-14 18:36:10 +02:00
cb927d17e1
Fixed a warning.
TomyLobo
2011-09-14 18:33:07 +02:00
6f43c6a312
Updated for 1.8 blocks and items
zml2008
2011-09-13 22:45:47 -07:00
2f390e9938
Added multiword args and some improvements to value flags.
zml2008
2011-09-13 22:41:19 -07:00
6f1d263e16
Added getting of the Bukkit player to BukkitPlayer (for RegionBook)
zml2008
2011-09-04 19:00:32 -07:00
3bcd9a932b
Replaced lots of else if constructs by switch/case and other simpler constructs.
TomyLobo
2011-09-05 03:53:39 +02:00
9ea977af77
Fixed some warnings.
TomyLobo
2011-09-04 23:20:03 +02:00
bb2f8bb350
Cleaned up WorldEdit.getFlipDirection.
TomyLobo
2011-09-04 23:18:37 +02:00
e4cd6c23b6
Fixed odd-lengthed clipboards double flipping in the center as per anon's commit(s).
Wizjany
2011-09-03 20:25:20 -04:00
4c00a24c1d
Abstracted all block IDs to BlockID and item ids to ItemType. Overloaded recently changed methods for compatibility and cleaned a few things up.
Wizjany
2011-09-03 12:54:20 -04:00
8c0d0f9ed4
//[h]sphere can now generate ellipsoid (stretched sphere) shapes
TomyLobo
2011-09-02 21:38:38 +02:00
780d07a9ba
Fixed a warning. Seriously, guys...
TomyLobo
2011-09-02 21:32:23 +02:00
3205904003
//copy and //paste now respect /toggleplace.
TomyLobo
2011-09-02 21:01:24 +02:00
bc6315fb24
Fixed getting and setting of blocks in unloaded chunks
zml2008
2011-08-29 17:31:08 -07:00
02d8acfa81
Alowed performing undos from other player sessions, if they exist.
zml2008
2011-08-29 14:24:35 -07:00
a3186c2ce4
Removed old workaround from hmod
zml2008
2011-08-29 14:16:20 -07:00
93fbad4d82
Cleaned up CommandAlias a bit
zml2008
2011-08-29 14:15:25 -07:00
d64fd95173
Added support for value flags to the command system
TomyLobo
2011-08-29 14:44:14 +02:00
b8a310dfdc
Changed data type of BaseBlock.data from char to byte
TomyLobo
2011-08-29 14:43:56 +02:00
1562f17540
Added block damage support to //replace and //replacenear
zml2008
2011-08-28 23:57:07 -07:00
d83fed13fb
Fixed 43 and 44 block data cycling
zml2008
2011-08-28 20:46:54 -07:00
04dd21d51a
Added merging of quoted multiword strings (single or double quotes) into one index, flags can be anywhere in the command args string. Untested and currently unused command aliasing added for moving commands around
zml2008
2011-08-28 12:59:26 -07:00
4dcbae03fe
Made some variables in CuboidClipboard.flip final
TomyLobo
2011-08-28 12:28:31 +02:00
447de4b206
- CommandContext's valueFlag constructor will now ignore the 0th element of args (no idea why that is even there) - Limited flags to a-zA-Z - Passing null to the valueFlag constructor will disable flag parsing altogether - Adjusted the error message - Added javadoc to CommandContext(String[], Set<Character>) - Added CommandContext(String, Set<Character>)
TomyLobo
2011-08-27 12:07:07 +02:00