Uses of Interface
net.minecraftforge.common.util.NonNullFunction
-
Uses of NonNullFunction in net.minecraftforge.common.util
Modifier and TypeMethodDescription<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> Optional<U>
LazyOptional.map(NonNullFunction<? super T,? extends U> mapper)
If a thisLazyOptional
is non-empty, return a newOptional
encapsulating the mapped value.