Mine

constructor(id: String, display: Component, blocks: List<MineBlock>, randomBounds: Int, from: Location, to: Location, blockFrom: Location, blockTo: Location, spawn: Location, blockCountReset: Int, resetDelay: Long, level: Int, item: ItemStack)

Parameters

id

The id of the mine

display

The display component of the mine

blocks

What blocks could generate in the blockArea

randomBounds

The bounds for the random generator, required for the block generation

from

The lowest location of the area

to

The highest location of the area

blockFrom

The lowest location of the blockArea

blockTo

The highest location of the blockArea

spawn

The spawn location of the mine

blockCountReset

The minimal block count at that the reset timer starts

resetDelay

The delay for the reset timer

level

The required level to go in the mine

item

The item representation of the mine, will be used in the Warp gui