Age | Commit message (Collapse) | Author |
|
Upgrading asm 9.3 because apparently there's Java 19 classes in the MC jar now.
Removing the `module` wrapper around dependencies because frankly I don't know
why it's a thing in the first place (works fine without on all versions of
UniversalCraft) and it prevents you from having two modules differing only in
the classifier, which is what MC 1.19 does.
Removing the throw when there are no natives, because those come bundled in jars
now (this doesn't allow running in a dev env, but it's enough to compile a jar).
|
|
Otherwise it'll have to re-patch the Minecraft jars every time the user switches
between two otherwise unrelated projects.
This will waste a bunch of disk space, but that's likely better than constantly
having to re-initialize stuff.
|
|
|
|
Forge has not published regular source artifacts for old versions, instead the
sources zip is bundled within the userdev jar.
Co-authored-by: DJtheRedstoner <52044242+DJtheRedstoner@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
So jars (and in particular legacy forge ones) get regenerated (required because
of c9c2765).
|
|
|
|
We've assumed that Forge adds its annotation everywhere via its patches but it
actually only adds them if a given file needs to have a patch applied for
reasons other than just the SideOnly annotation.
This would leave some classes/fields/methods without annotation which resulted
in an exception when deserializing horses on 1.12.2 (because it references a
class which in turn has methods referencing the dedicated server class which is
server-only).
Instead, we now convert all Fabric annotations (added during merging) to the
Forge ones and remove duplicates (where patches also added them).
|
|
|
|
|
|
|
|
|
|
|
|
I do not quite remember why I added this in the first place but it seems fine
without, so let's not mess with it.
|
|
|
|
|
|
|
|
Usages are more related to the modern Forge than to ModLauncher specifically.
|
|
|
|
|
|
This should prevent crashes if the validateAccessWidener
task is initialised manually (by other plugins or scripts
iterating all tasks, for example).
|
|
Cause modern versions of Forge do not need them.
|
|
We never use the v1 file, so there isn't really any reason to keep it around.
|
|
|
|
A fallback SrgProvider is instantiated and initialized here but never added to
the provider list, resulting in a NPE right below in `getRawSrgFile`.
|
|
This jar used to always be included in the cache file list even though it is
only used/generated with official mappings. Therefore it would always be missing
from the cache when not using official mappings, unnecessarily re-running the
patching code.
|
|
Way easier to read than the previous array-copy implementation and trivial to
extend when more file are optional (see next commit).
|
|
Should allow yarn versions to be used across mc versions when needed.
|
|
|
|
Signed-off-by: shedaniel <daniel@shedaniel.me>
|
|
|
|
|
|
|
|
Signed-off-by: shedaniel <daniel@shedaniel.me>
|
|
Signed-off-by: shedaniel <daniel@shedaniel.me>
# Conflicts:
# build.gradle
# src/main/java/net/fabricmc/loom/configuration/mods/ModProcessor.java
|
|
Signed-off-by: shedaniel <daniel@shedaniel.me>
|
|
Signed-off-by: shedaniel <daniel@shedaniel.me>
|
|
* Juuzify ArchitecturyLoomDecompiler
* Remove unused max memory
|
|
* Add architectury decompiler
Signed-off-by: shedaniel <daniel@shedaniel.me>
* Perhaps let's not include javaexec helpers
Signed-off-by: shedaniel <daniel@shedaniel.me>
* Fix checkstyle and resolve reviews
Signed-off-by: shedaniel <daniel@shedaniel.me>
|
|
* Validate remapped mods also have a remapped access widener.
* Fix checkstyle
|
|
Signed-off-by: shedaniel <daniel@shedaniel.me>
|
|
Signed-off-by: shedaniel <daniel@shedaniel.me>
|
|
Signed-off-by: shedaniel <daniel@shedaniel.me>
|
|
# Conflicts:
# src/main/java/net/fabricmc/loom/configuration/providers/mappings/LayeredMappingSpecBuilderImpl.java
# src/main/java/net/fabricmc/loom/configuration/providers/mappings/mojmap/MojangMappingLayer.java
# src/main/java/net/fabricmc/loom/configuration/providers/mappings/mojmap/MojangMappingsSpec.java
# src/test/groovy/net/fabricmc/loom/test/unit/layeredmappings/LayeredMappingSpecBuilderTest.groovy
|
|
Unpick will now get the same version of asm that loom is running with on its classpath.
|
|
A more sophisticated fix might be nice, but im not sure it will provide a lot of benefit.
|
|
|