Commit Graph

1220 Commits

Author SHA1 Message Date
664a7017b6 Add NotNull annotation to adapter 2019-06-29 06:28:14 +10:00
8b9a2ff18c get tool from player 2019-06-29 04:27:46 +10:00
d6280ec945 Avoid redundant check for performance critical code 2019-06-29 04:23:51 +10:00
a2efdbc488 a1c15e1c39 2019-06-29 03:10:47 +10:00
5a67363a78 0313320816 2019-06-29 02:24:57 +10:00
c773a1e278 Remove FaweLocation
it was a leftover from when WE didn't have Location
2019-06-29 00:13:30 +10:00
846a1b0769 6c94cca15e 2019-06-29 00:01:51 +10:00
fecb380d44 aea5b68ced 2019-06-28 22:43:32 +10:00
e38541aa9b Updates to gradle files. 2019-06-26 21:34:20 -04:00
d0a31691e1 Small changes 2019-06-26 20:14:00 -04:00
a69b239848 Upstream 2019-06-25 13:07:47 -04:00
a1c15e1c39 Many upstream changes. Should be non-breaking 2019-06-25 09:00:44 -04:00
57f992a524 Remove nullblock from EditSession 2019-06-23 14:05:14 -04:00
8c9090a21d I changed stuff. That's all I remember 2019-06-23 13:27:34 -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
1e02560039 Remove BukkitMask 2019-06-21 19:58:40 -04:00
0313320816 As Jesse would say... * 2019-06-20 20:05:18 -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
8c17aab9c5 Clean-up some misc. parts of the code 2019-06-15 17:33:17 +10:00
dc21b4df58 This does something idk. 2019-06-15 17:33:17 +10:00
a3a175ab8c Initial attempt at binding state IDs 2019-06-15 17:33:17 +10:00
e1c191599c Implement item brushes and item NBT for bukkit.
This allows usage of `/br <apply|paint> <shape> item` and the `offhand`
syntax for item parser to use NBT.
2019-06-14 16:37:23 -04:00
213cadf093 Import cleanup, ensure gradle uses https for deps, bump deps. 2019-06-13 09:17:00 -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
efb7650d6f Fix some reload issues.
And some unload issues.
2019-06-11 18:02:24 -04:00
3fd661c513 Don't attempt to check unloaded world refs. 2019-06-08 11:25:36 -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
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
6c94cca15e Selective upstream merge
Signed-off-by: MattBDev <4009945+MattBDev@users.noreply.github.com>
2019-06-04 12:40:11 -04:00
e3097dd0fc Use java-library to exclude some deps. 2019-06-03 23:56:34 -04:00
3df2410254 Change chunk loading method.
Behavior of loadChunk changed a lot for the worse in CB 1.14.
2019-06-02 21:56:29 -04:00
1e7c074217 Few misc command fixes. 2019-06-01 09:35:27 -04:00
59447c6ee3 Gradle sucks. 2019-05-31 13:53:28 -04:00
44ee1546b7 Apparently CB uses this. 2019-05-31 11:48:08 -04:00
4e43595c99 Fix builds maybe. 2019-05-31 11:24:38 -04:00
aea5b68ced Upstream merges and a few code cleanups 2019-05-30 16:07:30 -04:00
6ad274677f Don't require command for CUI init. 2019-05-29 23:15:06 -04:00
ec3648e521 Wrap and unwrap.
Exceptions are fun.
2019-05-29 23:15:05 -04:00
a0eb7ce59e Typo Fixes and Added Annotations 2019-05-28 23:23:51 -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
6bc5b4a823 . 2019-05-29 06:31:22 +10:00
871c25e1cd Initial support for 1.14.2. 2019-05-27 19:52:58 -04:00
48fb669119 Guard against reloads breaking too much. 2019-05-25 18:11:23 -04:00
7b47d9a945 Add /tracemask. (#474)
Allows setting a mask used for block traces. This allows brush tools to
pass through various materials, such as water (e.g. `/tracemask #solid`
or `/tracemask !air,water`) before starting to build.
By default, a null mask is equivalent to #existing (original behavior).

https://gfycat.com/ImmaculateFrayedCockatiel
2019-05-23 21:12:31 -04:00
6b0fcc8712 Removed some null checks and fixed some variable names 2019-05-22 14:40:56 -04:00