use new spawncommand for pumpkins, adjust parameters a bit

This commit is contained in:
tchncs 2016-10-24 10:38:59 +02:00
parent db9d06f1be
commit fe23dfbb8e

View File

@ -70,6 +70,16 @@ mobs:register_mob("halloween_mobs:pumpkin", {
}
})
mobs:register_spawn("halloween_mobs:pumpkin", {"air","air"}, 20, 10, 900, 2, 31000, true)
mobs:spawn({
name = "halloween_mobs:pumpkin",
nodes = "air",
neighbors = "air",
interval = 1,
chance = 1,
active_object_count = 1,
day_toggle = nil,
min_height = 0,
max_height = 60
})
mobs:register_egg("halloween_mobs:pumpkin", "Flying Pumpkin", "default_cloud.png", 1)