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

Method setLoadedMods

src/main/java/net/minecraftforge/fml/ModList.java:166–170  ·  view source on GitHub ↗
(final List<ModContainer> modContainers)

Source from the content-addressed store, hash-verified

164 }
165
166 void setLoadedMods(final List<ModContainer> modContainers)
167 {
168 this.mods = modContainers;
169 this.indexedMods = modContainers.stream().collect(Collectors.toMap(ModContainer::getModId, Function.identity()));
170 }
171
172 @SuppressWarnings("unchecked")
173 public <T> Optional<T> getModObjectById(String modId)

Callers 1

Calls 1

streamMethod · 0.80

Tested by

no test coverage detected