Skip to content

Conversation

@sharky98
Copy link

Resolve #151.

I keep as draft since some configs and tasks were removed (The Kotlin DSL gave me multiple headaches when adding the architectury plugin and a second subproject). Don't worry, they will be re-added before removing draft status.

However, it does compile and works in both Fabric and NeoForge doing a very simple test of loading a world and testing if the grid is showing as expected.

I'll write distinct comments for specific validation/question required to understand if it is fabric-specific, needed for both fabric and neoforge, or even legacy stuff (I mean, it does work as it is 😅).

- I use the folder name without the `worldeditcui-` prefix, as per the latest architectury template. It also helps with the migration and could be changed at the end.
- move all versions values to the `[versions]` section
- reorder all deps into commented section between mod loaders, CUI deps and dev deps
- remove `child fabric-api-*` deps, they are included in the main `fabric-api` deps.
- added architectury
- added fabricLoader
- kept only the base `fabric-api`
…le to the same thing as the fabric metadata
- based on architectury template
- fabric-specific are moved into the fabric build script
- everything is moved inside the `subprojects`
- java version is removed from the properties and moved inside the build script
- added architectury plugin and its config
- removed config related to  vineflower
- TODO: Reintegrate the spotless plugin
- TODO: Reintegrate the releasing tasks
- TODO: Reintegrate the `modLocalRuntime` dependency for development if needed. Left out until validation if Fabric specific or both.
- TODO: Reintegrate the task `generateStandaloneRun`. Left out until validation if Fabric specific or both.
- for fabric, using the main root fabric-api dependency instead of the multiple child one.
- removed the mixin configuration as no mixin are used.
- only added dependencies called in the code, such as `viafabricplus` being left out, keeping only `viaversion`. this needs to be validated.
- removed the loom client config; it did not seems to affect the build. this needs to be validated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Port to NeoForge

1 participant