Interface ViewableInventory.Builder.EndStep
- All Superinterfaces:
AbstractBuilder<Inventory>,Builder<Inventory,,ViewableInventory.Builder> ResettableBuilder<Inventory,,ViewableInventory.Builder> ViewableInventory.Builder
- Enclosing interface:
ViewableInventory.Builder
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.spongepowered.api.item.inventory.type.ViewableInventory.Builder
ViewableInventory.Builder.BuildingStep, ViewableInventory.Builder.DummyStep, ViewableInventory.Builder.EndStep -
Method Summary
Methods inherited from interface org.spongepowered.api.item.inventory.type.ViewableInventory.Builder
type, type
-
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
ViewableInventory.Custom build()Builds the inventory.- Specified by:
buildin interfaceAbstractBuilder<Inventory>- Returns:
- the new inventory.
-