Commit Graph

216 Commits

Author SHA1 Message Date
Maddy Miller
ab75fd7748
Shade and relocate jlibnoise (#2363)
* Shade and relocate jlibnoise

* formatting fix
2023-08-06 10:52:26 -07:00
Maddy Miller
61363821b9
Add a BiomeCategories API (#2338)
* Add a BiomeCategories API

* licenses

* Use a supplier to retain the lazy-load & dynamicness of the existing system, but still retaining the inversion of control that this PR was intended to provide
2023-06-24 15:11:31 +10:00
Madeline Miller
b079da7db0
Merge branch 'version/7.2.x' 2023-06-14 19:21:59 +10:00
Jordan
4892e056cf
feat: implement recently-added tree types to tree generator (#2332)
* feat: implement recently-added tree types to tree generator

* fix: add mappings to implementation worlds

* Use later API version to fix tests

---------

Co-authored-by: Madeline Miller <mnmiller1@me.com>
2023-06-14 18:47:19 +10:00
Madeline Miller
d312553fc5
Merge branch 'version/7.2.x' 2023-06-09 21:55:13 +10:00
Maddy Miller
40a203c3d2
Add Console/CommandBlock support to Fabric/Forge/Sponge (#2317)
* Add Console/CommandBlock support to Fabric/Forge

* Hoist config option and add a common abstract class for command block actors

* Apply to Sponge too
2023-06-09 21:21:40 +10:00
Octavia Togami
bb15dbcbc9 [Sponge] Stop trying to shade fastutil
It's just not necessary anymore, the versions match
2023-06-09 20:16:41 +10:00
Madeline Miller
bb5fcce268 [Sponge] 1.20 2023-06-09 20:16:41 +10:00
Lignium
716ce64194
Update WorldEdit for Sponge to API 9 (1.18.2) (#2217)
* Update WorldEdit for Sponge to API 9 (1.18.2)

* Fix SpongeTransmogrifier, switch to use native Property API

* Minor style fixes
2023-06-08 21:15:59 +10:00
Maddy Miller
82727ffb63
Few cleanups over the code and use more Java 9+ features (#2248)
* Few cleanups over the code and use more Java 9+ features

* Address feedback

* cleanup switch case

* Remove TODO
2023-02-26 18:17:14 +10:00
Madeline Miller
6951e7903c
Merge branch 'version/7.2.x' 2022-12-27 22:41:28 +10:00
Lignium
b2475c7ca4
Fix some exceptions from SpongeWorld (#2218)
* Fix exception when calling SpongeWorld#setBlock with present block entity

* Fix missing block entity metadata in SpongeWorld#getFullBlock
2022-12-27 21:49:15 +10:00
Madeline Miller
b3962d8b41
Merge branch 'version/7.2.x' 2022-08-07 17:38:06 +10:00
Yeregorix
ba8e4036e4
Fix tasks not being scheduled on Sponge (#2155) 2022-07-25 21:05:07 +10:00
Octavia Togami
b4ae41a4b6
Merge branch 'version/7.2.x' 2022-07-16 10:53:09 -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
Yeregorix
8fee9bdd2c Fix Sponge rotation adapter 2022-07-14 09:49:43 -07:00
Octavia Togami
d1ebde0b1f
First stab at getting lin-bus integrated 2022-07-11 00:29:15 -07:00
Madeline Miller
1e618e3a0d
Merge version/7.2.x into master 2022-06-04 18:12:56 +10:00
Maddy Miller
c515eb5f26
Cache properties to reduce startup memory (#2103)
* Cache properties to reduce startup memory

* Apply PR review notes

* Remove import
2022-06-04 16:30:23 +10:00
Maddy Miller
c83f6ecd88
Play around with SpongeForge (#2107) 2022-06-04 16:10:50 +10: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
wizjany
027a6078f9
Revert "Fix sponge."
This reverts commit 677ce55a92.
2022-03-18 09:00:57 -04:00
wizjany
677ce55a92
Fix sponge. 2022-03-18 08:33:48 -04: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
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
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
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
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
Madeline Miller
b8a9c0070c Merge branch 'version/7.2.x' 2021-06-19 15:19:32 +10: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
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
Matthew Miller
97a4df96c3 Merge branch 'version/7.2.x' 2021-04-05 13:14:38 +10: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
3194af3aa7
Merge branch 'version/7.2.x' 2021-03-10 01:59:36 -08: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
Matthew Miller
2c7ac3d21f
Merge pull request #1611 from EngineHub/feature/nbt-parsing
Add NBT Parsing for items
2021-02-15 20:42:52 +10:00
Octavia Togami
23a4e2d6fd
Lazily compute NBT 2021-02-15 01:51:24 -08:00
Octavia Togami
0cabb82f9e
Merge branch 'version/7.2.x' 2021-02-11 00:42:34 -08:00
Matthew Miller
137c266e3a Migrate to adventure-nbt 2021-02-06 20:23:29 +10:00
Matthew Miller
69b1b5ebd5 Merge branch 'version/7.2.x' 2021-01-25 20:55:59 +10: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
zml
0036e06f89
Alter the CUI lifecycle to be more consistent and reliable (#1633)
* Alter the CUI lifecycle to be more consistent

This handling reduces the platform-specific behaviour of CUI handshakes,
and ensures that the appropriate state is maintained when a client
connection ends but a LocalSession remains cached.

* Apply review suggestions

* fabric: Update to new networking API

* session: Correct field grouping for cui attempts
2021-01-16 13:07:29 +10:00
Matthew Miller
7a268b0b5d
Add WorldEdit version and platform to schematics (#1635)
* Add WorldEdit version and platform to schematics

* Use an actual platform ID rather than name, for more accurate info.

* Put the platform data within another nested tag

* Use a best-effort legacy platform ID

* Review changes

* Move the getId impl to Platform

* Review notes

* Review notes

* 😓
2021-01-02 21:01:40 +10:00
Octavia Togami
4999018f36
Lower-case wand items on retrival from the config 2020-11-09 18:57:54 -08:00
Octavia Togami
bc64990e7e
Move to packaged translations (#1555)
* Move to packaged translations

* License that file

* Fix some checkstyle too

* Support reloading translation files

* Add missing dash for unpack directory

* Mark unpacked zips as owner-only
2020-10-08 17:42:23 -07:00
Lewis B
beb784e0ff
Add -w flag to butcher for water mobs (#1548)
* Add -w flag to butcher for water mobs

* PR feedback
2020-10-05 13:50:20 +10:00
Matthew Miller
26d8306833
Fixed snow being placed through slabs (#1541)
* Added a method to check whether a block can be placed at a location

* Make the snow system only place at locations that it can by game logic

* Make canPlaceAt a default method

* Fixed PR comments

* Use a World field

* Just throw directly

* IAE makes more sense

* Remove unused import

* Check for editsession without a world
2020-10-02 16:53:05 +10:00
Octavia Togami
f2ce020da0 Officially propagate GPL downwards to all files 2020-08-13 21:06:39 -07:00