Commit Graph

908 Commits

Author SHA1 Message Date
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
Maddy Miller
54ed9e89d9
Add support for Y-offsets with back direction (#2164) 2022-08-07 16:55:56 +10:00
Maddy Miller
d7b3c4c099
Clone the returned getRegion on BlockArrayClipboard (#2144) 2022-07-16 15:39:26 +10:00
Octavia Togami
298b641a8b Make the BukkitAdapter thread-safe 2022-07-15 21:27:42 -07:00
Octavia Togami
d3ab1e5783
1.19 data updates 2022-06-07 21:32:29 -07:00
Maddy Miller
31e5298f39
Fixed //stack erroring when given a count of 0 (#2108) 2022-06-04 16:47:19 +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
fb5ec19942
Fix error for snapshot restore missing chunk 2022-01-02 15:52:40 -08:00
JOO200
3fa364b448
Fix for #1983, Use Math.floor instead of int cast (#1986) 2021-12-28 21:16:16 +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
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
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
Maddy Miller
b1c230d36a
Add conditional checking in help command (#1888) 2021-09-04 12:06:15 +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
Madeline Miller
9de6b87948 Bump language files 2021-08-16 17:30:32 +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
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
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
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