Interface Inventory.Builder
- All Superinterfaces:
- AbstractBuilder<Inventory>,- Builder<Inventory,,- Inventory.Builder> - ResettableBuilder<Inventory,- Inventory.Builder> 
- All Known Subinterfaces:
- Inventory.Builder.BuildingStep
- Enclosing interface:
- Inventory
A builder for free-form Inventories.
 
To build inventories that can be viewed by a player use ViewableInventory.Builder
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe building step.static interfaceThe end Step.
- 
Method SummaryMethods inherited from interface net.kyori.adventure.builder.AbstractBuilderbuild
- 
Method Details- 
slotsAdds one or more slots.- Parameters:
- amount- the amount of slots to add
- Returns:
- the building step
 
- 
gridAdds a grid of slots.- Parameters:
- sizeX- the horizontal size
- sizeY- the vertical size
- Returns:
- the building step
 
- 
inventoryAdds an existing inventory.- Parameters:
- inventory- the inventory to add.
- Returns:
- the building step
 
 
-