Package org.spongepowered.api.util
Class Color.Builder
java.lang.Object
org.spongepowered.api.data.persistence.AbstractDataBuilder<Color>
org.spongepowered.api.util.Color.Builder
- All Implemented Interfaces:
- DataBuilder<Color>
- Enclosing class:
- Color
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuildContent(DataView container) Builds the currentlyAbstractDataBuilder.supportedVersionvariant of the intendedDataSerializable, such that all content upgrades have already been handled byAbstractDataBuilder.build(DataView).Methods inherited from class org.spongepowered.api.data.persistence.AbstractDataBuilderbuild
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
buildContentDescription copied from class:AbstractDataBuilderBuilds the currentlyAbstractDataBuilder.supportedVersionvariant of the intendedDataSerializable, such that all content upgrades have already been handled byAbstractDataBuilder.build(DataView). This otherwise follows the same contract asDataBuilder.build(DataView).- Specified by:
- buildContentin class- AbstractDataBuilder<Color>
- Parameters:
- container- The container with data to build from
- Returns:
- The deserialized data serializable, if possible
- Throws:
- InvalidDataException- If there's issues of invalid data formats or invalid data
 
 
-