llama attacks wolf with spit (but only within a radius of 5 nodes)

This commit is contained in:
nixnoxus 2024-03-03 11:42:01 +01:00
parent 7b39170839
commit f903fe428a
1 changed files with 4 additions and 0 deletions

View File

@ -112,6 +112,10 @@ mcl_mobs.register_mob("mobs_mc:llama", {
},
follow = { "mcl_farming:wheat_item", "mcl_farming:hay_block" },
view_range = 16,
attack_animals = true,
damage = 1,
shoot_reach = 5,
specific_attack = { "mobs_mc:wolf" },
do_custom = function(self, dtime)
-- set needed values if not already present