MCPcopy Create free account
hub / github.com/Teneted/Tenet / forEachModFile

Method forEachModFile

src/main/java/net/minecraftforge/fml/ModList.java:219–222  ·  view source on GitHub ↗
(Consumer<ModFile> fileConsumer)

Source from the content-addressed store, hash-verified

217 }
218
219 public void forEachModFile(Consumer<ModFile> fileConsumer)
220 {
221 modFiles.stream().map(ModFileInfo::getFile).forEach(fileConsumer);
222 }
223
224 public <T> Stream<T> applyForEachModFile(Function<ModFile, T> function) {
225 return modFiles.stream().map(ModFileInfo::getFile).map(function);

Callers

nothing calls this directly

Calls 3

forEachMethod · 0.80
streamMethod · 0.80
mapMethod · 0.45

Tested by

no test coverage detected