forked from VoxeLibre/VoxeLibre
Merge pull request 'villager_anims_and_sounds' (#2279) from villager_anims_and_sounds into master
Reviewed-on: MineClone2/MineClone2#2279
This commit is contained in:
commit
5c561b951c
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1227,6 +1227,7 @@ mcl_mobs:register_mob("mobs_mc:villager", {
|
||||||
-- TODO: sounds
|
-- TODO: sounds
|
||||||
sounds = {
|
sounds = {
|
||||||
random = "mobs_mc_villager",
|
random = "mobs_mc_villager",
|
||||||
|
damage = "mobs_mc_villager_hurt",
|
||||||
distance = 10,
|
distance = 10,
|
||||||
},
|
},
|
||||||
animation = {
|
animation = {
|
||||||
|
@ -1239,10 +1240,12 @@ mcl_mobs:register_mob("mobs_mc:villager", {
|
||||||
run_speed = 25,
|
run_speed = 25,
|
||||||
run_start = 0,
|
run_start = 0,
|
||||||
run_end = 40,
|
run_end = 40,
|
||||||
die_speed = 15,
|
head_shake_start = 210,
|
||||||
die_start = 210,
|
head_shake_end = 220,
|
||||||
die_end = 220,
|
head_shake_loop = false,
|
||||||
die_loop = false,
|
head_nod_start = 210,
|
||||||
|
head_nod_end = 220,
|
||||||
|
head_nod_loop = false,
|
||||||
},
|
},
|
||||||
follow = pick_up,
|
follow = pick_up,
|
||||||
nofollow = true,
|
nofollow = true,
|
||||||
|
|
Loading…
Reference in New Issue