mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-26 11:17:30 +01:00
Cows and villagers can go into attack state and become non-functional
This commit is contained in:
parent
ccf7b54481
commit
b9d58c2f79
@ -6,6 +6,7 @@ local cow_def = {
|
|||||||
description = S("Cow"),
|
description = S("Cow"),
|
||||||
type = "animal",
|
type = "animal",
|
||||||
spawn_class = "passive",
|
spawn_class = "passive",
|
||||||
|
passive = true,
|
||||||
hp_min = 10,
|
hp_min = 10,
|
||||||
hp_max = 10,
|
hp_max = 10,
|
||||||
xp_min = 1,
|
xp_min = 1,
|
||||||
|
@ -1576,6 +1576,7 @@ mcl_mobs:register_mob("mobs_mc:villager", {
|
|||||||
description = S("Villager"),
|
description = S("Villager"),
|
||||||
type = "npc",
|
type = "npc",
|
||||||
spawn_class = "passive",
|
spawn_class = "passive",
|
||||||
|
passive = true,
|
||||||
hp_min = 20,
|
hp_min = 20,
|
||||||
hp_max = 20,
|
hp_max = 20,
|
||||||
head_swivel = "head.control",
|
head_swivel = "head.control",
|
||||||
|
Loading…
Reference in New Issue
Block a user