From 0497f940d6bb0cca693c97a59231164e30610472 Mon Sep 17 00:00:00 2001 From: kno10 Date: Wed, 2 Oct 2024 21:12:44 +0200 Subject: [PATCH] Fix axolotl attacking water mobs Also avoid jumping out of the water closes #4644 Signed-off-by: kno10 --- mods/ENTITIES/mobs_mc/axolotl.lua | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/mods/ENTITIES/mobs_mc/axolotl.lua b/mods/ENTITIES/mobs_mc/axolotl.lua index a30f8ffe1..5f5a90764 100644 --- a/mods/ENTITIES/mobs_mc/axolotl.lua +++ b/mods/ENTITIES/mobs_mc/axolotl.lua @@ -72,18 +72,24 @@ local axolotl = { fly = true, fly_in = { "mcl_core:water_source", "mclx_core:river_water_source" }, breathes_in_water = true, - jump = true, + jump = false, -- would get them out of the water too often damage = 2, reach = 2, attack_type = "dogfight", attack_animals = true, specific_attack = { - "extra_mobs_cod", - "extra_mobs_glow_squid", - "extra_mobs_salmon", - "extra_mobs_tropical_fish", - "mobs_mc_squid" - }, + "mobs_mc:cod", + "mobs_mc:glow_squid", + "mobs_mc:salmon", + "mobs_mc:tropical_fish", + "mobs_mc:squid", + "mobs_mc:zombie", -- todo: only drowned? + "mobs_mc:baby_zombie", + "mobs_mc:husk", + "mobs_mc:baby_husk", + "mobs_mc:guardian_elder", + "mobs_mc:guardian", + }, runaway = true, }