Commit Graph

554 Commits

Author SHA1 Message Date
shedaniel
d8328c7905 Make forge default obfuscation environment be "searge" 2020-12-26 22:50:44 +08:00
shedaniel
43520d439b Forgot class AT only have 2 columns 2020-12-25 16:28:03 +08:00
shedaniel
43cef2e5a4 Fix remapping forge dependencies 2020-12-25 16:19:24 +08:00
modmuss50
03444f26b0 General code cleanup (#313)
* First general cleanup pass

* Review feedback

* Fix build

* Fix tests
2020-12-24 20:58:30 +00:00
shedaniel
d325274e4f Filter unknown invokedynamic bsm 2020-12-23 18:55:39 +08:00
i509VCB
b0860c36d6 Add ability to specify additional tiny remapper options in remapJar (#292)
* Add ability to specify additional tiny remapper options in remapJar

* Imports go brr

* Fix checkstyle

Co-authored-by: modmuss50 <modmuss50@gmail.com>
2020-12-21 21:02:39 +00:00
modmuss50
e20993daf8 Allow setting the RemapJarTask classpath. Closes #307 2020-12-21 20:42:23 +00:00
solonovamax
c96396fb27 Fix genSources not working when root project doesnt have loom applied#308. (#309)
loom now runs genSources on root project if the plugin exists in the root project, else it will build in the current project.

Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
2020-12-21 19:48:26 +00:00
Cool_Mineman
7e5053b0c5 Respect reproducibleFileOrder and preserveFileTimestamps (#304)
* Respect reproducibleFileOrder and preserveFileTimestamps

* Also Respect On Sources Jars

* java 8

* checkstyle

* Please Rerun Actions
2020-12-21 19:47:08 +00:00
user11681
9f6c8486fb Add nogui to server program arguments (#310)
Closes #276
2020-12-21 19:44:39 +00:00
modmuss50
b27bc3d39a Use launcher metadata manifest v2. Closes #290 2020-12-21 19:37:35 +00:00
modmuss50
3bdccee02e Refactor and fix game/loader library handling (#298)
Update fernflower
2020-12-21 19:34:00 +00:00
modmuss50
78c934aed5 Move remapped mods into a full local maven repo (#300) 2020-12-21 19:33:23 +00:00
shedaniel
67bc2f66c4 support windows for the path separator 2020-12-20 23:37:27 +08:00
shedaniel
07f252d70e Option to disable mojmap warning + ways to add tasks to do before run. 2020-12-08 21:24:42 +08:00
shedaniel
27c4b42e9f use my stream shit thank 2020-12-08 10:19:25 +08:00
Juuxel
859b132851 Should fix MOD_CLASSES on Linux 2020-12-05 13:40:50 +02:00
Juuxel
c1e93b29e9 Clean up MinecraftPatchedProvider again 2020-12-05 13:37:26 +02:00
Juuxel
876cb01e98 Reduce unnecessary workload for MinecraftPatchedProvider 2020-12-04 16:10:37 +02:00
Juuxel
ddb810ed99 Remap mixins properly (and cursedly) 2020-12-04 16:01:58 +02:00
Juuxel
3655421422 Add javax annotations for Forge
Forge uses the "default" annotations such as ParametersAreNonnullByDefault.
2020-12-03 22:16:16 +02:00
Juuxel
8baa801394 Merge branch 'dev/0.5' into forge 2020-12-03 18:10:27 +02:00
Juuxel
ebc4b49390 Remap mod dependencies + their coremods and ATs 2020-12-03 18:08:43 +02:00
Juuxel
2d88e849ec Add support for project ATs 2020-12-03 17:48:28 +02:00
Juuxel
2a10b70546 Add the mixin config to built jar manifests 2020-12-03 16:49:21 +02:00
Juuxel
e88a614b72 Add Forge mixin support 2020-12-03 12:21:01 +02:00
Juuxel
6fc3af3f65 Add environment variables to runClient and runServer 2020-12-03 12:03:18 +02:00
Juuxel
581b300f55 Use the source set to generate the MOD_CLASSES env var 2020-12-03 12:00:11 +02:00
Juuxel
5379022295 Add the build outputs to the run config as MOD_CLASSES 2020-12-03 11:27:06 +02:00
Juuxel
064d4051d5 Add environment variable support for idea run configs 2020-12-03 11:19:38 +02:00
modmuss50
dd68c84226 Allow specifying natives directory with the fabric.loom.natives.dir gradle property.
Note this is designed to allow easy usage of custom natives, thus will not populate the directory with the default natives.
2020-12-02 20:18:12 +00:00
Juuxel
ee64d34bdb Revert unnecessary custom changes 2020-12-02 21:35:43 +02:00
Juuxel
5a8cd5ce9f Switch to TR (once again) for remapping srg -> official
It works now :^)
2020-12-02 21:30:27 +02:00
Juuxel
fe99918d36 Extract patching logic to MinecraftPatchedProvider 2020-12-02 21:08:46 +02:00
Juuxel
80780701d1 Manifest cleanup 2020-12-02 20:46:56 +02:00
Juuxel
8046f0c33c Merge the Forge manifest with the Minecraft manifest, ignoring any class sections 2020-12-02 20:28:03 +02:00
Juuxel
b61373f920 at go brrr 2020-12-02 20:19:57 +02:00
Juuxel
028ae4a4ac Add experimental access transforming support 2020-12-02 19:52:14 +02:00
Juuxel
b8552d1137 wut 2020-12-02 19:02:02 +02:00
Juuxel
13da3a13cd Add fixPackageAccess to MinecraftMappedProvider's tiny remapper 2020-12-02 18:52:39 +02:00
Juuxel
b8188475ce Fix some weirdness in SrgMerger 2020-11-30 21:37:14 +02:00
Juuxel
702cf11d33 Shade tiny mappings parser inside the injection jar, add launch property for the mapping path 2020-11-30 21:13:10 +02:00
Juuxel
76a171556e Try to fix the loom injection 2020-11-30 20:40:49 +02:00
Juuxel
385e0c9544 Add yarn naming service that is injected to the game jar
If Forge can do it, so can I.
2020-11-30 20:29:00 +02:00
Juuxel
a22a9b476c Delete existing ATs when remapping 2020-11-30 19:23:31 +02:00
Juuxel
ab954c2b3a Fix IOOBE 2020-11-30 19:20:51 +02:00
Juuxel
07e47d531c Use proper slash format in coremod remapper 2020-11-30 19:16:40 +02:00
Juuxel
ec199fef90 Tweak AT and coremod remappers 2020-11-30 19:15:32 +02:00
Juuxel
9b668547e0 Add coremod and AT remappers 2020-11-30 18:56:21 +02:00
Juuxel
5abdcea4dd Ignore missing classes in lenient SRG merging 2020-11-30 18:04:45 +02:00