Commit Graph

33 Commits

Author SHA1 Message Date
Madeline Miller
f6646aaab1
Update to the new Paper maven repo 2023-03-05 16:52:44 +10: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
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
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
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
f534b61f30 Theoretically works on forge. 2021-11-30 16:01:06 -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
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
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
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
wizjany
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
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
bf78034628
Drop enforcedPlatform to platform 2021-06-11 14:01:04 -07:00
Octavia Togami
7676a2d54c
[Fabric] Update to 1.17 (#1772) 2021-06-08 19:18:24 -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
Matthew Miller
d3810865c8
Show a message with install instructions when running the jar file (#1682)
* Show a message with install instructions when running the jar file

* Typo

* Fixed checkstyle issue

* Slightly modify message to adapt to the type of install

* Clean up the display code a lot

* Allow line breaks before semi

Co-authored-by: Octavia Togami <octavia.togami@gmail.com>
2021-02-22 22:05:23 -08:00
Octavia Togami
3e07d723fb
Fix SLF4J binding loading
Fixes #1676
2021-02-16 20:25:13 -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
b4e5bc7dbf
Properly deploy version into core/bukkit 2020-11-02 18:16:23 -08:00
Octavia Togami
cbe788c9a3
Remove duplicate dependency entry 2020-07-28 16:20:14 -07:00
Octavia Togami
7134ff4494
Remove all compile deps, use api/impl as appropriate 2020-07-15 18:48:47 -07:00
wizjany
9d9aaac15a Add fungi and chorus plant tree types.
Closes #1411.
2020-07-12 14:34:48 -04:00
Octavia Togami
81f6e3e7cf Cleanup some javac warnings 2020-07-07 20:38:57 -07: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
Octavia Togami
20d630ce5b
Only add adapters to dist jar 2020-03-22 15:00:02 -07:00
Octavia Togami
947775b5e5
Read WE version from manifest ourselves 2020-02-10 17:11:08 -08:00
Matthew Miller
8e55131a2f Bump bStats version and update 7.1.0 changelog 2020-01-24 22:38:52 +10:00
Octavia Togami
18a55bc14e Add new experimental snapshot API (#524)
* Add new experimental snapshot API

This API intends to replace the existing snapshot API in WorldEdit 8.

It is currently experimental, and the old API is soft-deprecated. Once
it is determined to be stable, the old API will be removed and replaced
with this new one.

It uses TrueVFS instead of TrueZIP, due to the latter's status as
matinence-only, and the face that TrueVFS is NIO-FileSystem compatible,
allowing us to integrate it with NIO's native zipfs. The TrueVFS system
does encompass multiple modules, but users and download + install
truevfs-profile-default as a fatjar. We depend on that profile to show
this as the intended solution.

* Port commands to experimental snapshots. Legacy ones are in sibling classes.

* Add many tests, fix bugs

* Clean up imports

* Verify sorting behaviors, fix bugs

* Add license to test

* Add support for DIM region folders

* Fix tests for Windows paths

* Rewrite tests for even more coverage, fix bugs

* Clean up naming on tests

* Add test for legacy format

* Stop trying to abuse `file://`, use `snapfs:` instead

* Simplify iterPaths

* Use File.separator in FS snap tests

* Fix some bugs from T9N PR (#538)

* Use printInfo/printError to keep colors right

* Escape quotes before they go in the map

* I18N-ify new snapshot code
2019-12-16 21:00:12 +10:00
Kenzie Togami
91a78f725a
Some shading fixes 2019-10-19 00:48:49 -07:00
Kenzie Togami
f472c20bfb Memory optimizations (#505)
* Remove LocatedBlock overhead in LBL map

* Add new space-efficient block map, with thourough testing

* Drop ordering property, add full insertion test

* Add licenses

* Fix mocked platform conflicts

* Disable full block map testing for faster builds

* Re-implement BlockMap with fastutil maps

* Re-write chunk batching to be memory efficient

* Make MultiStageReorder use BlockMap

* Increase LBL load factor, fix long-pack limit detection

* Fix infinite loop in chunk batching

* Save memory in history by cleaning up MSR

* Re-implement LocatedBlockList in BlockMap

* Fix data race with BlockType lazy fields

* Make IDs ALWAYS present, only runtime-consistent. Use for memory efficiency in BlockMap

* Remap inner structure of BlockMap for smaller maps

* Remove containedBlocks fields, not very efficient

* Fix minor de-optimizing bug in stage reorder

* Make long packed y signed

* Add extended Y limit configuration option

* Add licenses

* Store 3 ints for unoptimized BV list

* Add final to BitMath

* Correct int-cast for long-packing
2019-08-12 22:06:40 +10:00
Kenzie Togami
429d022752
Move Core to JUnit 5 2019-07-15 16:38:33 -07:00
Kenzie Togami
ab8397e517
Migrate Bukkit to Kotlin DSL 2019-07-12 13:49:45 -07:00