Commit Graph

1023 Commits

Author SHA1 Message Date
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
Brokkonaut
9843a4feb3
Fix snapshots in 1.18 (#1959)
* Fix snapshots in 1.18

* use Int2ObjectOpenHashMap

* Fix loading zipped snapshots that contain an entities folder

Co-authored-by: Octavia Togami <octavia.togami@gmail.com>
2021-12-14 17:32:39 +00:00
Octavia Togami
6df194e569
Remove finalize, use a Cleaner instead (#1943)
* Remove finalize, use a Cleaner instead

* Enable tracing by default

* License fix

* Use the more correct extent
2021-12-14 04:08:45 +00: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
5ce37d7ab2
Merge branch 'version/7.2.x' into snapshot-testing/1.18 2021-12-02 15:15:05 -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
f534b61f30 Theoretically works on forge. 2021-11-30 16:01:06 -05:00
Octavia Togami
29f1c66157
If a trace hits the world limit, cancel it (#1942) 2021-11-21 02:13:45 +00:00
Lilly Tempest
de6fa17b01
Add getBrush helper for use with instanceof pattern matching (#1926)
Co-authored-by: Octavia Togami <octavia.togami@gmail.com>
2021-11-21 02:02:59 +00:00
Octavia Togami
09bdf0a629
Merge branch 'version/7.2.x'
Oh god this was so awful
2021-11-20 17:23:24 -08: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
Octavia Togami
21e65e3958
Update Kotlin version so it builds 2021-11-18 22:12:45 -08:00
Octavia Togami
53559192b4
Fix the build a bit
Improved checkstyling
2021-11-14 00:15:22 -08: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
Octavia Togami
6008fe7333
Remove class shutter
Runtime classes are no longer conflicting. Fixes #1895.
2021-09-12 16:01:25 -07:00
Maddy Miller
fbf61ef9e8
Fix raise and lower deform brushes (#1889) 2021-09-10 23:10:09 -07:00
Madeline Miller
f1350111ca Merge remote-tracking branch 'origin/version/7.2.x' 2021-09-05 20:16:54 +10:00
Maddy Miller
b1c230d36a
Add conditional checking in help command (#1888) 2021-09-04 12:06:15 +10:00
Madeline Miller
81f98b7b96 Merge branch 'version/7.2.x' 2021-08-22 14:36:57 +10:00
Madeline Miller
f049d5613f Revert "Use a Guava Cache instead of a ThreadLocal (#1859)"
This reverts commit b9f0416624.
2021-08-22 13:45:33 +10:00
Octavia Togami
ed28089628
Don't crash if fields are null in ChunkDeleter (#1874)
Fixes #1873
2021-08-22 13:27:25 +10:00
Maddy Miller
c5a4450373
Internally use a negated mask class to prevent russian doll wrapping (#1877) 2021-08-21 15:45:57 +10:00
JOO200
1397ec769f
Add Snow Smooth Tools (#1580)
* Added Snow Smooth Tools

* Added missing javadocs

* Restore backwards compatibility

* Use isAir and isLiquid instead of checking exact types

* Changed message for smoothing snow

* Use IntegerProperty instead of Property<Object>

* Requested changes from review

* Added missing ":", consistent command description

* Drop unnecessary try-catch for snow layer property

* Removed configuration arguments for gaussian kernel

* Removed duplicated code fragments to calculate the heightmap

* Fixed switched x and y coordinates

* Added missing point for checkstyle

* Changed command usage as requested

* Reordered flag for //snowsmooth, nicer formatting

Co-authored-by: Octavia Togami <octavia.togami@gmail.com>
2021-08-19 12:55:50 -07:00
Madeline Miller
9de6b87948 Bump language files 2021-08-16 17:30:32 +10:00
Madeline Miller
515863da1f Merge branch 'version/7.2.x' 2021-08-09 20:17:59 +10:00
Maddy Miller
4277cb5239
Use MethodHandle for faster event bus (#1865)
* Use MethodHandle for faster event bus

* Implement hashCode/equals

* Apply review comments

* Bind to the object directly
2021-08-09 19:06:00 +10:00
Maddy Miller
8ee45137aa
Fix Cycler tool not using full block data (#1868) 2021-08-08 08:23:44 -07:00
Octavia Togami
b9f0416624
Use a Guava Cache instead of a ThreadLocal (#1862)
This allows high performance without leaking memory, and works around
the JVM bug with ThreadLocals. See #1722.
2021-08-02 10:21:13 -07:00
Octavia Togami
2e45a20348
[Forge] Update to 1.17.1 (#1847)
* [Forge] Update to 1.17.1

Includes minor updates to Fabric as well.

water and water and water water

* Fix a few things

* Move to latest versions of FG/Forge

Also drops TrueZIP in dev
2021-07-28 23:01:35 -07:00
Matthew Miller
f414af50f6
Fix the offset mask forcing negation of itself (#1656) 2021-07-20 18:50:12 -07:00
Madeline Miller
a383d9164a Merge branch 'version/7.2.x' 2021-07-18 16:06:48 +10:00
Matt
fb1fb84965 Fixed typo and grammar 2021-07-16 11:31:35 -07:00
Maddy Miller
8b38f6fbc0
Support 48x48x48 drawsel on 1.16+ (#1826)
* Support 48x48x48 drawsel on 1.16+

* Also update the chat message on //drawsel

* Extract the code

* Split the x/y/z

* angry reacts only
2021-07-16 20:14:46 +10:00
Matt
27baceca85 Fixed typo 2021-07-15 21:33:17 -07:00
Octavia Togami
2f6b50a427
Update for final changes 2021-07-14 21:49:55 -07:00
Octavia Togami
e1892b7bd4
Fix imports 2021-07-14 21:49:55 -07:00
Octavia Togami
a5ce8a4765
Licenses lol 2021-07-14 21:49:55 -07:00
Octavia Togami
bd475b1d4a
Update to Sponge Schematic 3
Includes a major refactoring of how schematics are read.
2021-07-14 21:49:54 -07:00
Octavia Togami
76a30080c5
Merge branch 'version/7.2.x' into feature/117-for-master 2021-07-14 13:36:14 -07: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
NotMyFault
9c7f4542a2
Fix a couple of typos (#1835)
* Fix typo in BukkitImplAdapter

* Yet another dangling typo
2021-07-14 08:08:34 -07:00
Octavia Togami
8a830814df
Merge branch 'version/7.2.x' 2021-07-13 14:38:26 -07:00
Maddy Miller
954210deb8
Fix //outline for non-cuboid regions (#1827) 2021-07-13 11:10:11 +10:00
Octavia Togami
40ded939ef
Fix loading legacy invalid blocks 2021-07-04 16:55:27 -07:00
Octavia Togami
0790e6e5d8
Fix CLI Mess (#1811)
* Fix CLI awfulness

* Fix indentation

* Licenses
2021-07-01 09:44:44 -07:00
Octavia Togami
fbb047a0c1
Optimize legacy schematic loading (#1808)
* Optimize legacy schematic loading

* Be more DRY
2021-06-30 17:02:10 -07:00
Matt
f91e8e4071
Fixed incorrect version numbers in javadocs (#1810) 2021-06-30 12:11:23 -07:00
Octavia Togami
728a152395
Skip notify if chunk section doesn't exist (#1794)
* Skip notify if chunk section doesn't exist

* Include forge in this change

* Pass chunk to mark/notify directly, update adapters.

Co-authored-by: wizjany <wizjany@gmail.com>
2021-06-26 14:59:21 -07:00
BloodEko
183ae4a140
Improve mask api (#1793)
* Improve mask api

* Revert javadocs change
2021-06-21 15:07:59 -07:00
Madeline Miller
b8a9c0070c Merge branch 'version/7.2.x' 2021-06-19 15:19:32 +10:00
Octavia Togami
043c3315aa
Fix Scuffed POMs (#1779)
* Repair fabric POM

* Fix-up a ton of publishing errors

* Remove shadow jar from publishing

* Remove shadow application from platform/core
2021-06-13 11:32:38 -07:00
Octavia Togami
e2ad0427ef
Update bundled language files 2021-06-12 00:45:38 -07:00
Octavia Togami
3393d2701c
Try require for snake yaml 2021-06-11 14:46:10 -07:00
Octavia Togami
4d6c1973f3
Parallelize tests properly 2021-06-11 14:12:09 -07:00
Octavia Togami
a0a3e0f5f1
De-parameterize vector tests 2021-06-11 13:58:58 -07:00
Octavia Togami
8cc6e7159b
Allow upgrading snakeyaml 2021-06-11 12:45:38 -07:00
Octavia Togami
c8e5f277c1
Update MCUtils for 1.17 (#1774)
* Update MCUtils for 1.17

* Re-add deprecated grass_path
2021-06-11 12:38:22 -07:00
Octavia Togami
7676a2d54c
[Fabric] Update to 1.17 (#1772) 2021-06-08 19:18:24 -07:00
Octavia Togami
95160027d9
Register platforms and commands in a more proper way (#1766)
* Register platforms and commands in a more proper way

Platforms are now register "on load"/initialize/etc., and preferreds are
chosen just prior to command registration events. This allows us to
properly hook in to reload. Additionally, we now have the capability to
reload data with /minecraft:reload, though this is not yet implemented.

* Correct javadocs on queryCapability

* Flatten BukkitImplAdapter Lifecycled
2021-06-04 17:12:23 -07:00
Octavia Togami
67c99bed36
Merge branch 'version/7.2.x' 2021-05-25 18:10:14 -07:00
wizjany
76147474d8
Fix author/name swap in //schem share. 2021-05-25 15:26:46 -04:00
Maddy Miller
8e5020fd8a
Add splatter brush (#1657)
* Add splatter brush

PR feedback - 3d splatter

Add splatter brush (#1547)

* Move the splatter brush into a mask

* Fix PR notes

Co-authored-by: Lewis B <lbobbermen@bigpond.com>
2021-05-25 18:46:05 +10:00
Octavia Togami
5a7cbfd6ef
Fix selecting at 0,0,0 or radius 0 cyl/ellipse (#1734) 2021-05-23 23:37:24 -07:00