public interface CustomInventoryBuilder
Modifier and Type | Method and Description |
---|---|
CustomInventory |
build()
Builds the inventory instance.
|
CustomInventoryBuilder |
name(Translatable name)
Sets the title of the custom inventory, viewable by players looking
at the inventory.
|
CustomInventoryBuilder |
size(int size)
Sets the size of the custom inventory.
|
CustomInventoryBuilder name(Translatable name)
name
- The titleCustomInventoryBuilder size(int size)
size
- The sizeCustomInventory build()