fill

fun GuiCreator.fill(material: Material, pickable: Boolean = false, creator: SlotCreator.() -> Unit = {})

Fills all slots in the GUI with a material.

Parameters

material

The material to fill with.

pickable

Whether the items are pickable.

creator

Additional configuration for each slot.