Interface SimpleRegistry.Provider<K,V>

All Known Implementing Classes:
DispenserBehaviorConverter, MountedItemStorageFallbackProvider, TagProviderImpl
Enclosing interface:
SimpleRegistry<K,V>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface SimpleRegistry.Provider<K,V>
A provider can provide values to the registry in a lazy fashion. When a key does not have an associated value, all providers will be queried in reverse-registration order (newest first).

The values returned by providers are cached so that repeated queries always return the same value. To invalidate the cache of a registry, call SimpleRegistry.invalidate().