Commit Graph

113 Commits

Author SHA1 Message Date
08dead5a86 cleanup build script 2019-07-17 19:43:14 +10:00
2da3367f3d Switch 2019-07-17 16:21:30 +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
ffc2092d93 toggles and timeouts 2019-06-30 14:56:32 -04:00
625cbe5e3d Make //count take a mask. Also doc updates, perm fixes. 2019-06-30 00:38:17 -04:00
8c9090a21d I changed stuff. That's all I remember 2019-06-23 13:27:34 -04: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
b42553116c Removal of many prefixes and deprecation of FaweLocation
- Removed some prefixes to help make upstream merging a bit easier.
- Replaced reflection code for titles with the regular bukkit api.
- Removed FAWELocation and FAWEPlayer where it wasn't needed.
- Deprecated FaweLocation since having it in the first place is very stupid.
- FAWEPlayer should also be deprecated soon because the majority of that code is redundant.
2019-06-05 21:28:02 -04:00
6962b2e7b6 Add comprehensive suggestions to many commands.
All patterns now have suggestions, including recursive patterns.
Suggestions will suggest blocks and block states.
All masks now have suggestions, though mask intersections are not
yet supported due to issues with quotes strings.
EntityRemover and ItemFactory now also have completions, as well
as all RegistryConverters (though I am unsure how many are actually
used).

Also use paper's AsyncTabComplete event, if available.
2019-05-28 22:55:20 -04:00
e7613dd879 Stop using IAE to communicate parameter mis-use 2019-05-14 17:57:05 -07:00
82c4846436 Add more variable args for expressions, quoting 2019-04-28 22:03:54 -07:00
d4fce65abc A few command fixes 2019-04-28 21:42:45 -07:00
46e0a7ba48 Port //set 2019-04-25 23:16:18 -07:00
f81ffdde0c Port region commands 2019-04-23 18:46:46 -07:00
f33140b327 Port ChunkCommands, fix up injection, simplify registration 2019-04-16 23:02:23 -07:00
988c4b042d Minors 2019-04-16 17:14:53 +02:00
ab3394c35e Add prefixes and make FAWE more translatable 2019-04-07 01:13:23 +02:00
be5541b61b revert some changes 2019-04-05 15:48:41 +11:00
94d5d8df8e Merge branch 'master' into breaking 2019-04-05 15:47:04 +11:00
140809c903 Working now 2019-04-05 15:15:10 +11:00
3d2054aa0a WorldEdit accepts a pattern for these commands
update the message to reflect that.
2019-04-03 19:39:12 -04:00
8897109dc4 wip upstream merge 2019-04-04 00:25:16 +11:00
f361619037 Merge remote-tracking branch 'upstream/master' into breaking 2019-04-03 16:53:34 +11:00
9fbcbc7cea <pattern> not <block>
As there are actual commands that will only accept blocks
2019-04-03 15:40:31 +11:00
47e66913e3 Selective upstream merge 2019-04-02 16:26:51 -04:00
92a7bd5e44 minor tweak for mutable vectors 2019-04-01 03:09:20 +11:00
3236bdd78e Changes to NBT-handling in operations and extents, changes to match the widely supported setBlock functionality, minor code cleanup 2019-03-25 13:42:11 -04:00
9b473cecbd Fixes and changes to forest/forestgen.
* Sync up implementations of the two commands.
* Fix generating trees in spots with replaceable blocks.
* Make message when you mistype tree-type arg more correct.

Fixes WORLDEDIT-3869.
2019-03-20 21:05:11 -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
e53962dadd Apply source function after source mask in ForwardExtentCopy.
The source function should only get applied to actually copied blocks.
2019-03-01 21:15:21 -05:00
3ffb5ff00d Changes to fix some PlotSquared compatibility issues, plus fix block Mask parsing 2019-02-27 08:09:04 -05:00
243d6476ac Re-add smooth filtering via a mask.
Instead of trying to maintain a list of "natural terrain blocks", just
let the user specify a mask of blocks to use for the height map filter.

https://gfycat.com/severaljauntycondor
2019-02-26 23:54:53 -05:00
590b7e23a9 Remove all raw usages of BSH, improve API generics 2019-02-03 05:01:39 -05:00
f3c633582e Finish removal of PlayerDirection, and partially added diagonal support back to commands. (Other minor changes to WorldEdit-Sponge and FAVS) 2019-02-02 08:43:57 -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
4d6045813c Move vectors to static creators, for caching 2019-01-10 07:17:04 -05:00
842b1307c7 Current Progress #3 2019-01-09 02:13:44 -05: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
d6977aeae4 Allow a pattern for the leave-id of //move 2018-12-22 17:26:02 +10:00
24800a662a Finish removal of PlayerDirection, and partially added diagonal support back to commands. 2018-11-12 12:38:13 +10: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
277ff8f787 Fix command confirmation session 2018-09-08 09:10:36 +10:00
39a85d54ea pull changes from boy0001/FastAsyncWorldEdit 2018-09-08 01:31:30 +10:00
6ae0d3f64e Fixes boy0001/FastAsyncWorldEdit#1099 2018-09-08 01:09:31 +10:00
b24d322d29 Update from sk89q/master 2018-09-03 00:10:38 +10:00