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

Method empty

src/main/java/net/minecraftforge/fml/OptionalMod.java:41–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39
40 private static OptionalMod<?> EMPTY = new OptionalMod<>(true);
41 private static <T> OptionalMod<T> empty() {
42 @SuppressWarnings("unchecked")
43 OptionalMod<T> t = (OptionalMod<T>) EMPTY;
44 return t;
45 }
46
47 private OptionalMod(boolean searched) {
48 this.searched = searched;

Callers 11

filterMethod · 0.95
getFluidContainedMethod · 0.45
getMessagesMethod · 0.45
ModLoadingStageMethod · 0.45
ModContainerClass · 0.45
mapMethod · 0.45
flatMapMethod · 0.45
SimpleChannelMethod · 0.45
registerMessageMethod · 0.45
MessageHandlerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected