fix skeletons and wolves behavior

This commit is contained in:
nixnoxus 2024-02-25 19:00:51 +01:00
parent 7bfbaac772
commit 0d6db95a9e
3 changed files with 11 additions and 1 deletions

View File

@ -46,6 +46,7 @@ local skeleton = {
},
walk_velocity = 1.2,
run_velocity = 2.0,
runaway_from = {"mobs_mc:wolf"},
damage = 2,
reach = 2,
drops = {

View File

@ -44,6 +44,7 @@ mcl_mobs.register_mob("mobs_mc:witherskeleton", {
},
walk_velocity = 1.2,
run_velocity = 2.0,
runaway_from = {"mobs_mc:wolf"},
damage = 7,
reach = 2,
drops = {

View File

@ -97,7 +97,15 @@ local wolf = {
jump = true,
attacks_monsters = true,
attack_animals = true,
specific_attack = { "player", "mobs_mc:sheep" },
specific_attack = {
"player",
"mobs_mc:sheep",
"mobs_mc:rabbit",
-- TODO: "mobs_mc:fox",
"mobs_mc:skeleton",
"mobs_mc:stray",
"mobs_mc:witherskeleton",
},
}
mcl_mobs.register_mob("mobs_mc:wolf", wolf)