public class RegistrySupplier
extends java.lang.Object
CatalogType
entries.Modifier and Type | Method and Description |
---|---|
static <T extends org.spongepowered.api.CatalogType> |
supply(java.lang.Class<T> clazz,
java.lang.String field)
Gets a
Supplier |
public static <T extends org.spongepowered.api.CatalogType> java.util.function.Supplier<T> supply(java.lang.Class<T> clazz, java.lang.String field)
Supplier
T
- The type of CatalogType
clazz
- The type of CatalogType
field
- The field nameSupplier