Add support for multiple access wideners in Quilt mods

This commit is contained in:
Juuz
2023-02-16 21:16:18 +02:00
parent e2dfa8a410
commit 08f9ebe32e
4 changed files with 31 additions and 17 deletions

View File

@@ -1,6 +1,7 @@
package dev.architectury.loom.metadata;
import java.util.List;
import java.util.Set;
import org.jetbrains.annotations.Nullable;
@@ -14,9 +15,9 @@ public interface ModMetadataFile {
@Nullable String getId();
/**
* {@return the path to the access widener file of this mod, or {@code null} if absent}.
* {@return the paths to the access widener file of this mod, or an empty set if absent}.
*/
@Nullable String getAccessWidener();
Set<String> getAccessWideners();
/**
* {@return the injected interface data in this mod metadata file}.