Uses of Interface
net.minecraftforge.common.util.NonNullFunction
-
Packages that use NonNullFunction Package Description net.minecraftforge.common.util -
-
Uses of NonNullFunction in net.minecraftforge.common.util
Methods in net.minecraftforge.common.util with parameters of type NonNullFunction Modifier and Type Method Description <U> LazyOptional<U>
LazyOptional. lazyMap(NonNullFunction<? super T,? extends U> mapper)
If a thisLazyOptional
is non-empty, return a newLazyOptional
encapsulating the mapping function.<U> java.util.Optional<U>
LazyOptional. map(NonNullFunction<? super T,? extends U> mapper)
If a thisLazyOptional
is non-empty, return a newOptional
encapsulating the mapped value.
-