TntSurvivalConfig

data class TntSurvivalConfig(val arena: String, val durationSeconds: Int, val initialTntPerSecond: Int, val maxTntPerSecond: Int, val fuseTicks: Int)(source)

Configuration for the TNT Survival minigame.

Players must survive raining primed TNT for durationSeconds. The spawn rate starts at initialTntPerSecond and linearly ramps to maxTntPerSecond by the end of the game.

Constructors

Link copied to clipboard
constructor(arena: String, durationSeconds: Int, initialTntPerSecond: Int, maxTntPerSecond: Int, fuseTicks: Int)

Types

Link copied to clipboard
object Companion

Static codecs for reading config from datapacks.

Properties

Link copied to clipboard

Arena template key to load from config/evermod/arenas/templates/<key>.nbt.

Link copied to clipboard

How long the game lasts, in seconds.

Link copied to clipboard

Fuse time in ticks for each spawned TNT entity.

Link copied to clipboard

TNT blocks spawned per second at the start of the game.

Link copied to clipboard

TNT blocks spawned per second at the end of the game (linear ramp).