Skip to main content

Continuous Spawn

Continuously spawns mobs at fixed intervals over a duration.

Example​

{
"type": "htlib:duration",
"setting": {
"entity_type": "minecraft:skeleton"
},
"duration": 400,
"spawn_interval": 100,
"each_spawn_count": 1,
"start_tick": 0
}

Fields​

FieldTypeDefaultDescription
typeString—Fixed as htlib:duration
settingSpawn Settings—Spawn-related settings
start_tickInteger0Tick when spawning begins
durationInteger—Total duration of continuous spawning (ticks)
spawn_intervalInteger—Interval between each spawn (ticks)
each_spawn_countInteger—Number of mobs spawned per interval
spawn_offsetInteger0Spawn offset