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)
SupplierT - The type of CatalogTypeclazz - The type of CatalogTypefield - The field nameSupplier