Class AbstractDataBuilder<T extends DataSerializable>

java.lang.Object
org.spongepowered.api.data.persistence.AbstractDataBuilder<T>
Type Parameters:
T - The type of DataSerializable
All Implemented Interfaces:
DataBuilder<T>
Direct Known Subclasses:
Color.Builder, RespawnLocation.Builder

public abstract class AbstractDataBuilder<T extends DataSerializable> extends Object implements DataBuilder<T>
An abstract implementation of DataBuilder that pre-defines all of the necessary "content update" implementation required for content versioning. Note that the builder itself is versioned to ensure that content versioning is appropriately handled. It is highly recommended to extend this class to implement DataBuilder and implement DataContentUpdaters as necessary for future upgradeability of custom content.