forked from mtcontrib/mobs_animal
using mobs:spawn functions to spawn animals
This commit is contained in:
10
bunny.lua
10
bunny.lua
@ -80,8 +80,14 @@ mobs:register_mob("mobs_animal:bunny", {
|
||||
damage = 5,
|
||||
})
|
||||
|
||||
mobs:register_spawn("mobs_animal:bunny",
|
||||
{"default:dirt_with_grass", "ethereal:prairie_dirt"}, 20, 10, 15000, 1, 31000, true)
|
||||
mobs:spawn({
|
||||
name = "mobs_animal:bunny",
|
||||
nodes = {"default:dirt_with_grass", "ethereal:prairie_dirt"},
|
||||
min_light = 10,
|
||||
chance = 15000,
|
||||
min_height = 0,
|
||||
day_toggle = true,
|
||||
})
|
||||
|
||||
mobs:register_egg("mobs_animal:bunny", S("Bunny"), "mobs_bunny_inv.png", 0)
|
||||
|
||||
|
Reference in New Issue
Block a user