Uses of Interface
net.minecraftforge.common.util.NonNullSupplier
Packages that use NonNullSupplier
-
Uses of NonNullSupplier in net.minecraftforge.client
Fields in net.minecraftforge.client declared as NonNullSupplierModifier and TypeFieldDescriptionprivate NonNullSupplier<RenderType>ForgeRenderTypes.renderTypeSupplierConstructors in net.minecraftforge.client with parameters of type NonNullSupplierModifierConstructorDescriptionprivateForgeRenderTypes(NonNullSupplier<RenderType> renderTypeSupplier) -
Uses of NonNullSupplier in net.minecraftforge.common.util
Subinterfaces of NonNullSupplier in net.minecraftforge.common.utilModifier and TypeInterfaceDescriptioninterfaceNonNullLazy<T>Proxy object for a value that is calculated on first access.Fields in net.minecraftforge.common.util declared as NonNullSupplierMethods in net.minecraftforge.common.util with parameters of type NonNullSupplierModifier and TypeMethodDescriptionstatic <T> NonNullLazy<T>NonNullLazy.concurrentOf(NonNullSupplier<T> supplier)Constructs a thread-safe lazy-initialized objectstatic <T> LazyOptional<T>LazyOptional.of(NonNullSupplier<T> instanceSupplier)Construct a newLazyOptionalthat wraps the givenNonNullSupplier.static <T> NonNullLazy<T>NonNullLazy.of(NonNullSupplier<T> supplier)Constructs a lazy-initialized objectLazyOptional.orElseGet(NonNullSupplier<? extends T> other)Resolve the contained supplier if non-empty and return the result, otherwise return the result ofother.LazyOptional.orElseThrow(NonNullSupplier<? extends X> exceptionSupplier)Resolve the contained supplier if non-empty and return the result, otherwise throw the exception created by the providedNonNullSupplier.Constructors in net.minecraftforge.common.util with parameters of type NonNullSupplier