Commit Graph

379 Commits

Author SHA1 Message Date
Yeregorix
5b4322e53a
Fix left click on air being ignored and right click on block being handled twice (#2153)
* Fix left click on air being ignored and right click on block being handled twice

* Factorize debouncing and cache event result

* Fix ForgePlatform#server being always null
2023-09-14 19:09:27 +10:00
Madeline Miller
8af61f1c29
Update gradle plugins to attempt to improve build speeds
Appears this issue might be the main underlying cause, https://github.com/PaperMC/paperweight/issues/199, which this doesn't address
2023-08-16 17:56:12 +10:00
Madeline Miller
5d03b1e682
Update test permissible for latest API 2023-07-16 20:10:36 +10:00
Madeline Miller
93e413c613
Fix test compile error due to Spigot mid-version API break 2023-07-02 20:55:16 +10:00
Jordan
4892e056cf
feat: implement recently-added tree types to tree generator (#2332)
* feat: implement recently-added tree types to tree generator

* fix: add mappings to implementation worlds

* Use later API version to fix tests

---------

Co-authored-by: Madeline Miller <mnmiller1@me.com>
2023-06-14 18:47:19 +10:00
Maddy Miller
1f22906aca [Bukkit] Add 1.20.1 support to adapter 2023-06-13 00:25:28 +10:00
Maddy Miller
40a203c3d2
Add Console/CommandBlock support to Fabric/Forge/Sponge (#2317)
* Add Console/CommandBlock support to Fabric/Forge

* Hoist config option and add a common abstract class for command block actors

* Apply to Sponge too
2023-06-09 21:21:40 +10:00
Madeline Miller
066a7abf7f [Bukkit] 1.20 2023-06-09 20:16:41 +10:00
Octavia Togami
9667101730
Upgrade many items, Gradle 8.1.1 (#2329)
* Upgrade many items, Gradle 8.1.1

* Bump to codecov snapshot

* Use the release of the codecov plugin

---------

Co-authored-by: Madeline Miller <mnmiller1@me.com>
2023-06-04 05:40:08 +00:00
wizjany
abc8c1f256
Add -Penginehub.obf.none=true gradle property to build mojmap worldedit-bukkit. (#2316)
This simply takes the -dev adapter jars instead of the obfuscated ones, creating otherwise the exact same worldedit-bukkit jar. This jar can be used on mojmap paper servers.

Closes #1929.
2023-05-16 17:05:30 -04:00
JOO200
38d2ff134a bukkit: add adapter for bukkit 1.19.4 (#2281)
* bukkit: add adapter for bukkit 1.19.4

* added missing reobf mapping to 1.19.4 adapter

* Drop unused comments
2023-03-18 14:37:33 +10:00
Madeline Miller
f6646aaab1
Update to the new Paper maven repo 2023-03-05 16:52:44 +10:00
Brokkonaut
6bbcf74655 Allow custom biomes in bukkit 2023-02-11 04:41:16 +01:00
Madeline Miller
474c191c4c
Use the connection field on 1.19->1.19.3 rather than networkManager 2022-12-27 22:35:58 +10:00
Madeline Miller
2e86f0512f Paper 1.19.3 (Untested due to IntelliJ indexing) 2022-12-09 21:27:00 +10:00
Maddy Miller
470fe9e134
Add author to, and cleanup manifest files for various platforms (#2197) 2022-10-01 20:26:21 +10:00
wizjany
e01b049265
[Bukkit] 1.19.2 DV.
Assuming spigot doesn't decide to randomly break things, this should work when it releases.
2022-08-05 10:17:28 -04:00
wizjany
9ef6e5bd81
MC 1.19.1 (#2159)
* [Fabric] Bump versions to 1.19.1.

No code changes needed.

* [Bukkit] Add 1.19.1 DV to 1.19 adapter.

No mapping changes. Devbundle left untouched for now.

* [Forge] Bump versions to MC 1.19.1.
2022-07-30 15:30:27 +10:00
Octavia Togami
298b641a8b Make the BukkitAdapter thread-safe 2022-07-15 21:27:42 -07:00
Octavia Togami
3433e40d51
Fix CB watchdog, fail early if it breaks 2022-06-10 17:07:24 -07:00
Octavia Togami
7df4d984ff
[Bukkit] 1.19
Removed 1.18, 1.18.2 is still present
2022-06-09 17:21:11 -07:00
Maddy Miller
c515eb5f26
Cache properties to reduce startup memory (#2103)
* Cache properties to reduce startup memory

* Apply PR review notes

* Remove import
2022-06-04 16:30:23 +10:00
Octavia Togami
8ddd31797c
Fix fastutil on sponge (#2099)
VG excludes the wrong version, PR has been made
2022-05-22 17:02:35 +10:00
Octavia Togami
14ecf9320c
Bump paperweight + bundle to fix build 2022-04-21 18:40:49 -07:00
wizjany
27b2945362
Bump adapter jar.
https://github.com/EngineHub/worldedit-adapters/pull/31
2022-03-20 12:42:46 -04:00
wizjany
e715ccc3b4
Fix passenger entity saving and loading (#2058)
* Fix incorrect saving and subsequent loading of passenger entities in vehicles.

Originally from https://github.com/EngineHub/WorldEdit/issues/1763#issuecomment-1062429891.

Co-authored-by: wizjany <wizjany@gmail.com>

* Port to Fabric/Forge.

Rewrite in Sponge to use EntityArchetype.
Sponge is untested because WE doesn't properly build/run on it right now apparently?

* NBT Constants.

Co-authored-by: Red_Epicness <red.epicness@icloud.com>
2022-03-18 14:33:35 +10:00
Pierre Maurice Schwang
44863cf5d8
Don't access PluginClassLoader directly (#2045) 2022-03-05 08:50:42 -05:00
wizjany
48d7ccc1b2 [Bukkit] 1.18.2 2022-03-04 22:03:12 -08:00
Octavia Togami
8c83ef80fa [Bukkit] Remove nbt tricks from adapters 2022-03-04 22:03:12 -08:00
Maddy Miller
30e1601489
Apply update flag on later change (#2037)
* Apply update flag on later change

* Checkstyle

* Move entry point for UPDATE
2022-03-05 03:32:03 +00:00
wizjany
eac5b51b0f
Play dirty because bukkit classloading is bad. (#2043)
* Play dirty because bukkit classloading is bad.

Fixes #2042.

* Make logging more Bukkit-friendly.

* Checkstyle
2022-03-02 12:20:28 -05:00
wizjany
e2ab12c375
Change the class source validator to use classloaders for detection. (#2039)
Since each plugin now has a semi-isolated classloader, checking the codesource of our classes will always give our own plugin back.
Instead, we iterate through every other plugin and ask *its* classloader to load the class. If the loaded class lives in a different classloader than our own, we know it (or someone else) has a different version.
2022-02-28 09:21:01 -05:00
Octavia Togami
ab31481e58
Use Chunk#getNoiseBiome instead of biome container (#2025)
This is just way easier, and not buggy! Fixes #2012
2022-01-30 20:02:03 +00:00
Octavia Togami
fb50324767
Update worldedit-sponge to API 8 (#1771)
* Sponge 8 work

Remove text adapter

Debugging the bugs out

* Resolve compiling for latest Sponge

* Update for latest SpongeAPI 8 snapshots

* Fixed a few issues with Sponge8 WorldEdit. Command completions are still broken.

* Resolve completions

* Bump to Sponge API 8 release

* Remove VALIDATION as a supported SideEffect on Sponge for now.

* Append Sponge API version to archive name

* Implement regeneration on Sponge; currently hangs due to a Sponge bug.

* Fixed typo

* Fix commands without permissions and version handling

* Make changes from PR comments and re-add bStats

Co-authored-by: Madeline Miller <mnmiller1@me.com>
2022-01-29 18:02:42 +00:00
wizjany
0ad3ab14d9
Remove extra label from bukkit command usage string.
This is never actually shown anywhere since we use our own help factory, but
apparently the bukkit api exposes it so...
2022-01-16 13:03:45 -05:00
Madeline Miller
92dfe5e44e
Bump Paperweight to allow 1.17 adapters from source 2021-12-21 19:49:48 +10:00
wizjany
20c42b51c8
Extract log4j version to Versions.kt.
Also bump to match underlying platform versions to resolve runtime
version mismatches.
2021-12-12 18:49:32 -05:00
wizjany
885c326cee
Bump paperweight, dev bundle. 2021-12-12 17:27:22 -05:00
wizjany
22816cffe9
Version bumps for bukkit/fabric 1.18.1 2021-12-10 08:58:42 -05:00
wizjany
5ce37d7ab2
Merge branch 'version/7.2.x' into snapshot-testing/1.18 2021-12-02 15:15:05 -05:00
wizjany
f534b61f30 Theoretically works on forge. 2021-11-30 16:01:06 -05:00
wizjany
4e3fa750ec Missed mapping. 2021-11-30 14:59:36 -05:00
wizjany
b00e0a4cfb Paperweight roulette. 2021-11-30 14:31:52 -05:00
wizjany
6760ad7115 Bump version numbers and stuff for 1.18 release. 2021-11-30 11:53:14 -05:00
wizjany
979b522738 Make Paperweight adapter run on 1.18rc3. 2021-11-27 13:45:30 -05:00
Octavia Togami
44d91b0c73
Shove 1.17 adapters into a jar to fix the build 2021-11-26 18:54:55 -08:00
wizjany
1aad921836 Bump paperlib dep.
Fixes a bug with detecting pre-release versions.
2021-11-25 11:21:15 -05:00
Octavia Togami
511daa5078
Update paperweight dev bundle 2021-11-23 17:25:28 -08:00
wizjany
bd87665e34
Update paperweight + userdev bundle. (#1930)
* Update paperweight + userdev bundle.

* remove unneeded config (set by userdev plugin already)
2021-11-11 20:05:43 +00:00
wizjany
d48530cb67
Don't allow editing without a Bukkit Impl Adapter. (#1920)
* Don't allow editing without a Bukkit Impl Adapter.

Also fix up some failed adapter checks.

* Make config a string, log warning message.

* checkstyle
2021-10-23 16:42:14 -07:00