Interface Inventory.Builder.EndStep
- 
- Enclosing interface:
 - Inventory.Builder
 
public static interface Inventory.Builder.EndStepThe end Step. You can set an identifier and/or carrier for the inventory before building it. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Inventorybuild()Builds the inventory.Inventory.Builder.EndStepcarrier(Carrier carrier)Sets a carrier.Inventory.Builder.EndStepidentity(UUID uuid)Sets a unique identifier.Inventory.Builder.EndStepplugin(org.spongepowered.plugin.PluginContainer plugin)Sets theplugin. 
 - 
 
- 
- 
Method Detail
- 
plugin
Inventory.Builder.EndStep plugin(org.spongepowered.plugin.PluginContainer plugin)
Sets theplugin.- Parameters:
 plugin- The plugin- Returns:
 - this step
 
 
- 
identity
Inventory.Builder.EndStep identity(UUID uuid)
Sets a unique identifier. Can be retrieved later using.Inventory.get(Key)withKeys.UNIQUE_ID- Parameters:
 uuid- the UUID.- Returns:
 - this step
 
 
- 
carrier
Inventory.Builder.EndStep carrier(Carrier carrier)
Sets a carrier.- Parameters:
 carrier- the carrier.- Returns:
 - this step
 
 
- 
build
Inventory build()
Builds the inventory.- Returns:
 - the new inventory.
 
 
 - 
 
 -