diff --git a/src/main/java/com/github/alexthe666/alexsmobs/event/ServerEvents.java b/src/main/java/com/github/alexthe666/alexsmobs/event/ServerEvents.java index a3043870a..6328e0a40 100644 --- a/src/main/java/com/github/alexthe666/alexsmobs/event/ServerEvents.java +++ b/src/main/java/com/github/alexthe666/alexsmobs/event/ServerEvents.java @@ -507,6 +507,7 @@ public void onEntityFinalizeSpawn(MobSpawnEvent.FinalizeSpawn event) { } } try { + if (AMConfig.spidersAttackFlies && entity instanceof final Spider spider) { spider.targetSelector.addGoal(4, new NearestAttackableTargetGoal<>(spider, EntityFly.class, 1, true, false, null)); diff --git a/src/main/resources/data/alexsmobs/tags/items/komodo_dragon_tameables.json b/src/main/resources/data/alexsmobs/tags/items/komodo_dragon_tameables.json index 5e8aecc98..d73d41ac6 100644 --- a/src/main/resources/data/alexsmobs/tags/items/komodo_dragon_tameables.json +++ b/src/main/resources/data/alexsmobs/tags/items/komodo_dragon_tameables.json @@ -1,4 +1,6 @@ { "replace": false, - "values": [] + "values": [ + "minecraft:rotten_flesh" + ] } \ No newline at end of file