mojira.dev
MCPE-17967

Skeletons/strays are not afraid of wolves

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

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
    }
  ]
}

@Specialistol Yes, that's right. I've test it.

@Specialistol Yes, that's right. I've test it.

It looks like this used to work in 0.13.0... See MCPE-10226.

Kevin Mei

(Unassigned)

53153

Confirmed

Phone - Android - Samsung Other (Specify in description)

Android 4.4.4

ai, entity, skeleton, stray, wolf

0.16.0, 0.16.1, 0.17.0.1, 0.17.0.2, 1.0.0.2, 1.0.0

1.0.2

Retrieved