Commit Graph

1189 Commits

Author SHA1 Message Date
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
b0777f6b06 Use DFUs for some additional data fixing.
Legacy mapper now uses the data fixers to upgrade blocks and item types
(e.g. signs, dyes that changed names in 1.14).
The sponge schematic reader can now attempt to use the data fixers to
upgrade blocks, block entities, biomes and entities. This has been
tested with the 1.13 -> 1.14 changes. It is yet to be seen if it will
continue to work because...
The mc edit schematic reader has code for using data fixers, but it is
currently disabled as there seem to be some issues with fixing up older
block entities.
2019-05-20 16:39:58 -04:00
334d5cfaab The "spawner|mobType" syntax once again makes functional mob spawners.
Also fix block parser context not being restricted.
2019-05-18 10:16:08 -04:00
41cfcb6d55 Use a jar for bukkit impl adapters.
120 class files is a bit much.
2019-05-14 18:34:53 -04:00
931b7ee694 Update for 1.14.1 2019-05-14 00:09:21 -04:00
f9d0d340e7 Add DFUs. Currently used by //restore. 2019-05-13 23:07:53 -04:00
5c97418cca Fix NBT list conversion in 1.14. 2019-05-13 18:49:43 -04:00
c797dcb194 WIP filter patterns 2019-05-12 23:32:04 +10:00
8a3e6a12b9 Implement suggestions for Bukkit + Sponge 2019-05-05 23:06:20 -07:00
acc0e7d09c Fix logging on Bukkit, align adapter versions 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
d603f45063 remove debug 2019-05-05 22:19:13 +10:00
7c174beaee Region filter 2019-05-05 03:58:26 +10:00
4116adcfef Some refactoring 2019-05-03 03:38:08 +10:00
f5944fbcaf filter set 2019-05-03 00:45:03 +10:00
8dcc005ec1 tile/biome/entity set 2019-05-02 18:27:33 +10:00
57c161a602 Actually initialize GameModes and WeatherTypes. 2019-05-02 00:08:19 -04:00
13a8c480e3 Insert Locale.ROOT into all case change methods 2019-05-01 15:24:32 -07:00
ad52e01e9f update players 2019-05-02 05:19:25 +10:00
4619fd2b49 Reuse get array after apply 2019-05-02 05:02:11 +10:00
18e6c09fdd use paper writeLock 2019-05-02 04:30:32 +10:00
adb2c37a02 set blocks 2019-05-02 04:19:15 +10:00
f96760b36c block set test 2019-05-02 02:01:41 +10:00
eec08c81ad async chunk loading 2019-05-02 01:45:18 +10:00
7c1764548d Deprecate old system, still in use by WG/CB 2019-04-30 13:53:14 -07:00
33e119ccb6 implement block get 2019-05-01 02:19:10 +10:00
e2c9454399 Don't print stack trace, print another few lines of debug for using paper
Closes #133 bye bye
2019-04-30 11:56:30 +01:00
3c04a83852 Add nicer error when using player commands as console.
Also fix slash counts for Bukkit.
2019-04-29 17:39:30 -04:00
6692a2eb92 document some methods 2019-04-29 03:36:23 +10:00
57b5be84f4 more structure 2019-04-29 01:44:59 +10:00
b3053f19ce Pagination changes and cleanup.
Refactored PaginationBox to be abstract. Implementations can generate individual components as needed now.
Add lots of Component usage to schematic list, help listings, etc.
Fix a few schematic and file resolution issues.
2019-04-28 01:12:05 -04:00
686c71d965 Move around some debugs 2019-04-27 20:34:56 +02:00