Tweak spawning of all mobs
This commit is contained in:
parent
cb737d0a75
commit
e78382b08c
14 changed files with 21 additions and 21 deletions
|
@ -66,7 +66,7 @@ mobs:register_mob("mobs_mc:blaze", {
|
|||
fear_height = 120,
|
||||
})
|
||||
|
||||
mobs:register_spawn("mobs_mc:blaze", {"mcl_core:lava_flowing", "mcl_nether:netherrack","air"}, 30, -1, 5000, 1, -2000)
|
||||
mobs:register_spawn("mobs_mc:blaze", {"mcl_core:lava_flowing", "mcl_nether:netherrack","air"}, 30, -1, 5000, 1, -1000)
|
||||
|
||||
-- Blaze fireball
|
||||
mobs:register_arrow("mobs_mc:blaze_fireball", {
|
||||
|
|
|
@ -119,7 +119,7 @@ mobs:register_mob("mobs_mc:chicken", {
|
|||
|
||||
})
|
||||
|
||||
mobs:register_spawn("mobs_mc:chicken", {"mcl_core:dirt_with_grass"}, 20, 8, 7000, 1, 31000)
|
||||
mobs:register_spawn("mobs_mc:chicken", {"mcl_core:dirt_with_grass"}, 20, 9, 7000, 1, 31000)
|
||||
|
||||
|
||||
-- compatibility
|
||||
|
|
|
@ -125,7 +125,7 @@ mobs:register_mob("mobs_mc:cow", {
|
|||
end,
|
||||
})
|
||||
|
||||
mobs:register_spawn("mobs_mc:cow", {"mcl_core:dirt_with_grass"}, 20, 8, 7000, 1, 31000)
|
||||
mobs:register_spawn("mobs_mc:cow", {"group:solid"}, 20, 9, 7000, 1, 31000)
|
||||
|
||||
|
||||
-- compatibility
|
||||
|
|
|
@ -64,7 +64,7 @@ mobs:register_mob("mobs_mc:creeper", {
|
|||
view_range = 16,
|
||||
attack_type = "explode",
|
||||
})
|
||||
mobs:register_spawn("mobs_mc:creeper", {"group:crumbly", "group:cracky", "group:choppy", "group:snappy"}, 7, -1, 5000, 4, 31000)
|
||||
mobs:register_spawn("mobs_mc:creeper", {"group:solid"}, 7, -1, 5000, 4, 31000)
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ mobs:register_mob("mobs_mc:enderman", {
|
|||
replace_offset = -1,
|
||||
|
||||
})
|
||||
mobs:register_spawn("mobs_mc:enderman", { "mcl_core:sand", "mcl_core:redsand"}, 5, -1, 5000, 4, 31000)
|
||||
mobs:register_spawn("mobs_mc:enderman", { "group:solid"}, 7, -1, 5000, 4, 31000)
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -318,9 +318,9 @@ mobs:register_mob("mobs_mc:horse3", {
|
|||
end
|
||||
end,
|
||||
})
|
||||
mobs:register_spawn("mobs_mc:horse", {"mcl_core:dirt_with_grass", "mcl_core:dirt"}, 20, 12, 21000, 1, 12)
|
||||
mobs:register_spawn("mobs_mc:horse2", {"mcl_core:dirt_with_grass", "mcl_core:dirt"}, 20, 12, 23000, 1, 31000)
|
||||
mobs:register_spawn("mobs_mc:horse3", {"mcl_core:sand", "mcl_core:redsand"}, 20, 8, 17000, 1, 5)
|
||||
mobs:register_spawn("mobs_mc:horse", {"mcl_core:dirt_with_grass", "mcl_core:dirt"}, 20, 9, 21000, 1, 12)
|
||||
mobs:register_spawn("mobs_mc:horse2", {"mcl_core:dirt_with_grass", "mcl_core:dirt"}, 20, 9, 23000, 1, 31000)
|
||||
mobs:register_spawn("mobs_mc:horse3", {"mcl_core:sand", "mcl_core:redsand"}, 20, 9, 17000, 1, 5)
|
||||
|
||||
|
||||
-- compatibility
|
||||
|
|
|
@ -133,7 +133,7 @@ mobs:register_mob("mobs_mc:pig", {
|
|||
end,
|
||||
})
|
||||
|
||||
mobs:register_spawn("mobs_mc:pig", {"mcl_core:dirt_with_grass"}, 20, 12, 5000, 1, 31000)
|
||||
mobs:register_spawn("mobs_mc:pig", {"mcl_core:dirt_with_grass"}, 20, 9, 5000, 1, 31000)
|
||||
|
||||
|
||||
--api code to fix
|
||||
|
|
|
@ -124,7 +124,7 @@ print(item:get_name(), minetest.get_item_group(item:get_name(), "dye"))
|
|||
end
|
||||
end,
|
||||
})
|
||||
mobs:register_spawn("mobs_mc:sheep", {"mcl_core:dirt_with_grass"}, 20, 12, 5000, 2, 31000)
|
||||
mobs:register_spawn("mobs_mc:sheep", {"mcl_core:dirt_with_grass"}, 20, 9, 5000, 2, 31000)
|
||||
|
||||
|
||||
-- compatibility
|
||||
|
|
|
@ -68,7 +68,7 @@ mobs:register_mob("mobs_mc:skeleton", {
|
|||
dogshoot_switch = 1,
|
||||
dogshoot_count_max =3,
|
||||
})
|
||||
mobs:register_spawn("mobs_mc:skeleton", {"group:crumbly", "group:cracky", "group:choppy", "group:snappy"}, 7, -1, 5000, 4, 31000)
|
||||
mobs:register_spawn("mobs_mc:skeleton", {"group:solid"}, 7, -1, 5000, 4, 31000)
|
||||
|
||||
|
||||
mobs:register_mob("mobs_mc:skeleton2", {
|
||||
|
|
|
@ -182,9 +182,9 @@ mobs:register_mob("mobs_mc:greenbig", {
|
|||
end
|
||||
end,
|
||||
})
|
||||
mobs:register_spawn("mobs_mc:greensmall", {"mcl_core:water_flowing", "mcl_core:mossycobble"}, 7, -1, 5000, 4, 31000)
|
||||
mobs:register_spawn("mobs_mc:greenmedium", {"mcl_core:water_flowing", "mcl_core:mossycobble"}, 7, -1, 5000, 4, 31000)
|
||||
mobs:register_spawn("mobs_mc:greenbig", {"mcl_core:water_flowing", "mcl_core:mossycobble"}, 7, -1, 5000, 4, 31000)
|
||||
mobs:register_spawn("mobs_mc:greensmall", {"mcl_core:water_flowing", "group:solid"}, 15, 0, 5000, 4, -12)
|
||||
mobs:register_spawn("mobs_mc:greenmedium", {"mcl_core:water_flowing", "group:solid"}, 15, 0, 5000, 4, -12)
|
||||
mobs:register_spawn("mobs_mc:greenbig", {"mcl_core:water_flowing", "group:solid"}, 15, 0, 5000, 4, -12)
|
||||
|
||||
|
||||
|
||||
|
@ -270,7 +270,7 @@ mobs:register_mob("mobs_mc:lavabig", {
|
|||
armor = 100,
|
||||
drops = {
|
||||
{name = "mcl_mobitems:magma_cream",
|
||||
chance = 1,
|
||||
chance = 4,
|
||||
min = 0,
|
||||
max = 1,},
|
||||
},
|
||||
|
@ -307,8 +307,8 @@ mobs:register_mob("mobs_mc:lavabig", {
|
|||
end
|
||||
})
|
||||
|
||||
mobs:register_spawn("mobs_mc:lavasmall", {"nether:rack", "mcl_core:lava"}, 7, -1, 5000, 4, 31000)
|
||||
mobs:register_spawn("mobs_mc:lavabig", {"nether:rack", "mcl_core:lava"}, 7, -1, 5000, 4, 31000)
|
||||
mobs:register_spawn("mobs_mc:lavasmall", {"mcl_nether:netherrack", "mcl_nether:nether_brick"}, 15, 0, 5000, 4, -1000)
|
||||
mobs:register_spawn("mobs_mc:lavabig", {"mcl_nether:netherrack", "mcl_nether:nether_brick"}, 15, 0, 5000, 4, -1000)
|
||||
|
||||
-- compatibility
|
||||
mobs:alias_mob("mobs:lavasmall", "mobs_mc:lavasmall")
|
||||
|
|
|
@ -168,7 +168,7 @@ mobs:register_mob("mobs_mc:villager", {
|
|||
|
||||
]]
|
||||
})
|
||||
mobs:register_spawn("mobs_mc:villager", {"mcl_core:gravel"}, 20, 8, 500, 2, 31000)
|
||||
mobs:register_spawn("mobs_mc:villager", {"mcl_core:gravel"}, 20, 0, 500, 2, 31000)
|
||||
|
||||
|
||||
-- compatibility
|
||||
|
|
|
@ -169,7 +169,7 @@ mobs:register_mob("mobs_mc:wolf", {
|
|||
step = 0.5,
|
||||
blood_texture = "mobs_blood.png",
|
||||
})
|
||||
mobs:register_spawn("mobs_mc:wolf", {"mcl_core:dirt_with_grass","mcl_core:dirt","mcl_core:snow", "mcl_core:snowblock"}, 20, 0, 19000, 1, 31000)
|
||||
mobs:register_spawn("mobs_mc:wolf", {"mcl_core:dirt_with_grass", "mcl_core:dirt", "mcl_core:coarse_dirt", "mcl_core:snow", "mcl_core:snowblock", "mcl_core:podzol"}, 20, 0, 19000, 1, 31000)
|
||||
|
||||
|
||||
-- compatibility
|
||||
|
|
|
@ -83,7 +83,7 @@ mobs:register_mob("mobs_mc:zombie", {
|
|||
view_range = 16,
|
||||
attack_type = "dogfight",
|
||||
})
|
||||
mobs:register_spawn("mobs_mc:zombie", {"group:crumbly", "group:cracky", "group:choppy", "group:snappy"}, 7, -1, 5000, 4, 31000)
|
||||
mobs:register_spawn("mobs_mc:zombie", {"group:solid"}, 7, -1, 5000, 4, 31000)
|
||||
|
||||
|
||||
-- compatibility
|
||||
|
|
|
@ -82,7 +82,7 @@ mobs:register_mob("mobs_mc:pigman", {
|
|||
view_range = 16,
|
||||
attack_type = "dogfight",
|
||||
})
|
||||
mobs:register_spawn("mobs_mc:pigman", {"mcl_nether:netherrack"}, 17, -1, 5000, 3, -2000)
|
||||
mobs:register_spawn("mobs_mc:pigman", {"mcl_nether:netherrack", "mcl_nether:nether_brick"}, 17, -1, 5000, 3, -1000)
|
||||
mobs:register_spawn("mobs_mc:pigman", {"mcl_nether:portal"}, 15, -1, 500, 4, 31000)
|
||||
mobs:register_spawn("mobs_mc:pigman", {"mcl_core:obsidian"}, 17, -1, 1900, 1, 31000)
|
||||
|
||||
|
|
Reference in a new issue