Interface PlacementModifierType
- All Superinterfaces:
DefaultedRegistryValue<PlacementModifierType>
@CatalogedBy(PlacementModifierTypes.class)
public interface PlacementModifierType
extends DefaultedRegistryValue<PlacementModifierType>
A type of
PlacementModifier.-
Method Summary
Modifier and TypeMethodDescriptionReturns the placement modifier.Methods inherited from interface org.spongepowered.api.registry.DefaultedRegistryValue
asDefaultedReference, findKey, key
-
Method Details
-
configure
Returns the placement modifier.- Parameters:
config- The placement modifier configuration- Returns:
- The placement modifier
- Throws:
IllegalArgumentException- when the configuration is not valid for this type of placement modifier
-