Commit Graph

176 Commits

Author SHA1 Message Date
61bc012f6f Fix source masks using EditSession instead of clipboard. (#515) 2019-08-10 11:54:22 -04:00
f83de2a703 Fix bug with spaces at end of suggestions. 2019-08-08 16:28:00 -07:00
f848d3114f Re-load internal state IDs when WORLD_EDITING cap is re-loaded 2019-08-02 15:47:29 -07:00
ca54f8c371 Work on CLI and I forget what else 2019-07-29 10:57:28 -04:00
76b608f90b Fix suggestions on Bukkit for good 2019-07-27 23:31:38 -07:00
3a5170a0e8 Potenially fix quoted string completion 2019-07-27 18:12:18 -07:00
d134820bcb Merge branch 'master' into fix/quoted 2019-07-27 17:41:44 -07:00
8545417b3a Fix error in /up when used out of bounds.
Also reduce calls to Entity#getLocation() all over since it's
more expensive than it needs to be (adapts world/vector every time).
2019-07-23 22:16:26 -04:00
c05d425f64 couple more compilation issues 2019-07-23 06:58:18 +10:00
07283af614 some bindings 2019-07-22 16:02:51 +10:00
85ebee7da7 brush settings 2019-07-20 01:29:49 +10:00
f500b5e056 CommandContext + Confirmation
Use InjectedValueAccess instead
Fix command confirmation
2019-07-19 06:03:27 +10:00
6e13b44f84 resolve issues with 2e67425d8131a2b1eb7ff752335bccf371801b8b 2019-07-18 20:12:23 +10:00
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
96e2b6c5af First attempt at fixing quoted string oddities. 2019-07-04 22:01:55 -04:00
ffc2092d93 toggles and timeouts 2019-06-30 14:56:32 -04:00
096a9e4f9f Paintings are very special (#492)
Fixes WORLDEDIT-3429
2019-06-28 16:11:24 -04:00
542f87b8f7 Fix infinite loop re-sizing block state internal ID array. 2019-06-28 15:18:53 -04:00
d0a31691e1 Small changes 2019-06-26 20:14:00 -04:00
a69b239848 Upstream 2019-06-25 13:07:47 -04:00
8fcc22c21d Cleanup multiple batch usage for chunk deletion. 2019-06-22 15:01:00 -04:00
d763ab374c Re-add delchunks command (#481)
The new command now writes a json file to WorldEdit's working directory with instructions on which chunks to delete, which is read by the plugin/mod at startup and calls the ChunkDeleter.
The chunk deleter parses the json and iterates the instructions, backing up .mca files as it goes and overwriting the offset headers with 0 wherever a chunk needs to be deleted.
This allows Minecraft to reclaim the space used for that chunk, as well as forcing it to be generated from scratch next time the area is loaded.
2019-06-22 14:20:14 -04:00
61fd44fa8c Save some RAM.
Vanilla only needs 12k~ states right now, 32k is unnecessary.
2019-06-15 20:24:47 -04:00
0088fe79b3 Cleanup Bukkit internal id usage. 2019-06-15 17:33:17 +10:00
27c7d488a2 Add perf. improvments for Forge 2019-06-15 17:33:17 +10:00
2571efb5c3 Few fixes for worldedit changes 2019-06-15 17:33:17 +10:00
a3a175ab8c Initial attempt at binding state IDs 2019-06-15 17:33:17 +10: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
d46cd78e14 Port doc printer to Kotlin, heavily improve 2019-06-05 23:26:57 -07:00
e69aedf059 Allow clean shutdown.
Rearrange command tables.
2019-06-05 14:57:44 -04:00
e767dd9888 Missing perm. 2019-06-05 12:31:12 -04:00
22157f0864 Write entire perms file for easier gen.
Also fix some format issues.
2019-06-05 11:27:16 -04:00
b7e329bc1b Better spacing for section headers. 2019-06-05 10:39:10 -04:00
34020f7bd2 Less ugly. Makes tables for all commands and subcommands. 2019-06-05 10:23:41 -04:00
dc380b1fb3 Ugly but working generator for rst commands. 2019-06-05 10:21:35 -04:00
9099a17fe5 Some command refactoring. Switch usages of page args to -p flag. 2019-06-01 07:04:07 -04:00
ec3648e521 Wrap and unwrap.
Exceptions are fun.
2019-05-29 23:15:05 -04:00
ab1e09fdaf Give factories a default parser.
Later registered parsers will always come before the default, ensuring
that the default parser is used when no other parser can match the input,
and that errors may be thrown by it to signify the end of the line.
2019-05-28 22:55:20 -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
4804fe64e3 Don't use a no-op suggester 2019-05-24 21:31:29 +10:00
a3ffb91917 Added suggestions to a lot of factory-related commands 2019-05-24 21:31:29 +10:00
3173e26109 Fix //expand, improve //help 2019-05-17 22:24:31 -07:00
e7613dd879 Stop using IAE to communicate parameter mis-use 2019-05-14 17:57:05 -07:00
a2b67f8ddb Re-write EventBus to be faster 2019-05-10 05:01:01 -07:00
8a3e6a12b9 Implement suggestions for Bukkit + Sponge 2019-05-05 23:06:20 -07:00
ceff17c4f7 Misc fixes.
Closes a few old youtrack issues which I don't remember because I had
like 30 tabs open, and a few other issues which I found while testing
some of those.
2019-05-05 15:15:03 -04:00
fb4fb980e0 Condense some command packages 2019-04-30 15:03:18 -07:00
743d7f08ab Purge intake-like command system 2019-04-30 14:59:45 -07:00