100 Commits
Author SHA1 Message Date
Octavia TogamiandMadeline Miller 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
Octavia Togami ab79341a5e Merge pull request #2253 from Brokkonaut/bukkit-custombiomes
Allow custom biomes in bukkit
2023-02-20 16:03:36 -08:00
Octavia Togami b82264174e [Fabric] 1.19.3-rc1 2022-12-09 21:27:00 +10:00
Octavia Togami f7f23b4412 Update Gradle to 7.5.1 2022-11-09 21:16:27 -08:00
Octavia Togami 298b641a8b Make the BukkitAdapter thread-safe 2022-07-15 21:27:42 -07:00
Octavia Togami 65fe8a69a6 Update actions, upload logs 2022-07-14 17:37:45 -07:00
Octavia Togami 8c322dfbbb Use some pattern-matching, 'cause it's cool 2022-07-14 17:05:51 -07:00
Octavia Togami 8caaa3e0ed [Forge] Update to 41.0.98 to fix breaking changes
Fixes #2139
2022-07-14 17:05:51 -07:00
Octavia Togami ed2713a5d7 Update some plugins to fix build 2022-07-01 07:28:28 -07:00
Octavia Togami 3433e40d51 Fix CB watchdog, fail early if it breaks 2022-06-10 17:07:24 -07:00
Octavia Togami a7ab49a0bf Merge pull request #2112 from EngineHub/snapshot-testing/1.19 2022-06-10 00:58:35 -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
Octavia Togami d3ab1e5783 1.19 data updates 2022-06-07 21:32:29 -07:00
Octavia Togami 69b5d661f0 [Forge] 1.19 2022-06-07 17:26:11 -07:00
Octavia Togami 7497341a1c [Fabric] 1.19 2022-06-07 17:26:08 -07:00
Octavia Togami a8a3633b08 Increase memory for daemon
Thanks loom
2022-06-07 09:19:41 -07:00
Octavia Togami 66e3c3cd62 [Fabric] 1.19-pre1
- new TextComponent -> Component.literal
- Use sendSystemMessage instead of displayClientMessage(..., false)
- build -> buildUnoptimized/buildOptimized; I just returned the same
  from both
- Create a LevelStem for regen world constructor
- Use RandomSource instead of Random
- Command text doesn't include the slash anymore
2022-06-07 09:19:41 -07:00
Octavia Togami 92dfdcb88b Update CodeQL action to v2 2022-05-26 18:26:16 -07: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
Octavia Togami 356cd2c8b2 Merge pull request #2062 from EngineHub/fix/mixin-mixup
Un-mixup the mixins.
2022-03-17 10:48:38 -07:00
Octavia Togami b4b018d6d5 Remove afterEvaluate to restore refmap
MixinGradle uses an afterEvaluate block to determine JAR registrations.
This runs before our reobf registration does, and I honestly don't
recall why this was in afterEvaluate and it doesn't appear to break
anything so I'm calling it good.
2022-03-17 16:42:46 +10:00
Octavia Togami 59742162cb Use Forge's official tag API 2022-03-16 20:34:22 -07:00
Octavia Togami e21ab6a7f6 Revert to v2 setup-java
https://github.com/actions/setup-java/issues/295
2022-03-04 22:03:12 -08:00
Octavia Togami afdfa9e325 gradle 7.4 2022-03-04 22:03:12 -08:00
Octavia Togami 2fda9a12a2 Some final version updates 2022-03-04 22:03:12 -08:00
Octavia Togami a6c05c22d8 [Forge] 1.18.2
Plus bonus debug and Fabric improvements
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
Octavia Togami ce13ed9979 [Fabric] 1.18.2 update 2022-03-04 22:03:12 -08:00
Octavia Togami 17b9f00501 Move tinyurls to ehub.to (#2033) 2022-02-20 14:02:02 +10:00
Octavia Togami 8929ad205b Fix Forge max height limit (#2028)
* Fix Forge max height limit

Because this method was silently renamed, we've been using the wrong one
for a bit.

* forge team plz update special source for my fix
2022-02-03 01:53:14 +00: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 TogamiandMadeline Miller 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
Octavia Togami 100b87ea98 Update gradle flow properly 2021-12-13 22:15:58 -08:00
Octavia Togami 12e1c242ce Update flows from master 2021-12-13 22:09:32 -08:00
Octavia Togami 44d91b0c73 Shove 1.17 adapters into a jar to fix the build 2021-11-26 18:54:55 -08:00
Octavia Togami 511daa5078 Update paperweight dev bundle 2021-11-23 17:25:28 -08:00
Octavia Togami 29f1c66157 If a trace hits the world limit, cancel it (#1942) 2021-11-21 02:13:45 +00:00
Octavia Togami 21e65e3958 Update Kotlin version so it builds 2021-11-18 22:12:45 -08:00
Octavia Togami 953e22fc38 [Fabric] Update to 1.18-pre4 2021-11-18 18:20:05 -08:00
Octavia Togami c9717a54c9 Update to Gradle 7.3 2021-11-18 18:19:49 -08:00
Octavia Togami 53559192b4 Fix the build a bit
Improved checkstyling
2021-11-14 00:15:22 -08:00
Octavia Togami 410688e7b7 [Fabric] Update to 1.18-pre1, Mojmapped
Also Gradle 7.3. :)
2021-11-14 00:01:06 -08:00
Octavia Togami 771ffae148 Some 1.18 related version shenaigans
Compiles: No
2021-11-13 21:54:21 -08:00
Octavia Togami 9928bc85b0 Specify UTF-8 for javadoc as well 2021-11-02 10:45:35 -07:00
Octavia Togami e6857ec739 Move adapters to paperweight (#1909)
* Move adapters to paperweight

* Edit adapters JAR to remove 1.17 R1_2

* Fix checkstyle

* Add URL for updating version in the future
2021-10-01 21:11:29 -07:00
Octavia Togami 6008fe7333 Remove class shutter
Runtime classes are no longer conflicting. Fixes #1895.
2021-09-12 16:01:25 -07:00
Octavia Togami 6c08b68244 Set Multi-Release in CLI manifest
Fixes #1890
2021-09-06 16:41:28 -07:00
Octavia Togami ed28089628 Don't crash if fields are null in ChunkDeleter (#1874)
Fixes #1873
2021-08-22 13:27:25 +10: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 96c97997dc Exclude JSR305 from libs
Fixes #1859
2021-08-01 09:44:44 -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
Octavia Togamiandwizjany 8686672108 Only map options if needed to replace seed (#1843)
* Only map options if needed to replace seed

* Add bukkit adapters.

Co-authored-by: wizjany <wizjany@gmail.com>
2021-07-25 14:08:57 -04:00
Octavia Togami e4cd5696ff [Fabric] Update to 1.17.1 (#1821) 2021-07-09 13:47:41 -07:00
Octavia Togami 1f21162bd0 Ensure the SLF4J ban is being applied
Fabric gets skipped 'cause its scuffed
2021-07-09 00:40:20 -07: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
Octavia Togamiandwizjany 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
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 47b64257fb Restrict the weird forge maven to known content 2021-06-12 20:39:38 -07:00
Octavia Togami e2ad0427ef Update bundled language files 2021-06-12 00:45:38 -07:00
Octavia Togami 2beeec228b Update cdist 2021-06-12 00:32:56 -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 bf78034628 Drop enforcedPlatform to platform 2021-06-11 14:01:04 -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 8cfbf7e478 Use 16 as our toolchain, but set release to 8 2021-06-02 15:03:33 -07:00
Octavia Togami 5a7cbfd6ef Fix selecting at 0,0,0 or radius 0 cyl/ellipse (#1734) 2021-05-23 23:37:24 -07:00
Octavia Togami 876108fdb3 Prepare for Gradle 7, but due to FG only get to 6.9
Gradle 7 stuff requires FG 5. Phooey.
2021-05-13 22:01:45 -07:00
Octavia Togami 95d784f4d6 Return false if Entity#remove is unsupported
Fixes #1729
2021-04-22 11:12:54 -07:00
Octavia Togami 146867402f Update FG for new maven repo 2021-04-20 20:20:26 -07:00
Octavia Togami edf39b2b97 Back to snapshot for future development 2021-04-20 19:57:09 -07:00
Octavia Togami 57d5ac961d Release 7.2.5 2021-04-20 19:40:56 -07:00
Octavia Togami 98adde2c88 Allow toggleplace to work on any Actor + Locatable (#1723) 2021-04-09 20:07:11 -07:00
Octavia Togami f0a3848b97 Switch to maven-publish (#1718)
* Update to use maven-publish instead of maven

* Use published loom

* These shouldn't be needed
2021-04-06 13:45:57 -07:00
Octavia Togami c91159a25f Note catch about toolchain system 2021-04-06 12:58:38 -07:00
Octavia Togami c7da4c0ade Swap out logback for log4j2 2021-04-05 10:50:39 -07:00
Octavia Togami 609c7b8cc4 Scrapped Logging Framework 4 Java (#1715)
* The scramble is complete

* Fix version decl for Bukkit Log4J

* Swap out to a compatibility layer for LogManager

Slightly slower, but compatible across all Java versions

* Piston released with SL4JF removal

* Clean up declarations a bit
2021-03-28 20:35:48 -07:00
Octavia Togami 386656ffb4 Update extractor, see if that fixes anything 2021-03-27 23:30:10 -07:00
Octavia Togami 36f23bd29f Fix Forge in -mod at the expense of size
Fixes #1398
2021-03-12 20:31:51 -08:00
Octavia Togami 7d06279249 Attempt to fix FSSD test with weird win paths (#1699) 2021-03-10 12:35:35 -08:00
Octavia Togami 3919dcc7fc Take master's changes to meta files 2021-03-10 02:48:12 -08:00
Octavia Togami 98826d649c Update gradle to 6.8.3 2021-03-10 02:00:02 -08:00
Octavia Togami 0b2d992a5d Patch some gradle issues, update loom 2021-03-08 11:10:55 -08:00
Octavia Togami 3e819df4df Fix gitattributes (#1681)
* Try to fix git attributes

* More attempts to fix gitattrs
2021-02-21 15:40:06 -08:00
Octavia Togami 3c161db9a4 Move slower translation to *Transmogrifiers (#1679)
* Move slower translation to *Transmogrifiers

Adapters now use the fast method for adapting if available. Un-cached
accessors are stored in *Transmogrifier classes.

* Fix warnings and licenses.
2021-02-19 15:50:03 +10:00
Octavia Togami e94f082b07 Improve speed of BlockState init, tick watchdog (#1680) 2021-02-17 11:22:35 -08:00
Octavia Togami 8a46670327 Disable Fabric UPDATE mixin if quickcarpet too
Fixes #1662, though I really hate doing this.
2021-02-17 01:17:42 -08:00
Octavia Togami 3e07d723fb Fix SLF4J binding loading
Fixes #1676
2021-02-16 20:25:13 -08:00
Octavia Togami 56c891946d Allow UPDATE mixin to soft-fail on Fabric (#1654)
This allows Carpet's mixin to take priorty, and UPDATE will simply be
disabled on Fabric in that case. Fixes #1605
2021-01-27 15:33:51 -08:00
Octavia Togami 9534a9cfce Update so many dependencies, merge Forge/Fabric for final jar (#1651)
* Update so many dependencies, merge Forge/Fabric for final

* Clean up contrib docs for Gradle change

* Fix setting compat flags while using toolchain

* Fix deprecation in doc printer

* Restore proper forge JAR name

* Add dist classifier for mod jar

* Properly relocate new bStats

* Fix jar used from fabric

* Fix fabric bom

* Dup the shaded classes for consistency

* Sync Forge/Fabric log4j versions, de-dup

* Downgrade both log4j. This will work

* Update some plugins as well

* Drop the fabric force stuff

* Use duplicate strategy to directly merge jar
2021-01-25 02:14:09 -08:00
Octavia Togami 3a3bf3de2c Run the chunk deleter in Fabric (#1641) 2021-01-09 14:38:07 -08:00
Octavia Togami 86bf3a3419 Support Lucko's Fabric Permissions API (#1638)
* Add support for Lucko's Fabric Perms API

Only if present, falls back to the existing checks if it returns
`false`.

* Only use vanilla fallback if no value set in Perms
2021-01-05 12:14:54 -08:00
Octavia Togami e0dd2f3cb6 Fix failure caused by previous commit 2021-01-04 20:46:56 -08:00