zml2008
927cab001e
Fixed a few bugs with permissions resolver loading.
2011-11-15 20:38:23 -08:00
TomyLobo
86dfa3dce8
Cleaned up WorldEditPlayerListener.onPlayerInteract.
2011-11-13 15:17:08 +01:00
TomyLobo
a3946dc8c4
Typo fix.
...
Thanks, Moo0
2011-11-13 15:00:41 +01:00
zml2008
c29856f5a8
Added a registration method that returns information about successfully registered commands
2011-11-11 15:47:50 -08:00
zml2008
256897f473
Added seperate permissions for jumpto/thru commands and tools
2011-11-11 15:39:42 -08:00
zml2008
0a4cbd435f
The permissions resolver needs to be loaded!
2011-11-10 19:36:57 -08:00
TomyLobo
ae3adae8a8
Disabled fast lighting until the issues are resolved.
2011-11-09 02:49:24 +01: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
af1c600fc9
Non-leaf blocks should no longer show up as leaves in the inventory when using block bags.
2011-11-05 17:58:51 +01:00
TomyLobo
e72f84f08f
Leaves can now be stored in a block bag.
2011-11-04 19:39:05 +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
7beac92232
Added a deprecated delegate for storeDroppedBlock.
2011-11-04 16:39:56 +01:00
TomyLobo
2d0880e38d
Piston extension and moving piece now put nothing into the blockbag.
2011-11-04 13:53:21 +01:00
TomyLobo
8e368ceef1
Employed a set of consistent rules for getDroppedBlock(type, data) and renamed it to getBlockBagItem.
2011-11-04 13:27:51 +01:00
TomyLobo
d9b8285a35
Made ItemType.usesDamageValue a bit more sane.
2011-11-03 18:34:20 +01:00
TomyLobo
ff39121fc8
Begun adding support for data/damage values to the blockbag.
2011-11-03 15:51:23 +01:00
TomyLobo
429bfe9faa
Added BlockType.getDroppedBlock(int type, int data)
...
It currently still ignores the data value, but there's a framework in place to add data values.
2011-11-03 15:51:22 +01:00
zml2008
04803de8b1
Fixed some NPE's for block types not in BlockType.
2011-11-02 22:51:48 -07:00
TomyLobo
4c05050d73
Improved /we version output for dev builds.
2011-11-02 17:23:45 +01:00
TomyLobo
a51bc28756
Added true and false constants to the expression parser.
2011-11-02 15:29:55 +01:00
TomyLobo
c2cd587a9b
Added support for functions that take LValues and added rotate(x&,y&,angle)
2011-11-02 03:41:35 +01:00
TomyLobo
ff03d03fd7
Cleanup
2011-11-02 03:41:22 +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
2ee36f7484
//generate and //deform no longer behave oddly with selections that are only one block thick in either direction.
2011-11-01 16:32:56 +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
478d6f6e54
Added support for type/data to //generate.
2011-11-01 14:31:33 +01:00
TomyLobo
8a83f7f70e
Added support for custom materials to ArbitraryShape and adjusted //generate accordingly.
2011-11-01 14:28:03 +01:00
TomyLobo
02a70cca4a
Added Pattern.next(int, int, int).
...
This method can be used to avoid creating short-lived vectors in tight loops.
2011-11-01 14:25:41 +01:00
TomyLobo
8610dc2c89
Added .gitignore to ignore some eclipse files.
2011-10-31 21:56:32 +01:00
TomyLobo
6b0f237a46
Removed extra fastLighting flag.
...
Fast lighting is now used when available.
2011-10-31 03:28:05 +01:00
TomyLobo
d3822ee345
Fixed postfix operator evaluation order.
2011-10-31 00:42:57 +01:00
zml2008
d5328e34ba
This might fix problems people have been having with dinnerperms.
2011-10-30 15:16:00 -07:00
TomyLobo
8e0539adf1
Parser improvements
...
- After a closing brace or a semicolon, a new expression starts. This fixes "{}-1" and ";-1" returning an error.
- Empty statements and empty block statements are now fully supported
- Renamed PrefixOperator to UnaryOperator
- Added postincrement(x++), postdecrement(x--) and factorial(x!) operators
2011-10-30 06:04:49 +01:00
TomyLobo
77d1317964
Added support for temporary variables
2011-10-29 21:07:31 +02:00
Wizjany
2719308ada
Made //fast display a different message if the argument matches the current mode
2011-10-29 13:32:51 -04:00
Wizjany
2b9f0be8df
Updated to 1.9
2011-10-29 13:32:51 -04:00
Wizjany
699807665d
Cleanup
2011-10-29 11:57:45 -04:00
TomyLobo
8797d8ac3c
Added element comments to all classes of the expression parser.
...
Also fixed some id() implementations.
2011-10-29 17:24:11 +02:00
TomyLobo
e70446e82e
Renamed RValue.invoke() to getValue.
2011-10-29 16:03:55 +02:00
TomyLobo
93f073f264
Renamed Assignable to LValue and Invokable to RValue
2011-10-29 16:01:55 +02:00
TomyLobo
0ba3da2641
Reverted to old manual lighting system that doesn't call notch's block lighting functions directly.
2011-10-29 05:27:17 +02:00
TomyLobo
8ce3f4d77a
Moved some code around in ParserProcessors.java
2011-10-29 04:20:13 +02:00
TomyLobo
79039c2b81
Updated changelog with even more changes since 4.7.
2011-10-28 21:12:37 +02:00
TomyLobo
f28401aecc
Moved the sub-processors into a new class, ParserProcessors.
2011-10-28 20:34:48 +02: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
d9b86025d3
Parser refactorings
...
- Made all sub-processors static
- Made statement (combined) assignment parsing right-associative
- Added a stub for the ternary operator
- Fixed position value on Sequences
2011-10-28 00:37:18 +02:00