Disable footstep sound of flying/swimming mobs

This commit is contained in:
Wuzzy 2020-12-05 14:48:58 +01:00
parent 312bae6a17
commit 8b09cccfd4
9 changed files with 9 additions and 1 deletions

View file

@ -45,6 +45,7 @@ mobs:register_mob("mobs_mc:bat", {
jump = false, jump = false,
fly = true, fly = true,
makes_footstep_sound = false,
}) })

View file

@ -68,6 +68,7 @@ mobs:register_mob("mobs_mc:blaze", {
jump = true, jump = true,
jump_height = 4, jump_height = 4,
fly = true, fly = true,
makes_footstep_sound = false,
fear_height = 0, fear_height = 0,
glow = 14, glow = 14,
}) })

View file

@ -34,6 +34,7 @@ mobs:register_mob("mobs_mc:enderdragon", {
jump = true, jump = true,
jump_height = 14, jump_height = 14,
fly = true, fly = true,
makes_footstep_sound = false,
dogshoot_switch = 1, dogshoot_switch = 1,
dogshoot_count_max =5, dogshoot_count_max =5,
dogshoot_count2_max = 5, dogshoot_count2_max = 5,

View file

@ -58,6 +58,7 @@ mobs:register_mob("mobs_mc:ghast", {
jump_height = 4, jump_height = 4,
floats=1, floats=1,
fly = true, fly = true,
makes_footstep_sound = false,
instant_death = true, instant_death = true,
}) })

View file

@ -76,6 +76,7 @@ mobs:register_mob("mobs_mc:guardian", {
max = 1,}, max = 1,},
}, },
fly = true, fly = true,
makes_footstep_sound = false,
fly_in = { mobs_mc.items.water_source, mobs_mc.items.river_water_source }, fly_in = { mobs_mc.items.water_source, mobs_mc.items.river_water_source },
jump = false, jump = false,
view_range = 16, view_range = 16,

View file

@ -83,6 +83,7 @@ mobs:register_mob("mobs_mc:guardian_elder", {
max = 1,}, max = 1,},
}, },
fly = true, fly = true,
makes_footstep_sound = false,
fly_in = { mobs_mc.items.water_source, mobs_mc.items.river_water_source }, fly_in = { mobs_mc.items.water_source, mobs_mc.items.river_water_source },
jump = false, jump = false,
view_range = 16, view_range = 16,

View file

@ -22,7 +22,6 @@ mobs:register_mob("mobs_mc:parrot", {
mesh = "mobs_mc_parrot.b3d", mesh = "mobs_mc_parrot.b3d",
textures = {{"mobs_mc_parrot_blue.png"},{"mobs_mc_parrot_green.png"},{"mobs_mc_parrot_grey.png"},{"mobs_mc_parrot_red_blue.png"},{"mobs_mc_parrot_yellow_blue.png"}}, textures = {{"mobs_mc_parrot_blue.png"},{"mobs_mc_parrot_green.png"},{"mobs_mc_parrot_grey.png"},{"mobs_mc_parrot_red_blue.png"},{"mobs_mc_parrot_yellow_blue.png"}},
visual_size = {x=3, y=3}, visual_size = {x=3, y=3},
makes_footstep_sound = true,
walk_velocity = 3, walk_velocity = 3,
run_velocity = 5, run_velocity = 5,
-- TODO: sounds -- TODO: sounds
@ -54,6 +53,7 @@ mobs:register_mob("mobs_mc:parrot", {
floats = 1, floats = 1,
physical = true, physical = true,
fly = true, fly = true,
makes_footstep_sound = false,
fear_height = 0, fear_height = 0,
view_range = 16, view_range = 16,
follow = mobs_mc.follow.parrot, follow = mobs_mc.follow.parrot,

View file

@ -86,6 +86,7 @@ mobs:register_mob("mobs_mc:vex", {
end end
end, end,
fly = true, fly = true,
makes_footstep_sound = false,
}) })

View file

@ -37,6 +37,7 @@ mobs:register_mob("mobs_mc:wither", {
jump = true, jump = true,
jump_height = 10, jump_height = 10,
fly = true, fly = true,
makes_footstep_sound = false,
dogshoot_switch = 1, dogshoot_switch = 1,
dogshoot_count_max =1, dogshoot_count_max =1,
attack_animals = true, attack_animals = true,