Skip to content

Commit

Permalink
🚧 Start working on mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
thecatcore committed Nov 14, 2023
1 parent 1386eb1 commit 7cf8295
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ public interface ModRemapper {
ModDiscoverer[] getModDiscoverers();

void filterModEntries(List<ModCandidate> entries);

String getDefaultPackage();
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,9 @@ public ModDiscoverer[] getModDiscoverers() {
public void filterModEntries(List<ModCandidate> entries) {

}

@Override
public String getDefaultPackage() {
return "";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,9 @@ public void filterModEntries(List<ModCandidate> entries) {
entries.removeIf(modEntry -> !(modEntry.getInfos() instanceof MLModInfos)
&& found.contains(modEntry.getFilePath().toString()));
}

@Override
public String getDefaultPackage() {
return "net/minecraft/";
}
}

0 comments on commit 7cf8295

Please sign in to comment.