Interface FeatureType
- All Superinterfaces:
DefaultedRegistryValue<FeatureType>
@CatalogedBy(FeatureTypes.class)
public interface FeatureType
extends DefaultedRegistryValue<FeatureType>
-
Method Summary
Methods inherited from interface org.spongepowered.api.registry.DefaultedRegistryValue
asDefaultedReference, findKey, key
-
Method Details
-
configure
Returns the configured feature- Parameters:
config- the feature configuration data- Returns:
- The configured feature
- Throws:
IllegalArgumentException- when the configuration is not valid for this type of feature
-