fixes
parent
a19136a5d1
commit
998cca386d
|
@ -191,7 +191,7 @@ petz.spawn_mob = function(spawn_pos, limit_max_mobs, abr, liquidflag)
|
|||
end
|
||||
if i > 1 then
|
||||
local height, liquidflag = mobkit.get_terrain_height(spawn_pos, 32)
|
||||
if height then
|
||||
if height or (liquidflag and ent.can_swin) then
|
||||
local node = petz.get_node_below(spawn_pos)
|
||||
if not(mokapi.item_in_itemlist(node.name, petz.settings[random_mob.."_spawn_nodes"])) then
|
||||
spawn = false
|
||||
|
|
|
@ -277,8 +277,9 @@ turtle_spawn_biome = default
|
|||
##Tropicalfish Specific
|
||||
tropicalfish_follow = default:coral_brown
|
||||
tropicalfish_spawn_nodes = default:water_source
|
||||
tropicalfish_spawn_chance = 0.6
|
||||
tropicalfish_spawn_chance = 1.0
|
||||
tropicalfish_spawn_biome = default
|
||||
tropicalfish_spawn_herd = 3
|
||||
|
||||
##Elephant Specific
|
||||
elephant_follow = default:acacia_sapling
|
||||
|
@ -320,12 +321,14 @@ clownfish_follow = default:coral_orange
|
|||
clownfish_spawn_chance = 1.0
|
||||
clownfish_spawn_nodes = default:water_source
|
||||
clownfish_spawn_biome = default
|
||||
clownfish_spawn_herd = 3
|
||||
|
||||
##Dolphin Specific
|
||||
dolphin_follow = petz:clownfish_set
|
||||
dolphin_spawn_chance = 1.0
|
||||
dolphin_spawn_nodes = default:water_source
|
||||
dolphin_spawn_biome = default
|
||||
dolphin_spawn_herd = 3
|
||||
|
||||
##Silkworm Specific
|
||||
silkworm_follow = default:pine_needles
|
||||
|
|
Loading…
Reference in New Issue