Commit Graph

69 Commits

Author SHA1 Message Date
68ea3d6e99 revert some changes 2019-07-17 20:50:54 +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
d0a31691e1 Small changes 2019-06-26 20:14:00 -04:00
a69b239848 Upstream 2019-06-25 13:07:47 -04:00
7f3c4c4828 A lot of removals, upstream merges, and maybe more. 2019-06-07 20:58:48 -04:00
229182aa63 Remove CUI and other cleaning 2019-06-06 18:39:51 -04:00
43fec813b8 Moving some commands 2019-04-21 19:01:49 +02:00
144215c813 Don't construct new BaseBlock 2019-04-06 01:12:57 +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
ff67f6343f Binding improvements
WIP towards deprecating parsers and unifying the command bindings
Allow registering dynamic bindings
- Supports nesting bindings
2019-04-01 21:35:55 +11:00
92a7bd5e44 minor tweak for mutable vectors 2019-04-01 03:09:20 +11: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
692ba6fda3 Checkstyle. 2019-03-22 14:03:43 -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
d6804737cf Switch to SLF4J logging. 2019-03-13 19:51:48 -07: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
1b101740fe Use a proper registry for biomes 2019-02-16 17:27:00 +10: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
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
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
4d6045813c Move vectors to static creators, for caching 2019-01-10 07:17:04 -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
a9919d130c Current progress #4 2019-01-09 03:32:38 -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
1d5e9b7d04 Few fixes 2018-12-23 21:24:58 +10:00
c5d9aadab8 Start work on modularising masks and patterns 2018-12-23 18:56:26 +10:00
801793cc12 Merge upstream changes through 7961fa58
Signed-off-by: Byron Marohn <combustible@live.com>
2018-12-21 12:13:43 -08:00
c0fa1602ad Restore the formatting of many things to upstream WorldEdit - no code changes
This patch touches many files but changes absolutely no functionality.
The goal here is to make future merges with worldedit produce fewer
conflicts that have to be resolved.

This patch was made by painstakingly diff'ing files and copying changes
over from the last upstream merge commit (02c6f11b) into this codebase.

Signed-off-by: Byron Marohn <combustible@live.com>
2018-12-20 11:33:56 -08:00
24800a662a Finish removal of PlayerDirection, and partially added diagonal support back to commands. 2018-11-12 12:38:13 +10:00
2c8b2fe089 Move vectors to static creators, for caching 2018-11-03 23:00:24 -07: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
dd2fcbac23 Merge pull request #430 from sk89q/feature/chunk-batching-mode
Chunk Batching
2018-10-15 13:50:10 +10:00
e16dacc11e Small patches for timed-calc post-1.12-merge 2018-10-11 17:25:06 -07:00
21db86f26b Register a platform for expression tests 2018-10-11 17:18:52 -07:00
bb923aeb59 Attach a configurable timeout to expression evaluation 2018-10-11 17:18:52 -07:00
7d4906cfe9 Add chunk batching flag, enable by default 2018-10-10 11:38:23 -07:00
2cad9a2c09 Switch to a license plugin for headers 2018-10-04 00:29:34 -07:00
36cbc5d9d0 Cleanup javadoc warnings in worldedit-core 2018-10-01 15:30:23 -07:00
b24d322d29 Update from sk89q/master 2018-09-03 00:10:38 +10:00
c931095736 Little bit of formatting 2018-08-27 17:24:18 +10:00
963d1192c2 Don't require Selection classifier for region binding 2018-08-23 13:37:03 +10:00
c55353e5b1 Various command (use es6 if java9 + nashorn) 2018-08-22 03:22:37 +10:00
43531a0da0 Use expression for brush radius 2018-08-22 02:58:10 +10:00
f8585adc79 Remove debug code 2018-08-18 15:27:26 +10:00