Commit Graph

352 Commits

Author SHA1 Message Date
c20f4c6b7f Fixed a null pointer. Merged in a bunch of CLI stuff. 2019-09-02 15:22:43 -04:00
68eea925e1 update adapter and platform manager 2019-08-29 13:57:03 +01:00
4e49d16505 fix dependencies 2019-08-26 05:45:03 +01:00
0620478763 feature(cli): Added a CLI version of WorldEdit, and allowed most commands to be run from console (#508)
* Re-do commits to avoid awful rebase

* You can load and save a schematic file now. Still gotta setup ability to use commands as a console actor.

* Add a world override concept to LocalSession, and allow a lot more commands to be performed by actors.

* Fixed commands, and set the loaded schematic as the world override in CLI

* Properly load tags

* Added 1.14.4 data values

* Allow a majority of commands to be performed by the console.

* Fixed a lot of PR requested changes

* Added a Locatable interface and use that for getting the location of the player in commands.

* Added script support. Currently requires a newline at the end of the script.

* Shade everything to allow this to run locally - should probably minimize this to an extent later.

* Actually hook up the version

* Added a //world command to set the override

* Fixed a missed checkstyle issue

* Added CommandBlock support to Bukkit

* Make command block support configurable

* Minor cleanup and implementing a few of the final functions

* Fixed most issues from PR

* Improve UX, saving is now automatic and unknown command messages show

* Better save docs and support any clipboard format

* Include the entire formats list

* Arrays.copyOf

* Clear the world override if the selector is called on another world.

* Update logging extent to allow basic logging with non-player actors
2019-08-25 19:58:28 +10:00
ae89c16390 merge 2019-08-23 08:36:33 +01:00
d434dfcfdd some minor refactoring 2019-08-18 02:09:09 +01:00
17cfdee347 Update/remove more dead links. 2019-08-06 23:07:26 -04:00
95d5adb30c Update docs links to point to enginehub. 2019-08-06 21:49:43 -04:00
74fe88ae01 merge 2019-08-07 01:28:12 +10:00
76b608f90b Fix suggestions on Bukkit for good 2019-07-27 23:31:38 -07:00
0f420f02ff Fix some load-order issues probably.
Edge cases might still exist around plugins which use WE for initial
world-gen, or in general plugins that try to access the platform
before it's ready.
2019-07-27 11:45:21 -04:00
2cc6a367c6 Move floatAt logic to AbstractPlayer, add isAllowedToFly and setFlying. 2019-07-23 22:16:26 -04:00
e504c29df6 Fix potential race condition.
I guess.
2019-07-23 21:41:39 -04:00
9816eb3102 More work on commands 2019-07-23 16:26:18 -04:00
46f5b12b36 Convert tabs to whitespace. 2019-07-22 16:42:40 -04:00
283351fea5 fix conflicts 2019-07-22 16:39:43 +10:00
07283af614 some bindings 2019-07-22 16:02:51 +10:00
9c3122a227 More work on getting commands to compile 2019-07-21 22:49:08 -04:00
6e13b44f84 resolve issues with 2e67425d8131a2b1eb7ff752335bccf371801b8b 2019-07-18 20:12:23 +10:00
be8213d8ee resolve conflicts 2019-07-18 16:56:57 +10:00
dd38cbe750 . 2019-07-18 04:30:02 +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
fee57017cd Bump dummy version to 1.14 2019-07-11 22:50:28 +02:00
cf0c735cf3 Merge branch 'breaking' into breaking-114 2019-07-11 08:08:55 +10:00
cafd4bfece use Locale.ROOT for uppercase as well 2019-07-10 22:26:31 +10:00
a98a91e066 Use Locale.ROOT 2019-07-10 21:03:00 +10:00
b32d46b08a Use Locale.ROOT 2019-07-10 21:01:56 +10:00
50e649acb8 update items 2019-07-10 20:58:27 +10:00
4a40c7d99c Renaming and cleanup and a new method. 2019-07-09 15:50:13 -04:00
f99d6e7478 wip on 1.14 2019-07-09 17:18:51 +10:00
a18f26f8af Play nicer with naughty plugins. 2019-07-06 09:44:53 -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
a4344fb2df add 1.14 depend (non functional) 2019-06-29 14:06:19 +10:00
664a7017b6 Add NotNull annotation to adapter 2019-06-29 06:28:14 +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
846a1b0769 6c94cca15e 2019-06-29 00:01:51 +10: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
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
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