100 Commits
Author SHA1 Message Date
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
wizjany 0ef38b5292 Use SnakeYaml 1.32+, set loader code point limit. (#2194)
Defaults to 64MB, can be set via -Dworldedit.yaml.codePointLimit sysprop.

Fixes #2193, EngineHub/WorldGuard#1953.
2022-09-26 17:33:57 -04: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
wizjany 70d70f906f Back to snapshot. 2022-07-27 21:00:26 -04:00
wizjany 315c5d0333 Release 7.2.11 beta 2.
Last 1.19 release for forge due to breaking changes.
2022-07-27 20:50:34 -04:00
wizjany 96f791c5e5 [Forge] Bump to final RB for 1.19. 2022-07-27 20:49:24 -04:00
wizjany 27b2945362 Bump adapter jar.
https://github.com/EngineHub/worldedit-adapters/pull/31
2022-03-20 12:42:46 -04:00
wizjany 027a6078f9 Revert "Fix sponge."
This reverts commit 677ce55a92.
2022-03-18 09:00:57 -04:00
wizjany 677ce55a92 Fix sponge. 2022-03-18 08:33:48 -04:00
wizjanyandRed_Epicness 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
wizjany b8d42ac589 Defeat the duplication dilemma. 2022-03-17 13:18:46 -04:00
wizjany b8d096ba99 Un-mixup the mixins.
This properly separates the forge and fabric mixins in the merged -mod jar.
By some miracle Forge was 'working' with the Fabric mixins, but this is probably safer overall.
2022-03-17 16:42:45 +10:00
wizjany 5843aa50e6 Change vector command converter wording. (#2059)
Hopefully will cut down on questions of how to use `//pos x,y,z`.
2022-03-13 02:38:50 +00:00
wizjany f50a81fcc4 Fluid masks for forge/fabric. (#556)
Closes #877.
2022-03-06 18:11:05 -05:00
wizjany 48d7ccc1b2 [Bukkit] 1.18.2 2022-03-04 22:03:12 -08: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
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
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 2c0b47d7db Bump forge version as well. 2021-12-12 18:11:24 -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 bfef9962f4 Fix BlockEntity saving on Forge. 2021-12-04 13:27:38 -05:00
wizjany 6e106c1680 Merge pull request #1939 from EngineHub/snapshot-testing/1.18
1.18
2021-12-02 15:31:49 -05:00
wizjany 5ce37d7ab2 Merge branch 'version/7.2.x' into snapshot-testing/1.18 2021-12-02 15:15:05 -05:00
wizjany 46de95ff3c Clean up forge gradle script, apply the chorus plant fix to forge/fabric world. 2021-12-02 14:43:49 -05:00
wizjany a8656c5f24 Bump some versions, fix forge run configs. 2021-12-02 13:21:57 -05:00
wizjany f53282715e Remove height from //expand vert.
With new world height limits, this will cause more confusion than good.
`//outset -v` or `//expand u,d` can replicate the previous behavior.
2021-11-30 22:19:14 -05:00
wizjany 63d2ad4ec3 Bump forge (again). 2021-11-30 20:11:35 -05:00
wizjany 7b4e2c28af Bump forge version.
Loads now, though Forge prod client/server still don't run.
2021-11-30 17:23:49 -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
wizjany 1aad921836 Bump paperlib dep.
Fixes a bug with detecting pre-release versions.
2021-11-25 11:21:15 -05:00
wizjany c4074717b3 Re-add class shutter with tweaks. (#1947)
We want to hide default-package classes, such as "com", "io", etc. which are common names
in Mojang obf classes but also common package names, without hiding generated default-package
classes such as described in #1895.

This reverts commit 6008fe73
2021-11-19 19:47:21 +00: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
wizjany 1173385ac7 Update Bukkit adapters for world gen change. 2021-08-29 13:02:00 -04:00
wizjany 5a143b83b2 Fix setting biomes on negative-Y-enabled worlds. (#1833)
Also left a note for forge, again.

Closes #1819.
2021-07-14 13:34:50 -07:00
wizjany 1415e6f610 Fix notify at negative Y on fabric, leave note for forge. 2021-07-06 18:18:58 -04:00
wizjany 2586600ebb Update adapters for 1.17.1. 2021-07-06 16:19:18 -04:00
wizjanyandOctavia Togami 43da91ad92 Remove method reflection for getMinHeight in BukkitWorld. (#1796)
* Remove reflective use of the getMinHeight method in BukkitWorld.

Which requires dep updates to 1.17, which may currently break this build?

* Tell Gradle we can read Java 16 JARs

Co-authored-by: Octavia Togami <octavia.togami@gmail.com>
2021-06-22 17:13:47 -04:00
wizjany a57f66f7cc Fix watchdog, add negative y support. (#1782) 2021-06-13 15:40:19 -04:00
wizjany 57a040c447 Update adapter jar. 2021-06-11 15:14:55 -04:00
wizjany e010b4c452 Bukkit 1.17 adapter. 2021-06-11 09:04:27 -04:00
wizjany acf9c3b2e1 Change oak stair shape to straight in legacy.json. 2021-04-05 09:22:51 -04:00
wizjany acd63daddf Slightly improve usability of LocalSession#getSelection. (#1714)
Allow the World param to be null, throwing IncompleteRegionException.

This allows calling `getSelection(getSelectionWorld())` without having
to separately null-check the World.
Also, add a convenience overload which does so: `getSelection()`.
2021-03-25 00:06:05 -04:00
wizjany a40965f8b0 Fix #1686 2021-02-25 12:09:06 -05:00
wizjany b9cee6b988 Bump to snapshot for dev. 2021-01-18 15:49:41 -05:00
wizjany fc3c499847 Release 7.2.2. 2021-01-18 15:33:13 -05:00
wizjany ef9af59ce5 Update Bukkit adapter for 1.16.5.
Just a data version bump. Barely dodged the mapping changes this time.
2021-01-15 22:08:47 -05:00
wizjany df2eb157b0 Back to snapshot for development. 2020-12-09 22:39:20 -05:00
wizjany 299386a33c Release 7.2.1. 2020-12-09 22:39:20 -05:00
wizjany f1560ef90e Changelog for 7.2.1. 2020-12-09 22:39:20 -05:00
wizjany bb464a6f0c Update adapters to fix #1586. 2020-12-09 22:39:19 -05:00
wizjany d6b42a4816 Add instructions for unbinding tools/brushes on equip. (#1595)
* Add unbind instructions to tool/brush commands.

* Switch to suggest.

* Make component final.

* Start suggesting the unbind alias instead.
2020-11-28 09:13:03 -05:00
wizjany 6ac7bbeab2 [Bukkit] Update for 1.16.4. 2020-11-02 17:00:48 -05:00
wizjany f035d0e315 Back to snapshot for dev. 2020-10-21 15:58:11 -04:00
wizjany 605845c5c1 Release 7.2.0 rc 2 2020-10-21 15:57:31 -04:00
wizjany 25957c4498 Check limit == -1 in the copy/cut code.
Fixes #1540.
2020-09-27 13:30:52 -04:00
wizjany e0b8b4856d Fix //chunk text and clarify the y-index in the help text.
Closes #1447.
2020-09-13 21:24:40 -04:00
wizjany beca3a707d Workaround for snapshot files with not-to-spec slashes. 2020-09-11 21:12:12 -04:00
wizjany 1cba5c38f5 Update adapters for 1.16.3. 2020-09-10 18:28:33 -04:00
wizjany 4a4c01cb18 Don't spew warnings/stacks when people symlink their schematics folder. 2020-08-15 09:50:34 -04:00
wizjany 365ca1c6ad Add -c to deform and make -o act like it does in //gen.
Should restore parity between the commands.
2020-08-14 13:59:48 -04:00
wizjany d2239ef7de Copy the class source validator from WG.
Warns when other plugins incorrectly shade WE or our libs.
2020-08-14 01:03:13 -04:00
wizjany 0f7936ca17 Update for Spigot 1.16.2. 2020-08-13 21:44:03 -07:00
wizjany d4c06c73df Bump text-adapters version.
Should hopefully fix various issues people were having on CraftBukkit.
2020-07-23 12:15:02 -04:00
wizjany 9aea9f2b9c Add updated bukkit adapter. 2020-07-15 20:10:25 -07:00
wizjany 9d9aaac15a Add fungi and chorus plant tree types.
Closes #1411.
2020-07-12 14:34:48 -04:00
wizjany 373f86953b Update adapter jar for file deletion fix.
Fixes #1427.
2020-07-09 23:54:33 -04:00
wizjany e64cfe5d37 Fix buildscript issue on certain locales. 2020-07-03 17:07:36 -04:00
wizjany 57b73b9e1f Build script cleanup/updates. 2020-07-02 19:09:11 -04:00
wizjany eaea1e6dda Spelling is hard. 2020-06-30 13:19:13 -04:00
wizjany 042d0f1c91 Add new netherite pickaxe.
Fixes #1407.
2020-06-30 11:19:29 -04:00
wizjany 5612bd979b Add GitHub Sponsors link. 2020-06-27 00:25:08 -04:00
wizjany 66047ade3d [fabric] Prevent NPEs getting client locale. 2020-06-26 13:40:06 -04:00
wizjany 46d3b5caf6 [fabric] Fix error when players joined before the first tick. 2020-06-26 13:27:19 -04:00
wizjany 410d4c5eee Return correct world folders on Bukkit, used in /delchunks.
Fixes #1365.
2020-06-24 23:56:48 -04:00
wizjany 9e186225bd Update adapter jar. 2020-06-24 23:30:55 -04:00
wizjany 57d62b0bf5 Count wandering traders as NPCs for /butcher. (#1359)
* Count wandering traders as NPCs for /butcher.

Fixes #1347.

* Change variable case.
2020-06-14 13:55:14 +10:00
wizjany 4ac6f1ed24 Add transform for vertical flip of stair half. (#1341) 2020-05-30 23:55:57 +10:00
wizjany da3fd6c9fa Fix RandomPatternParser suggestions.
"x%" was being dropped.

Closes #1302.
2020-05-04 11:47:02 -04:00
wizjany e0814cfe3c Reinstate localized name lookup on BlockType. 2020-05-02 13:26:55 -04:00
wizjany df3b37363f Move expression source string to the expression class. 2020-04-19 16:12:17 -04:00
wizjany fa0618d9e3 Add makeShape Expression overload for consistency. 2020-04-19 16:12:17 -04:00
wizjany cd9a45bd6b Pre-compile the expression used in the deform brush.
This lets the command fail early, rather than throwing wrapped runtime
exceptions on every brush usage.
2020-04-19 16:12:17 -04:00
wizjany d260185183 Don't suggest default namespaces.
This just ends adding a lot of `minecraft:` to otherwise short commands.
2020-04-16 09:51:29 -04:00
wizjany 439d6c811b Re-add block/item localized name methods to registries.
WorldGuard uses these still.
2020-04-01 10:14:57 -04:00
wizjany 4bbdc059ed Disable snapshot-fs test for now. 2020-03-24 14:08:40 -04:00
wizjany f0f9efffeb Add version section to bug report template. 2020-03-23 19:38:44 -04:00
wizjany eb8fcdcd5b Make //size text color consistent. 2020-03-23 18:54:38 -04:00
wizjany b4d2db3dee Allow expand to be used by console. (#1264)
* Allow expand to be used by console.

Also fix direction converter requiring a player.

* Revert exception.
2020-03-20 11:36:54 +10:00
wizjany 25ec78f355 Update adapters. 2020-03-16 16:31:29 -04:00
wizjany 68d48148d3 Revert "Revert "Add Vault as a softdepend to the Bukkit variant to prevent a warning from Spigot""
This reverts commit 376f241b7d.

Spigot bad. Also LP bad. This really shouldn't be necessary but it's
probably safer due to all the weird shit spigot and LP do.
2020-01-31 10:43:40 -05:00
wizjany a27ade54fc Add adapters for 1.15.2. 2020-01-21 18:13:37 -05:00
wizjany 9222e00cd4 Add license block for text library. (#544) 2020-01-19 18:47:59 +10:00