Commit Graph

103 Commits

Author SHA1 Message Date
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
62353a46db Added a pagination box and use it in Biome List and Chunk List 2019-04-27 21:57:45 +10:00
7ff537138a Merge master again 2019-04-26 01:25:42 -07:00
b8c120e0c4 Finish porting commands 2019-04-26 01:18:02 -07:00
31a8328fb5 Add data version to BukkitImplAdapter.
Also throttle unknown-block warning when loading MCEdit schematics.
2019-04-26 16:41:39 +10:00
17fba54305 Update SpongeSchematic format to version 2.
Allows saving and loading entities and biomes.
2019-04-26 16:41:39 +10:00
853bfab022 Merge master, update to texts 2019-04-25 22:11:46 -07:00
f70557e3da Provide a warning when an invalid property is entered rather than failing. Fixes WorldEdit entirely failing on new MC versions. 2019-04-25 22:48:15 +10:00
1e7b4fc835 Move shaded libraries to their own artifacts 2019-04-20 23:11:39 -07:00
55348346e9 Shade in Kashike's lib 2019-04-19 14:49:29 +10:00
ac03de89cc Work on adding converters for some arguments 2019-04-18 19:11:57 -07:00
37c993be16 Port ClipboardCommands, update to new Key 2019-04-18 12:34:57 -07:00
267ccf2298 First attempt at integrating Piston as the only command system 2019-04-15 01:21:15 -07:00
3e4004ad9e Start work on improving the formatting system. May switch to Kashike's as Bukkit is shit 2019-04-14 19:33:44 +10:00
961da1b93f Add BukkitPlayer constructor without plugin.
tbh I don't know why we even need to keep the plugin object around.
2019-03-30 17:32:10 -04:00
d186cce393 Merge remote-tracking branch 'origin/feature/slf4j-logging' 2019-03-19 20:32:21 +10:00
d1c2a029bf Move some platform stuff to load, put enable back to postworld. 2019-03-15 23:43:57 -04:00
c885f70c7b Load Bukkit plugin at startup.
This should allow plugins that use WorldEdit to do things on world load.
2019-03-15 18:38:06 -04:00
d6804737cf Switch to SLF4J logging. 2019-03-13 19:51:48 -07:00
6937cfc9a9 Need internal ID for EntityType here too. 2019-03-09 10:46:40 -05:00
7c89ece96e Few tweaks to schematic loading and error fixes.
* Not all EntityTypes in Bukkit have the correct enum name.
* Don't read entire schematic files to list. Go off file extension only.
   (Reading in files is more accurate, but slow.)
* Enforce extensions. (Due to the above, while you can technically make a
   schematic called 'test.txt', it's better that we save it as
   'test.txt.schem'.)
* Fix a few minor warnings.
2019-03-08 16:00:49 -05:00
90797d12f4 Skip legacy materials when setting up registries.
Doesn't make a difference normally, but avoids errors in special envs.
2019-02-25 18:41:20 -05:00
50a286b070 Update the block/item category registries - this won't build until a Spigot PR is merged though. 2019-02-17 13:30:40 +10:00
db1315e043 Refactor registries to entirely use the platform 2019-02-16 19:35:13 +10:00
1b101740fe Use a proper registry for biomes 2019-02-16 17:27:00 +10:00
319f2efe43 Ignore synthetic classes when loading BukkitImplAdapter. 2019-02-14 18:07:07 -05:00
386668d221 Clean up other compiler warnings 2018-12-26 16:50:24 -08:00
de7d9421b1 Add generics to other rawtypes 2018-12-26 16:45:46 -08:00
3fefcbf971 Remove all raw usages of BSH, improve API generics 2018-12-26 16:39:10 -08:00
ea30578781 Added a way to get the spawn position of a world 2018-12-21 17:05:30 +10:00
c949b07df1 Added a method to teleport entities across worlds. 2018-12-21 16:56:10 +10:00
5eb9b779d7 Move the pasting system over to WorldEdit, and add a /we report command. Currently only reports system status and the config. Need to add a platform reporter system. 2018-12-18 19:28:55 +10:00
8f236afae9 Added a display name to Actors 2018-12-18 17:36:53 +10:00
7d468357e3 Added "fast mode corrections" 2018-12-09 16:27:02 +10:00
be0d21e2a9 Filter out commands that the player doesn't have permissions for. Workaround for a Spigot issue. 2018-12-05 16:32:20 +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
1fa1ff895b Flush or disable buffers in tools 2018-10-20 19:47:17 -07:00
dd2fcbac23 Merge pull request #430 from sk89q/feature/chunk-batching-mode
Chunk Batching
2018-10-15 13:50:10 +10:00
f8bf547c9e Added some missing bukkit registries 2018-10-14 17:55:57 +10:00
0fe1fe33cc Replace BukkitImplementationTester with paperLib 2018-10-12 16:09:52 +10:00
7d4906cfe9 Add chunk batching flag, enable by default 2018-10-10 11:38:23 -07:00
79a4121098 Return null if the material is null. 2018-10-04 20:29:40 +10:00
2cad9a2c09 Switch to a license plugin for headers 2018-10-04 00:29:34 -07:00
388187d26b Cleanup javadoc warnings in worldedit-bukkit 2018-10-01 15:31:26 -07:00
42e0cceeab Bukkit really needs methods to get by key/get key 2018-09-26 15:03:01 +10:00
cc1a54b5f0 Added an implementation tester to Bukkit, to determine which impl is in use. (For WE,WG,CB to use Paper/Spigot specific APIs) 2018-09-23 22:48:04 +10:00
02c6f11bb9 Added bStats 2018-09-20 22:59:42 +10:00
fdb9d77710 Finish the BlockData caching in Bukkit 2018-08-28 18:45:24 +10:00
6c7a49733c Fix plugin enabling on Bukkit without compatible adapter
When loading WorldEdit on a Bukkit server which it does not have an adapter for, a stacktrace is printed to console and WorldEdit does not load. This commit fixes that by registering the BukkitServerInterface before attempting to find a matching adapter.
2018-08-26 21:34:33 +02:00