Package | Description |
---|---|
net.minecraftforge.fml |
Modifier and Type | Field and Description |
---|---|
private static OptionalMod<?> |
OptionalMod.EMPTY |
Modifier and Type | Method and Description |
---|---|
private static <T> OptionalMod<T> |
OptionalMod.empty() |
OptionalMod<T> |
OptionalMod.filter(java.util.function.Predicate<? super T> predicate)
If a mod object is present, and the mod object matches the given predicate,
return an
OptionalMod describing the value, otherwise return an
empty OptionalMod . |
static <M> OptionalMod<M> |
OptionalMod.of(java.lang.String modId) |