WarpConfiguration

data class WarpConfiguration(val slots: List<Int>, val size: Int, val background: ItemStack, val title: Component, val lockedItem: ItemStack, val spawnSlot: Int, val spawnItem: ItemStack, val spawn: Location)

The warp configuration.

Author

MarkusTieger

Since

0.2.0

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

See also

Inventory

Constructors

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

Properties

Link copied to clipboard
val background: ItemStack
Link copied to clipboard
val lockedItem: ItemStack
Link copied to clipboard
val size: Int
Link copied to clipboard
val slots: List<Int>
Link copied to clipboard
val spawn: Location
Link copied to clipboard
val spawnItem: ItemStack
Link copied to clipboard
Link copied to clipboard
val title: Component