I tried to put a wolf to let the skeletons run away, so that I can separate them from other monsters.
However, when I surround a wolf with glasses, the skeletons pay no attention to the wolf as they are on PCs. Could you please check it out?
BTW it takes a loooooooong time to let the wolves attack the skeletons.
Device:Samsung SM-A7009
The skeleton/stray behavior JSON files should contain a component similar to this:
"minecraft:behavior.avoid_mob_type": {
"priority": 3,
"entity_types": [
{
"filters": { "other_with_families": "wolf" },
"max_dist": 6,
"walk_speed_multiplier": 1,
"sprint_speed_multiplier": 1.2
}
]
}
Linked issues
is duplicated by 2
Attachments
Comments 8

It isn't the glass. I've tried it out without the glass as well, Skeletons ignore wolves until the wolves attack them. (Creative-Windows 10 Edition on PC)
It isn't the glass. I've tried it out without the glass as well, Skeletons ignore wolves until the wolves attack them. (Creative-Windows 10 Edition on PC)
Ah this is because the vanilla behavior does not define "minecraft:behavior.avoid_mob_type" for skeletons like
"minecraft:behavior.avoid_mob_type": {
"priority": 3,
"entity_types": [
{
"filters": { "other_with_families": "wolf" },
"max_dist": 6,
"walk_speed_multiplier": 1,
"sprint_speed_multiplier": 1.2
}
]
}
Ah this is because the vanilla behavior does not define "minecraft:behavior.avoid_mob_type" for skeletons like
"minecraft:behavior.avoid_mob_type": {
"priority": 3,
"entity_types": [
{
"filters": { "other_with_families": "wolf" },
"max_dist": 6,
"walk_speed_multiplier": 1,
"sprint_speed_multiplier": 1.2
}
]
}
It looks like this used to work in 0.13.0... See MCPE-10226.