Interface DataStore.Builder
- 
- All Superinterfaces:
- ResettableBuilder<DataStore,DataStore.Builder>
 - Enclosing interface:
- DataStore
 
 public static interface DataStore.Builder extends ResettableBuilder<DataStore,DataStore.Builder> 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static interfaceDataStore.Builder.EndStepstatic interfaceDataStore.Builder.HolderStepstatic interfaceDataStore.Builder.SerializersStepstatic interfaceDataStore.Builder.UpdaterStep
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description DataStore.Builder.HolderSteppluginData(ResourceKey key)Starts building a DataStore for plugin data.DataStore.Builder.UpdaterSteppluginData(ResourceKey key, int version)Starts building a DataStore for plugin data.DataStore.Builder.HolderStepvanillaData()Starts building a DataStore for raw data.- 
Methods inherited from interface org.spongepowered.api.util.ResettableBuilderreset
 
- 
 
- 
- 
- 
Method Detail- 
pluginDataDataStore.Builder.HolderStep pluginData(ResourceKey key) Starts building a DataStore for plugin data.Serializers and Deserializers will operate on their own DataView.- Parameters:
- key- the key under which all data from this DataStore is registered
- Returns:
- this builder for chaining
 
 - 
pluginDataDataStore.Builder.UpdaterStep pluginData(ResourceKey key, int version) Starts building a DataStore for plugin data.Serializers and Deserializers will operate on their own DataView.- Parameters:
- key- the key under which all data from this DataStore is registered
- version- the content-version of your data.
- Returns:
- this builder for chaining
 
 - 
vanillaDataDataStore.Builder.HolderStep vanillaData() Starts building a DataStore for raw data.Serializers and deserializers will operate on the root DataViewwhich includes all data from vanilla minecraft and moreConsider using pluginData(org.spongepowered.api.ResourceKey)instead.- Returns:
- this builder for chaining
 
 
- 
 
-