ZombieSurvivalConfig

data class ZombieSurvivalConfig(val arena: String, val durationSeconds: Int, val zombieCount: Int, val mobs: List<String>)(source)

Config for the Zombie Survival minigame.

Constructors

Link copied to clipboard
constructor(arena: String, durationSeconds: Int, zombieCount: Int, mobs: List<String>)

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

Survival duration; players win if at least one participant survives this long.

Link copied to clipboard

Entity type ids to spawn (e.g. minecraft:zombie).

Link copied to clipboard

Number of zombies to spawn across the arena surface at game start.