forked from VoxeLibre/VoxeLibre
Group attack configured so that sword piglins and piglins will also respond to aggression on other piglins.
This commit is contained in:
parent
92a8f23d22
commit
53637bbc19
|
@ -42,6 +42,7 @@ local piglin = {
|
||||||
type = "monster",
|
type = "monster",
|
||||||
passive = false,
|
passive = false,
|
||||||
spawn_class = "hostile",
|
spawn_class = "hostile",
|
||||||
|
group_attack = {"mobs_mc:piglin", "mobs_mc:sword_piglin", "mobs_mc:piglin_brute"},
|
||||||
hp_min = 16,
|
hp_min = 16,
|
||||||
hp_max = 16,
|
hp_max = 16,
|
||||||
xp_min = 9,
|
xp_min = 9,
|
||||||
|
@ -368,7 +369,6 @@ piglin_brute.animation = {
|
||||||
punch_end = 198,
|
punch_end = 198,
|
||||||
}
|
}
|
||||||
piglin_brute.can_despawn = false
|
piglin_brute.can_despawn = false
|
||||||
piglin_brute.group_attack = { "mobs_mc:piglin", "mobs_mc:piglin_brute" }
|
|
||||||
|
|
||||||
mcl_mobs.register_mob("mobs_mc:piglin_brute", piglin_brute)
|
mcl_mobs.register_mob("mobs_mc:piglin_brute", piglin_brute)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue