Commit Graph

985 Commits

Author SHA1 Message Date
Madeline Miller
844a8fc04b
Merge branch 'version/7.2.x' 2022-12-27 21:04:27 +10:00
Maddy Miller
0b6dcb1fb7
Fixed clipboards failing to paste when a block has NBT data (#2198) 2022-09-30 14:20:39 -07: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
Maddy Miller
4267fabd3d
Ignore structure void by default and use a flag to paste it (#2180) 2022-09-20 09:29:55 +10:00
Maddy Miller
267bbb307f
Add API to disable history tracking in EditSessions (#2189)
* Add API to disable history tracking in EditSessions

* Update worldedit-core/src/main/java/com/sk89q/worldedit/extent/ChangeSetExtent.java

Co-authored-by: Octavia Togami <octavia.togami@gmail.com>

Co-authored-by: Octavia Togami <octavia.togami@gmail.com>
2022-09-18 10:38:03 +00:00
Maddy Miller
7e61ff19ca
Work around invalid legacy values in schematics (#2171)
* Work around invalid legacy values in schematics

* Actually apply it to blocks lmao

* Micro-optimisation to reduce identical duplicate map lookups
2022-08-29 07:08:57 -07:00
Maddy Miller
55e2d3d480
Catch InvalidPathException in safeFile handler (#2167) 2022-08-10 11:08:14 +10:00
Madeline Miller
b3962d8b41
Merge branch 'version/7.2.x' 2022-08-07 17:38:06 +10:00
Maddy Miller
54ed9e89d9
Add support for Y-offsets with back direction (#2164) 2022-08-07 16:55:56 +10:00
Octavia Togami
b4ae41a4b6
Merge branch 'version/7.2.x' 2022-07-16 10:53:09 -07:00
Octavia Togami
0c3a4b8879
Merge pull request #2145 from EngineHub/feature/warning-the-following-commits-contain-deprecated-material
Clean up all deprecations in the codebase
2022-07-16 08:52:48 -07:00
Octavia Togami
8e8235cecc
Merge pull request #2141 from EngineHub/feature/coming-home-from-an-adventure
Replace adventure-nbt with our own lib
2022-07-16 00:57:30 -07:00
Octavia Togami
59fcef898e
Clean up getBrushTool deprecations 2022-07-16 00:35:59 -07:00
Octavia Togami
788aec55e8
Clean up java.io deprecations 2022-07-16 00:13:54 -07:00
Octavia Togami
67905ae3b1
Clean up all NBT deprecation warnings
except old adapters, don't want to do that if we're gonna drop them
2022-07-15 23:42:37 -07:00
Maddy Miller
d7b3c4c099
Clone the returned getRegion on BlockArrayClipboard (#2144) 2022-07-16 15:39:26 +10:00
Maddy Miller
002bdd7c14
Only show full stacktrace with permission (#2122)
* Only show full stacktrace with permission

* How the fuck did this actually happen smh
2022-07-16 15:10:38 +10:00
Octavia Togami
298b641a8b Make the BukkitAdapter thread-safe 2022-07-15 21:27:42 -07:00
Octavia Togami
059ac19b69
Clean up deprecations in specialized block classes 2022-07-15 18:44:33 -07:00
Octavia Togami
36ab28897c
Avoid use of deprecated newInstance method 2022-07-15 18:33:58 -07:00
Octavia Togami
d299e36a32
Clean up reorder deprecation warnings 2022-07-15 18:31:57 -07:00
Octavia Togami
8f79e3acdb
Remove deprecation from clipboard-adjacent files 2022-07-15 18:28:22 -07:00
Octavia Togami
2aadf22b62
Restore ABI compatiblity 2022-07-11 18:39:46 -07:00
Octavia Togami
d1ebde0b1f
First stab at getting lin-bus integrated 2022-07-11 00:29:15 -07:00
Madeline Miller
bc9a6dd5a0
Merge branch 'version/7.2.x' 2022-06-12 15:01:33 +10:00
Maddy Miller
f667474f18
Deprecate MultiStageReorder and ReorderMode (#1999)
* Start deprecating MultiStage reorder

* Rather than changing behaviour just deprecate

* Add deprecation message

* Apply PR review notes
2022-06-12 04:34:10 +00:00
Octavia Togami
d3ab1e5783
1.19 data updates 2022-06-07 21:32:29 -07:00
Octavia Togami
c42a96f890
Licensing... 2022-06-06 17:17:31 -07:00
Octavia Togami
8d5d809ae6
Add automatic ABI checking
This is going to break on new MC release, but I'll take care of that
2022-06-06 17:11:41 -07:00
Madeline Miller
1e618e3a0d
Merge version/7.2.x into master 2022-06-04 18:12:56 +10:00
Maddy Miller
31e5298f39
Fixed //stack erroring when given a count of 0 (#2108) 2022-06-04 16:47:19 +10:00
Maddy Miller
6e72ee00e9
Add morph brush (#2078)
* Add erosion brush

* Rename to the Morph brush, and add Erode and Dilate presets

Co-authored-by: Lewis B <lbobbermen@bigpond.com>
2022-06-04 14:03:32 +10:00
Maddy Miller
15bd7ff441
Increase default BlockState count (#2102) 2022-05-22 17:28:42 +10:00
Maddy Miller
3eefaa29dd
Fix block state mask with string properties (#2091) 2022-05-01 12:00:28 +10: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
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
Octavia Togami
a6c05c22d8 [Forge] 1.18.2
Plus bonus debug and Fabric improvements
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
Maddy Miller
76ec878eb2
Allow biome commands to be used from non-player actors (#2034) 2022-02-20 15:12:05 +10:00
Octavia Togami
17b9f00501
Move tinyurls to ehub.to (#2033) 2022-02-20 14:02:02 +10:00
JOO200
e485433805
Fix legacy error message output for WorldGuard commands (#2023) 2022-01-30 14:39:06 +10: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
Octavia Togami
3e07a99241
Merge branch 'master' into feature/sponge-schematic-3 2022-01-23 11:52:15 -08:00
Octavia Togami
fb5ec19942
Fix error for snapshot restore missing chunk 2022-01-02 15:52:40 -08:00
JOO200
757bef1f7d
Fix for #1983, Use Math.floor instead of int cast (master branch) (#1989) 2021-12-29 14:58:56 +10:00
JOO200
3fa364b448
Fix for #1983, Use Math.floor instead of int cast (#1986) 2021-12-28 21:16:16 +10:00
Octavia Togami
c554d7572e
Refactor the selector choice enum to be cleaner
Fix gradle checks
2021-12-23 21:09:30 +10:00
Madeline Miller
6c20cf21c1
Add a //pos command to set multiple positions at once
pre-emptively fix what octy is definitely going to pull me up on in the review

Rename pos2Extra to pos2

Fixex extra line

Apply suggestions from code review

Co-authored-by: Octavia Togami <octavia.togami@gmail.com>

Directly use pos2 as a list

Add an -s arg to set the selector type

Update pos1 text
2021-12-23 21:09:27 +10:00
Madeline Miller
98c93d011b
Merge remote-tracking branch 'origin/version/7.2.x' into chore/merging-to-master 2021-12-21 20:16:52 +10:00
Madeline Miller
d0ecd8da78
Merge 1.18.1 to master 2021-12-21 20:09:55 +10:00