From 3087413ab4dbbf2e0644b963d1509d0762b1c5b1 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 23 Feb 2017 20:29:43 +0100 Subject: [PATCH] Make spiders hostile at night but peaceful at day --- mods/ENTITIES/mobs_mc/spider.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/ENTITIES/mobs_mc/spider.lua b/mods/ENTITIES/mobs_mc/spider.lua index 4a3710e9ec..751d12262c 100644 --- a/mods/ENTITIES/mobs_mc/spider.lua +++ b/mods/ENTITIES/mobs_mc/spider.lua @@ -8,11 +8,12 @@ -- Spider by AspireMint (fishyWET (CC-BY-SA 3.0 license for texture) mobs:register_mob("mobs_mc:spider", { - type = "animal", + type = "monster", passive = false, attack_type = "dogfight", pathfinding = true, damage = 2, + docile_by_day = true, hp_min = 16, hp_max = 16, armor = 100, @@ -39,7 +40,6 @@ mobs:register_mob("mobs_mc:spider", { view_range = 15, floats = 0, group_attack = true, - replace_rate = 5, peaceful = false, drops = { {name = "mcl_mobitems:string",