mobf_core/mobf/environments/open_waters.lua
sapier 111cb50a12 Animals Modpack 1.9.5
-fixed height level controling for fish and gulls (has been brocken for ages)
-added spawner based spawning for any abm based spawning
-"default" state is now mandatory for any mob!
2012-12-30 01:03:09 +00:00

33 lines
933 B
Lua

-------------------------------------------------------------------------------
-- Mob Framework Mod by Sapier
--
-- You may copy, use, modify or do nearly anything except removing this
-- copyright notice.
-- And of course you are NOT allow to pretend you have written it.
--
--! @file open_waters.lua
--! @brief open waters
--! @copyright Sapier
--! @author Sapier
--! @date 2012-08-10
--
--! @addtogroup environments
--! @{
-- Contact sapier a t gmx net
-------------------------------------------------------------------------------
--! @struct env_open_waters
--! @brief open waters from 4 to 30 blocks deep
env_open_waters = {
media = {
"default:water_source",
"default:water_flowing"
},
surfaces = nil,
--ground is first node above/below not beeing of media type
max_height_above_ground = -4,
min_height_above_ground = -30
}
--!@}
environment.register("open_waters", env_open_waters)