mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-28 04:07:01 -05:00
Add extension option to configure known INVOKEDYNAMIC BSMs (#945)
* Set up configuration for known indy bsms * Make ignoredIndyBsms apply to service remapper * Add groovy indy instruction to default known BSMs * Address feedback --------- Co-authored-by: modmuss <modmuss50@gmail.com>
This commit is contained in:
@@ -82,6 +82,7 @@ public final class TinyRemapperHelper {
|
||||
.rebuildSourceFilenames(true)
|
||||
.invalidLvNamePattern(MC_LV_PATTERN)
|
||||
.inferNameFromSameLvIndex(true)
|
||||
.withKnownIndyBsm(extension.getKnownIndyBsms().get())
|
||||
.extraPreApplyVisitor((cls, next) -> {
|
||||
if (fixRecords && !cls.isRecord() && "java/lang/Record".equals(cls.getSuperName())) {
|
||||
return new RecordComponentFixVisitor(next, mappingTree, intermediaryNsId);
|
||||
|
||||
Reference in New Issue
Block a user