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

Method of

src/main/java/net/minecraftforge/fml/OptionalMod.java:36–38  ·  view source on GitHub ↗
(final String modId)

Source from the content-addressed store, hash-verified

34 private boolean searched;
35
36 public static <M> OptionalMod<M> of(final String modId) {
37 return new OptionalMod<>(modId);
38 }
39
40 private static OptionalMod<?> EMPTY = new OptionalMod<>(true);
41 private static <T> OptionalMod<T> empty() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected