WarpConfiguration

constructor(slots: List<Int>, size: Int, background: ItemStack, title: Component, lockedItem: ItemStack, spawnSlot: Int, spawnItem: ItemStack, spawn: Location)

Parameters

slots

The slots with their priority (for Example: 2, 4, then 2 has the highest priority and 4 the next)

size

The inventory size

background

The background item

title

The inventory title

lockedItem

The item for a locked mine

spawnSlot

The slot of the spawn item

spawnItem

The item that teleports the the spawn

spawn

The spawn location