Package org.spongepowered.api.data
Interface DataManipulator.Mutable.Factory
- Enclosing interface:
DataManipulator.Mutable
public static interface DataManipulator.Mutable.Factory
A factory to create new
DataManipulator.Mutable
manipulators.-
Method Summary
Modifier and TypeMethodDescriptionof()
Creates an empty mutable manipulator that can be used as a sink accepting new values.Creates a new manipulator with all the provided values.of
(ValueContainer valueContainer) Creates a new manipulator with all the possible values from the givenValueContainer
.
-
Method Details
-
of
Creates an empty mutable manipulator that can be used as a sink accepting new values.- Returns:
- A new empty manipulator
-
of
Creates a new manipulator with all the provided values.- Parameters:
values
- the values to populate- Returns:
- The new manipulator with the provided values
-
of
Creates a new manipulator with all the possible values from the givenValueContainer
.- Parameters:
valueContainer
- the value container containing all values- Returns:
- The new manipulator with all values from the given container
-