Commit Graph

71 Commits

Author SHA1 Message Date
9816eb3102 More work on commands 2019-07-23 16:26:18 -04:00
b230999ca0 Mainly formatting and some work on schematic commands 2019-07-22 22:22:32 -04:00
42a65ac924 @Range 2019-07-22 16:44:03 +10:00
9c3122a227 More work on getting commands to compile 2019-07-21 22:49:08 -04:00
f5c202af6d BrushCommands 2019-07-21 21:39:36 +10:00
ee5e15eda3 visual chunk 2019-07-20 15:32:15 +10:00
f500b5e056 CommandContext + Confirmation
Use InjectedValueAccess instead
Fix command confirmation
2019-07-19 06:03:27 +10:00
81298bf555 add command queuing 2019-07-19 03:10:04 +10:00
6e13b44f84 resolve issues with 2e67425d8131a2b1eb7ff752335bccf371801b8b 2019-07-18 20:12:23 +10:00
be8213d8ee resolve conflicts 2019-07-18 16:56:57 +10:00
905fbf5a0b 8108d0a9 2019-07-18 02:31:13 +10:00
3113d8dd69 Optional 2019-07-17 16:11:55 +10:00
cedb261313 fix some Command annotations 2019-07-17 15:43:18 +10:00
8108d0a936 Major command changes that don't work yet. 2019-07-16 23:44:34 -04:00
5f037df326 Adding missing permissions
Added some basic permissions to some basic and fawe specific commands.
Since they weren't around previously, they are true by default, however, you can now revoke/negate them.
2019-06-13 00:48:40 +02:00
1f14d4652e Upstream changes, prefix changes, formatting changes, variable name changes
I think that draining waterlogged items also works now?
2019-06-12 17:13:53 -04:00
ec001b8d3b Revert "Upstream, generics, formatting"
This reverts commit cd88e513a8.
2019-06-12 15:45:41 +02:00
cd88e513a8 Upstream, generics, formatting 2019-06-11 20:31:56 -04:00
7f3c4c4828 A lot of removals, upstream merges, and maybe more. 2019-06-07 20:58:48 -04:00
6c94cca15e Selective upstream merge
Signed-off-by: MattBDev <4009945+MattBDev@users.noreply.github.com>
2019-06-04 12:40:11 -04:00
c05cdb35d8 Don't use CommandContext here 2019-04-12 00:56:59 +10:00
652f27c853 Fix fixLiquid 2019-04-09 11:29:43 +08:00
d49c5ebe74 translate a few utility commands 2019-04-06 03:04:27 +11:00
be5541b61b revert some changes 2019-04-05 15:48:41 +11:00
7086eb8b3e continue with merge 2019-04-03 22:28:57 +11:00
f361619037 Merge remote-tracking branch 'upstream/master' into breaking 2019-04-03 16:53:34 +11:00
699783ba72 Another selective merge 2019-03-28 15:02:37 -04:00
85bfd16d7c Code cleaning
Most notable change: Remove redundant type parameters and replaced with <>. This is a small step to bring us closer to upstream parity.
2019-03-25 19:55:32 -04:00
de08c8b8c7 Add better control over expression timeouts. (#451)
Add better control over expression timeouts.
* //timeout command can be used to change player's current timeout.
* Config now also has a max timeout, can be bypassed with permission
* Timeout of < 0 will let expressions run indefinitely.
* Said expressions won't run on a separate thread, slightly reducing the
  overhead from context switching. For large //gen commands, for example,
  this can actually increase speed.
2019-03-06 19:58:32 -05:00
9eeb0acffe Add radius checks to a few more utility commands. 2019-02-25 18:41:20 -05:00
88014b18a3 Added a few new things using block states.
* `//set ##*tag` sets all states in the tag (not just default state per type)
* `//set ^type` is a pattern changing block type but copying all valid existing states
* `//set ^[prop=val,...]` sets the property `prop` to `val` wherever the existing block has that property
* `//set ^type[prop=val,...]` does both of the above
Those work anywhere a pattern is taken, of course.

* The mask syntax `^[prop=val]` matches blocks with the property `prop` set to `val`, or blocks that don't have the property at all.
* The mask syntax `^=[prop=val]` only matches blocks that have the property.
Those work anywhere a mask is taken, of course. (`//mask`, `//gmask`, `//replace`, etc)

The `//drain` command now takes `-w` flag that removes the waterlogged state from blocks (in addition to removing water, as before).
2019-02-14 17:21:01 -05:00
590b7e23a9 Remove all raw usages of BSH, improve API generics 2019-02-03 05:01:39 -05:00
53308416ff Start work on modularising masks and patterns 2019-02-03 03:33:52 -05:00
e53535319d Plenty of changes to core block behavior to become more compatible with upstream WorldEdit (still more to be done!) 2019-01-31 10:08:58 -05:00
f74381b93f Merge remote-tracking branch 'refs/remotes/isfawe/new-vector-system' into new-vector-system 2019-01-13 02:00:14 -05:00
628c9cc0b7 Make BaseBlock more memory efficient, and make it clear in the API that it's not intended to be used for every single block. 2019-01-10 09:54:21 -05:00
ab6aed703d Merge current FAWE master (227d6d91) into new-vector-system
Signed-off-by: Byron Marohn <combustible@live.com>
2019-01-09 22:35:26 -08:00
842b1307c7 Current Progress #3 2019-01-09 02:13:44 -05:00
193361ac32 fix //removenear exception for size < 1 2018-12-29 08:47:57 +01:00
3fefcbf971 Remove all raw usages of BSH, improve API generics 2018-12-26 16:39:10 -08:00
d4157b7e0e Current progress with update 2018-12-23 11:19:33 -05:00
399e0ad5fa Refactor vector system to be cleaner
- Move Vector, etc. into `.math` package
- Drop many methods that will be auto-promoted anyways, eg. with
`divide(int)` and `divide(double)` the first is now gone.
- Take Block vectors into their own class hierarchy
- Make it clear throughout the API what takes blockvectors
- many more improvements
2018-11-03 23:00:23 -07:00
1fa1ff895b Flush or disable buffers in tools 2018-10-20 19:47:17 -07:00
7cf7c0712f fix fixwater/lava + tile paste 2018-10-13 19:50:13 +11:00
39ba616ffa heightmapinterface permission
Heightmapinterface permission added as you can download it on any server
2018-10-04 20:42:43 +02:00
6ae0d3f64e Fixes boy0001/FastAsyncWorldEdit#1099 2018-09-08 01:09:31 +10:00
d99765f13f add min/max args 2018-09-07 06:45:19 +10:00
7af1b3dcc8 Add heightmap web util command 2018-09-07 06:40:13 +10:00
a61c856adc Allow certain commands to bypass queuing 2018-08-24 19:33:52 +10:00
6f04022738 And these stubs 2018-08-13 03:23:53 +10:00