Commit Graph

1932 Commits

Author SHA1 Message Date
shedaniel
5687252cbb Add reflection redirector 2023-11-15 20:44:41 +08:00
shedaniel
d43b9c2c3d Adapt SrgMerger into ForgeMappingsMerger (#169)
* Fix crash with NeoForge ext creation

* Adapt SrgMerger into ForgeMappingsMerger

* Update tiny-remapper

* Fix spotless

* Resolve reviews

* Fix checkstyle
2023-11-15 20:43:51 +08:00
Juuz
553a1f80f1 ForgeRunTemplateTest: Fix code format 2023-11-13 19:22:25 +02:00
Juuz
84dd64daff Reintroduce namespace filtering for mapping trees
Should be a simple optimisation to avoid reading an
additional ns.
2023-11-13 19:17:40 +02:00
Juuz
2efea7fc1c MPP: Rename srg -> intermediate jars 2023-11-13 19:02:31 +02:00
Juuz
ee867064bd Re-enable joined NeoForm pipeline 2023-11-13 18:59:12 +02:00
Juuz
cc0de14f1e Remove resolved TODOs 2023-11-13 18:58:41 +02:00
Juuz
742cad3ea5 SimpleNeoForgeTest: Bump Neo version and fix Yarn version 2023-11-13 18:57:22 +02:00
Juuz
9c92a16826 Split Forge and NeoForge extensions 2023-11-13 16:29:57 +02:00
shedaniel
2ab5906078 Remove mojang maven 2023-11-13 16:14:49 +08:00
shedaniel
ad9f241e5d Fix checkstyle 2023-11-13 15:34:36 +08:00
shedaniel
c1a76d3d0f NeoForge shouldn't try to get datagen mods 2023-11-13 15:33:00 +08:00
shedaniel
fddec0dfb1 Make NeoForge Field Migration work 2023-11-13 15:32:37 +08:00
shedaniel
594562f590 Revert "Set up Shadow for bundling DFU"
This reverts commit 2bb8166744.
2023-11-13 15:10:13 +08:00
shedaniel
c241812576 Merge remote-tracking branch 'origin/dev/1.4' into feature/neo
# Conflicts:
#	src/main/java/net/fabricmc/loom/configuration/providers/mappings/MappingConfiguration.java
2023-11-13 14:59:56 +08:00
shedaniel
e3b51e9e97 Fix Field Migration (#168)
* Fix #162

* Refactor some field migrator code
2023-11-13 14:52:02 +08:00
shedaniel
683a866284 Fix dependencies not being remapped with srg 2023-11-12 22:02:42 +08:00
Juuz
4fac92d39c Use release version of the forge runtime 2023-11-04 21:54:52 +02:00
Juuz
379312d8a2 Disable deprecated data generation API on NeoForge 2023-11-04 18:28:12 +02:00
Juuz
8feac3582f Fix (Neo)Forge builtin coremods not being remapped
Fixes #146.
2023-11-02 19:52:33 +02:00
Juuz
629e3c70b0 Quiet down MojangMappingsMerger 2023-11-02 19:42:05 +02:00
Juuz
47cb84a3e3 Fix NeoForge mod dependency remapping using wrong mappings 2023-11-02 18:28:07 +02:00
Juuz
93c88cfd4d Fix MojangMappingsMerger having incomplete names 2023-11-02 18:17:11 +02:00
Juuz
04074fb95e Fix Minecraft jar name on Neo 2023-11-02 13:18:03 +02:00
Juuz
6b0ebe1b3e Update to architectury-loom-runtime 2.0 2023-11-02 13:12:49 +02:00
Juuz
c10146324f Use client pipeline for merged to avoid patch issues on Neo 2023-11-02 12:40:53 +02:00
Juuz
ced6d8119c Fix SRG being used on NeoForge for ATs 2023-11-01 02:28:21 +02:00
Juuz
f621913b33 Fix SRG being used on NeoForge 2023-11-01 02:12:52 +02:00
Juuz
7aa190e447 MojangMappingsMerger: Complete and reorder mappings 2023-11-01 02:12:34 +02:00
Juuz
a5f12c2534 RemapJarTask: Fix check using isForgeLike for Forge 2023-11-01 02:12:17 +02:00
Juuz
c5e22e2129 Use correct name for NeoForm in cache files 2023-11-01 01:36:52 +02:00
Juuz
2bb8166744 Set up Shadow for bundling DFU 2023-11-01 01:28:09 +02:00
Juuz
74151c1171 Centralise userdev config reading, support missing SAS 2023-11-01 01:28:08 +02:00
Juuz
29fbc7d736 Add DFU for codecs, support NeoForge run config templates 2023-11-01 00:44:02 +02:00
Juuz
0b87379c7e Test NeoForge against a client-only MC jar 2023-11-01 00:07:58 +02:00
Juuz
9aba46e276 Rename MinecraftPatchedProvider jar paths on NeoForge 2023-10-31 20:12:57 +02:00
Juuz
53f82da7ff Fix mixin version detection on NeoForge 2023-10-31 19:52:19 +02:00
Juuz
170e194e1e Fix wrong configurations being used on NeoForge 2023-10-31 19:49:21 +02:00
Juuz
0ee468a6fa McpExecutor: Add support for downloading deps via Gradle
Also adds support for downloading a file without a repo
for NeoForm functions.
2023-10-31 19:49:19 +02:00
Juuz
dfa74148de Code style and related fixes 2023-10-31 19:37:14 +02:00
Juuz
3757dd0030 Many changes related to NeoForge mappings and remapping 2023-10-31 19:23:19 +02:00
Juuz
965e71f590 Disable mixin AP for building on NeoForge 2023-10-31 18:54:01 +02:00
Juuz
65d11fd720 Disable patched decompilation task on Neo 2023-10-31 18:50:48 +02:00
Juuz
37ab0cd649 Implement hacky fast track for NeoForge field migration
In other works, we skip field migrating for now.
2023-10-31 18:47:50 +02:00
Juuz
e7cf25cdfd Add test for basic NeoForge 1.20.2 projects 2023-10-31 18:40:58 +02:00
Juuz
3965893f45 Use NeoForge-specific dependency configuration
This is only for the "(neo)forge" configuration exposed
as API. The other configurations remain the same.
2023-10-31 18:40:41 +02:00
Juuz
3c597e01bf Use NeoForge-specific cache 2023-10-31 18:40:01 +02:00
Juuz
01da04742a Add ModPlatform.id 2023-10-31 18:39:09 +02:00
Juuz
d5cbb0239e Merge branch 'dev/1.4' into feature/neo 2023-10-31 18:30:20 +02:00
Juuz
b82a5bcc04 Move NeoForge integration test to a neoforge subpackage 2023-10-31 18:24:13 +02:00