Interface Inventory.Builder.EndStep
- Enclosing interface:
- Inventory.Builder
public static interface Inventory.Builder.EndStep
The end Step. You can set an identifier and/or carrier for the inventory before building it.
-
Method Details
-
plugin
Sets theplugin
.- Parameters:
plugin
- The plugin- Returns:
- this step
-
identity
Sets a unique identifier. Can be retrieved later using.Inventory.get(Key)
withKeys.UNIQUE_ID
- Parameters:
uuid
- the UUID.- Returns:
- this step
-
carrier
Sets a carrier.- Parameters:
carrier
- the carrier.- Returns:
- this step
-
build
Inventory build()Builds the inventory.- Returns:
- the new inventory.
-