Commit Graph

223 Commits

Author SHA1 Message Date
Kenzie Togami
4d6045813c Move vectors to static creators, for caching 2019-01-10 07:17:04 -05:00
Kenzie Togami
de7d9421b1
Add generics to other rawtypes 2018-12-26 16:45:46 -08:00
Kenzie Togami
3fefcbf971
Remove all raw usages of BSH, improve API generics 2018-12-26 16:39:10 -08:00
gamerforEA
66415dfa34 Fix BlockType and ItemType registration for Sponge distributive 2018-12-24 22:19:05 +04:00
gamerforEA
2e62389bdc Update SpongeAPI 2018-12-24 16:07:09 +04:00
gamerforEA
53ddc3fac0 Fix Metrics injection 2018-12-24 16:02:13 +04:00
IronApollo
d4157b7e0e Current progress with update 2018-12-23 11:19:33 -05:00
Matthew Miller
ea30578781 Added a way to get the spawn position of a world 2018-12-21 17:05:30 +10:00
Matthew Miller
c949b07df1 Added a method to teleport entities across worlds. 2018-12-21 16:56:10 +10:00
Matthew Miller
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
Matthew Miller
8f236afae9 Added a display name to Actors 2018-12-18 17:36:53 +10:00
Matthew Miller
7d468357e3 Added "fast mode corrections" 2018-12-09 16:27:02 +10:00
Matthew Miller
e0dcd2e9c2 Disable signing task when not signing. 2018-11-18 14:28:37 +10:00
Matthew Miller
bf98dcff09 Updated bStats 2018-11-10 19:26:46 +10:00
Matthew Miller
53bc730909
Merge pull request #435 from sk89q/feature/trace-unflushed-sessions
Add tracing for unflushed EditSessions
2018-11-04 17:21:25 +10:00
Kenzie Togami
2c8b2fe089
Move vectors to static creators, for caching 2018-11-03 23:00:24 -07:00
Kenzie Togami
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
Kenzie Togami
351a8bbc6c
Align configurate with yaml config 2018-10-30 18:45:53 -07:00
Kenzie Togami
e1fbaaff59
Add tracing for unflushed EditSessions 2018-10-30 18:39:51 -07:00
Matthew Miller
d1cb6e2156 compileOnly breaks shadowJar. bStats needs to fix their repos. 2018-10-10 23:22:38 +10:00
Matthew Miller
e3001586e5 Make bStats compileOnly so transitive projects won't load it, Jitpack has issues. 2018-10-10 19:39:09 +10:00
Matthew Miller
cf7ce70802 Skip signing in artefactory publish 2018-10-10 17:09:20 +10:00
Matthew Miller
bf38b371d8 Update bStats because they deleted their old repo. 2018-10-10 16:59:18 +10:00
Matthew Miller
6ecbf19406 Properly rotate fences etc 2018-10-08 22:32:26 +10:00
Jesse Boyd
cfbf7dbec0
Update from sk89q/master 2018-09-25 15:35:21 +10:00
Matthew Miller
02c6f11bb9 Added bStats 2018-09-20 22:59:42 +10:00
Matthew Miller
4969dac39c Potential minor performance improvements when checking fuzzy equality. 2018-09-20 16:56:46 +10:00
Matthew Miller
4d0df10f88 Fixed sessions not saving on shutdown 2018-08-19 13:01:08 +10:00
Matthew Miller
eba91cac5f Added a config option to entirely disable server side cui. 2018-08-18 19:42:45 +10:00
Matthew Miller
0cbfc9308e Add base of sendFakeBlock to Sponge and Forge impls 2018-08-18 19:35:53 +10:00
Jesse Boyd
1740c845d2
What are the dud BlockCategories? 2018-08-14 11:00:44 +10:00
Matthew Miller
f54d6afb65 Make BaseBlock more memory efficient, and make it clear in the API that it's not intended to be used for every single block. 2018-08-10 20:29:06 +10:00
Matthew Miller
1480606b52 Fixed a few more issues found looking over the changeset. 2018-08-04 11:43:42 +10:00
Matthew Miller
663dd1f4d8 Added an entity, weathertype, and gamemode registry. 2018-08-04 11:43:41 +10:00
Matthew Miller
39c6a5e958 Fixed items not being registered 2018-08-04 11:43:40 +10:00
Matthew Miller
ca06a05117 Update the Bukkit adapter to the Spigot API Preview 2018-08-04 11:43:40 +10:00
kashike
ee6af8ee76 state stuff 2018-08-04 11:43:40 +10:00
kashike
40a665a509 package move 2018-08-04 11:43:40 +10:00
Matthew Miller
e1c2ea3a3b Update configs, and remove unused BlockData methods. 2018-08-04 11:43:40 +10:00
kashike
d33e2e98aa registry changes 2018-08-04 11:43:40 +10:00
kashike
a48c319e7e package move 2018-08-04 11:43:40 +10:00
Matthew Miller
7db443a69a Migrate the logic for which pass a block goes into. Also updated it and made it use tags where possible. 2018-08-04 11:43:40 +10:00
Matthew Miller
e291cccb94 Move simulateBlockMine up to the platforms. 2018-08-04 11:43:40 +10:00
Matthew Miller
b06937d1c8 Setup a legacy mapper system. The file does not exist yet. 2018-08-04 11:43:39 +10:00
Matthew Miller
282eca7663 Added a category system and refactored registries 2018-08-04 11:43:39 +10:00
Matthew Miller
484687a49d Further work on BlockState transition 2018-08-04 11:43:39 +10:00
Matthew Miller
e99190225e Further BaseBlock modernisation 2018-08-04 11:43:39 +10:00
Matthew Miller
5f5a1797ad Remove legacy ServerInterface 2018-08-04 11:43:39 +10:00
Matthew Miller
e2608bc0c9 Further modernise and remove legacy item classes 2018-08-04 11:43:39 +10:00
Matthew Miller
aaaf2d5678 More deprecation removal 2018-08-04 11:43:38 +10:00
Matthew Miller
20bf6e079b Continue the great purge 2018-08-04 11:43:38 +10:00
Matthew Miller
d5012bb072 Rename legacy things to bundled things. 2018-08-04 11:43:14 +10:00
Matthew Miller
f5f1d357d9 Get rid of the string equality and convert a few more ID uses over. 2018-08-04 11:43:14 +10:00
Matthew Miller
41a80064f5 I guarantee this is broken. Start some form of string ID for blocks 2018-08-04 11:43:14 +10:00
Qveshn
f680635ded Added customizable command log format (Date+Time are now available)
Added the option format to config files (config.yml + worldedit.properties). By default, current date and time are displayed.
The formatting function is implemented by analogy with the class java.util.logging.SimpleFormatter
2018-05-19 18:47:45 +03:00
Matthew Miller
2a3318b848 Added signing plugin 2018-01-14 12:41:14 +10:00
Matthew Miller
50f60da69f Prevent players and complex parts being pasted in schematics. 2018-01-02 20:49:36 +10:00
Matthew Miller
fbd6f13fdb Update for BlockChangeFlags change 2017-12-16 18:01:45 +10:00
Me4502
afb1a1cb2d Added 1.12.2 support to WorldEdit Sponge 2017-10-22 21:46:35 +10:00
Me4502
354045acb9 Updated Sponge worldedit to 1.12.1 2017-09-17 16:41:39 +10:00
wizjany
d1c2b8c3e5 Downgrade sponge target to fix compilation issues. 2017-08-05 12:55:35 -04:00
Me4502
aabc229076 Update WorldEdit-Sponge to 1.12
Also added support for minecraft:stone item types.
2017-06-12 12:08:09 +10:00
Me4502
3cf018f14a Bump the SpongePowered plugin version up to 0.8.1 2017-05-06 16:53:28 +10:00
Me4502
000c23827c Added 1.11.2 adapter for Sponge. 2017-01-16 11:06:58 +10:00
Me4502
04d4e89541 When choosing adapters, allow ones that aren't best, but prioritize best. 2017-01-15 17:23:45 +10:00
Me4502
76ae7e4826 Dev is always best when possible. 2016-12-29 12:15:55 -05:00
Me4502
8d27e2ae09 Added a 'dev' adapter - allowing for WorldEdit to still function in dev mode. 2016-12-29 12:15:55 -05:00
Me4502
ba59d40d69 Remove the unneccesary buildscript closure. (reverted from commit 471e759cc0d332855d82e47e3355f111ca288d2b) 2016-12-29 12:15:55 -05:00
Me4502
8cb0aa47a8 Remove the unneccesary buildscript closure. 2016-12-29 12:15:55 -05:00
Me4502
240648fd70 Updated to new Impl classes. 2016-12-29 12:15:55 -05:00
Me4502
2754d9f9ec Change adapter to allow for a 'isBest' system, meaning adapters can specify they are best used with version X. 2016-12-29 12:15:55 -05:00
Me4502
ad1bf9cf92 Fixed a lack of -dist jars. 2016-12-29 12:15:55 -05:00
Me4502
b8221e28d4 Moved the impl classes over to a directory structure 2016-12-29 12:15:55 -05:00
Me4502
3df026c2fd Removed forgegradle - it's not needed. 2016-12-29 12:15:55 -05:00
Me4502
156bf0acf5 Fixed missing license headers. 2016-12-29 12:15:55 -05:00
Me4502
e967ddf393 Switched to an adapter system. Currently has adapters for 1.10 and 1.11.
Currently, due to the small number of changes it's loading the 1.11 adapter for 1.10. This needs fixing.
2016-12-29 12:15:55 -05:00
Me4502
a438347604 Updated WorldEdit for Sponge to 1.11 2016-12-29 12:15:55 -05:00
Me4502
93735c3268 Updated for API changes. 2016-12-29 12:15:55 -05:00
Wyatt Childers
89767aedf4 Updated for latest Sponge API changes 2016-12-29 12:15:55 -05:00
Wyatt Childers
51d44f42fd Updated for latest Sponge API changes 2016-12-29 12:15:55 -05:00
Minecrell
b99ea5ec6c Update to Minecraft 1.10.2 2016-12-29 12:15:55 -05:00
Minecrell
ed8f18564a Update for Minecraft 1.10 2016-12-29 12:15:55 -05:00
Wyatt Childers
92c4a145a6 Further updates for Sponge API 5.x 2016-12-29 12:15:55 -05:00
Minecrell
b2d2fc2e70 Update for SpongeAPI bleeding changes 2016-12-29 12:15:55 -05:00
Minecrell
3216695d65 Update Sponge implementation for Minecraft 1.9.4 2016-12-29 12:15:55 -05:00
Wyatt Childers
e1bb00e665 Fixed an issue where item spawns were not given a proper cause, which lead to things like the super pickaxe not working 2016-07-04 17:19:33 -04:00
Wyatt Childers
edb4c0b61a Disable left-click air task creation (in Sponge)
Following the lead of the Bukkit implementation in commit a5f5dc099b, disable left-click air task creation
2016-05-30 19:38:52 -04:00
Minecrell
fd0e400bcc Minor improvements to Sponge implementation
- Use SpongeGradle for setting plugin version from Gradle
- Use Guice to manage configuration
- Use event filter annotation for interact event
- Set plugin description and URL
- Remove some redundant parts in the Gradle config
2016-05-21 10:05:21 -04:00
Wyatt Childers
beba8daf45 Use Sponge version 4.1.0-SNAPSHOT 2016-05-20 14:18:04 -04:00
Wyatt Childers
83a3843c15 Use the main WorldEdit version for Sponge 2016-05-20 14:18:04 -04:00
Wyatt Childers
bc29bff072 Additional cleanup for the Sponge implementation 2016-05-18 23:04:29 -04:00
Wyatt Childers
1c2348cd41 Properly generate the default configuration 2016-05-18 19:47:28 -04:00
Wyatt Childers
27b6efefdb Use configurate for configuration 2016-05-18 19:27:38 -04:00
Wyatt Childers
da33245842 Perform some restructuring 2016-05-18 18:30:22 -04:00
Wyatt Childers
785a827f01 The SpongePermissionsProvider is not the SponePermissionsProvider 2016-05-18 18:18:14 -04:00
Wyatt Childers
baa3a0a8b5 Added WorldEdit CUI support 2016-05-18 17:59:52 -04:00
Wyatt Childers
03819a2342 Use a fixed entity spawn cause of PLUGIN type for creating entities 2016-05-17 01:07:40 -04:00
Wyatt Childers
d1e9446d47 Use a static builder and reset it, rather than asking the Sponge registry for a new builder 2016-05-17 01:07:28 -04:00
Wyatt Childers
a31546eda2 Changed WorldEdit to use BlockSnapshots to create blocks 2016-05-17 01:07:01 -04:00
Wyatt Childers
2fd5c2f887 Check for the root cause instead of the source when handling the InteractBlockEvent 2016-05-01 15:02:51 -04:00
Wyatt Childers
96798bbb90 Fixed an issue where a block had to be clicked for WorldEdit to receive event information 2016-05-01 14:43:53 -04:00
Wyatt Childers
330523bac4 A BlockSnapot does not always have a location in the InteractBlockEvent 2016-04-16 17:19:40 -04:00
Wyatt Childers
a50e337224 A player is not always present when the InteractBlockEvent is fired anymore 2016-04-14 21:55:15 -04:00
Wyatt Childers
205e2d212e Cleaned up the Sponge Command Sender chat implementation 2016-04-04 23:34:34 -04:00
Wyatt Childers
7fb763f7e6 Removed the ant build from WorldEdit Sponge 2016-03-24 18:15:04 -04:00
Wyatt Childers
0cca831116 Fixed additional formatting bugs 2016-03-24 18:14:28 -04:00
Wyatt Childers
23f2930aad Removed the regeneration code for the Sponge platform 2016-03-22 00:51:33 -04:00
Wyatt Childers
de0da7d3e9 Updated for support with Sponge Vanilla 2016-03-22 00:50:32 -04:00
Wyatt Childers
a91d881d73 Fixed checkstyle test for the Sponge platform 2016-03-19 14:33:14 -04:00
Wyatt Childers
04cf831a33 Updated to Sponge 4.0 2016-03-09 21:33:59 -05:00
Wyatt Childers
0fd603bbd8 Corrected some issues with sending raw messages on the Sponge platform 2016-03-05 17:36:02 -05:00
Wyatt Childers
3b176038bf Fixed a bug where some mobs were incorrectly determined to be tagged on the Sponge platform 2016-03-05 16:00:31 -05:00
Wyatt Childers
222ba33aa4 Fixed Sponge implementation player rotations 2016-03-03 20:31:44 -05:00
Wyatt Childers
f09fff9491 Fixed setting blocks, entities, and implemented entity rotation 2016-02-05 19:33:49 -05:00
Wyatt Childers
12a8a858b9 Removed the dependency on SpongeForge 2016-02-05 19:33:48 -05:00
Wyatt Childers
61cba3ce07 Import cleanup 2016-02-02 19:28:05 -05:00
Wyatt Childers
5efbeec44f General cleanup 2016-02-02 18:15:47 -05:00
Wyatt Childers
c62125cd70 Fixed the Thread Safe Cache 2016-02-02 18:15:33 -05:00
Wyatt Childers
81960c6b54 Further work on snapshot restores 2016-02-02 18:15:10 -05:00
Wyatt Childers
c3c787bc9a Fixed the command system 2016-02-02 18:14:30 -05:00
Wyatt Childers
8e49538e6e A few cleanup things 2016-02-02 15:12:54 -05:00
Wyatt Childers
d468557e79 Implemented the ID helper 2016-02-02 15:04:29 -05:00
Wyatt Childers
2db47f8fd4 Initial work on WorldEdit Sponge 2016-02-02 01:28:27 -05:00