forked from VoxeLibre/VoxeLibre
Make spiders hostile at night but peaceful at day
This commit is contained in:
parent
3a3b57482e
commit
3087413ab4
|
@ -8,11 +8,12 @@
|
||||||
|
|
||||||
-- Spider by AspireMint (fishyWET (CC-BY-SA 3.0 license for texture)
|
-- Spider by AspireMint (fishyWET (CC-BY-SA 3.0 license for texture)
|
||||||
mobs:register_mob("mobs_mc:spider", {
|
mobs:register_mob("mobs_mc:spider", {
|
||||||
type = "animal",
|
type = "monster",
|
||||||
passive = false,
|
passive = false,
|
||||||
attack_type = "dogfight",
|
attack_type = "dogfight",
|
||||||
pathfinding = true,
|
pathfinding = true,
|
||||||
damage = 2,
|
damage = 2,
|
||||||
|
docile_by_day = true,
|
||||||
hp_min = 16,
|
hp_min = 16,
|
||||||
hp_max = 16,
|
hp_max = 16,
|
||||||
armor = 100,
|
armor = 100,
|
||||||
|
@ -39,7 +40,6 @@ mobs:register_mob("mobs_mc:spider", {
|
||||||
view_range = 15,
|
view_range = 15,
|
||||||
floats = 0,
|
floats = 0,
|
||||||
group_attack = true,
|
group_attack = true,
|
||||||
replace_rate = 5,
|
|
||||||
peaceful = false,
|
peaceful = false,
|
||||||
drops = {
|
drops = {
|
||||||
{name = "mcl_mobitems:string",
|
{name = "mcl_mobitems:string",
|
||||||
|
|
Loading…
Reference in New Issue