mojira.dev
MCPE-38533

Cats sometimes do not scare away creepers

Original summary
Tamed Ocelots are not scaring away creepers.

Observations:

Minecraft Java Edition: Ocelots and cats scare away creepers

Minecraft (bedrock): Ocelots scare creepers, but not cats

I am having a problem on a realm world where cats (tamed ocelots) do NOT appear to be scaring off approaching creepers. We keep having them show up and explode even where there are tamed ocelots sitting a few blocks away from the explosion point. Is there a known problem with ocelots supposedly not scaring creepers away? Also we have our areas lit up pretty good, but we still get a lot of creeper spawning as we live near a mega taiga. They appear to spawn in the woods and wander out from the trees, but with as many cats as we have placed, one would think they should be turning tail and running from them.

Hope this is resolved soon as we are becoming tired of fixing creeper attacks and holes that our guard cats are supposed to be preventing.

Realm ID = ClandorBowman

Linked issues

Attachments

Comments

migrated

I would much prefer that cats work as they used to with creepers than have them scare phantoms. I didn't realize that it was an either/or preposition. Once cats were available in villages I put them all around my base, but they don't do anything for creepers. 

migrated

Also happens on Android 9, and Windows 10 game version 1.11.1 with tamed cats from villages.

migrated

This has been completely about villager cats for me. I had seen creepers walk right past sitting cats. I was told that it did work so I did some testing in creative. There are 2 problems: creeper detection range of cats is too short; creepers who have seen a cat will push through other cats to get away from the one they have seen. 

Cats work as intended for phantoms but creepers rarely see them. I am much more bothered by creepers, as phantoms have never damaged my builds. 

Desert Prince

On a new current realm, I have four tamed bred villager cats relatively close to my base entrance. I have had multiple creepers drop down from the mountainside at different times and just stand there by the door waiting for someone to come out so they can BOOM. Literally 1 block away from 1 cat and maybe 4 blocks away from two others. Definitely a problem in 1.12 bedrock on LG Q6 android 8.1.

[Mojang] Mega_Spud (Jay)

Tested this in 1.12.0 and Java 1.14.4 - on both versions Creepers run away from ocelots and cats (tamed and untamed) but there is a chance that the creeper may begin its aggro/explosion while within range from the player, even in the presence of a cat/ocelot.

Desert Prince

Perhaps that devs should be asked if it is WAI that a creeper should even be able to begin its aggro/explosion process while within the presence of a cat/ocelot. I have had the front of my base blown up now 5 times and there is always a cat within a few blocks of where the creeper explodes. There is no way the creeper cannot be seeing these cats. Jay can you confirm behavior if the creeper is standing on slabs or stairs, will it run away from cat/ocelot? And does the creeper need to be at exactly eye level with the sitting cat/ocelot?

migrated

In 1.14.4 Creeper really do ignore the cats quite a lot: https://streamable.com/letxt
You can see them sprinting to safety eventually but they even seem to stop mid sprint.

AlexanderJ.

This is really very annoying. Since only creeper farms also don't work, I tried a mob sorter. The creepers were not impressed by the cats. The mob sortierer is therefore unusable bar
Some tests have shown that creeper nur Be afraid if the cat was directly on its target path.

Please fix.

Auldrick

Creepers only become afraid of cats when they are 4 blocks away or less. Some of the comments above seem to expect creepers would run from a cat any time they see one, but that isn't how it works.

I spawned a cat and 4 creepers in an 8 x 8 enclosure. I have seen a few examples of what's being described, but only rarely.

  • The creepers tended to cluster in a corner away from the cat. At one point, two or three of them happened to path toward the cat, which was in an adjacent corner, at the same time, which was normal because they were far enough from it not to be scared. In the process, they pushed another creeper within range of the cat. It tried to run, but the creepers still moving toward the cat overpowered it and it was stuck.

  • Once, the cat moved into the center of a wall next to the corner the creepers were in. Three of the creepers scattered, but one walked directly over the cat to get to the opposite corner, and didn't become afraid until it got there.

I'm not sure whether this confirms the reported bug. The first example looks like normal pathfinding to me. The second one is hard to explain as anything other than a bug, but it seems like too low-probability an occurrence to have generated the number of incidents being reported.

migrated

I seem to be having a similar problem. I was testing the range of creeper scaring in a creative v1.14.30 on the windows 10 edition and i ran into the problem that the cats, who were just in a sitting position, didn't scare creepers except in one direction. in every other direction, creepers that were spawned even 1 block away from the cat didn't move at all, even after watching them a bit from a distance

Video: https://youtu.be/YMUedMrHSKM

GoldenHelmet

Aftering view Fabio Vargas's video in the preceding comment, I decided to test this. On my Win 10 PC running 1.14.30, a sitting cat scares creepers in every direction. Note that all of the creepers in this video were spawned on 1 of the 8 blocks surrounding the cat:

[media]

Update: Then again, in a survival context, it's just inconsistent:

[media][media]
GoldenHelmet

I believe the problem here–and the inconsistency between survival and creative–is in how the .json organizes the creeper's AI and defines it's avoiding behavior. The highest priority is given to targeting players and mobs that hit them. Those behaviors take precedence over avoiding cats and ocelots. Moreover, creepers' max_dist for targeting is 16 blocks, but their max_dist for  avoiding cats and ocelots is only 6 blocks. This design makes tamed cats following you unreliable for protection from creepers. Here is a demonstration:

[media]

The situation with cats and creepers is analogous to the situation with wolves and skeletons, which is raised in MCPE-62439. Creepers have the same max_dist for avoiding cats (6) as skeletons do for avoiding wolves, as well as the same tertiary priority. By contrast, wild wolves have max_dist of 24 for avoiding llamas, and phantoms have a max_dist of 16 for avoiding cats/ocelots. And avoiding is the highest-priority behavior for both wild wolves and phantoms.

[Mojang] Mega_Spud (Jay)

Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response

Is this still an issue in the latest version?

If it is, please be sure to include steps to reproduce the problem:

Steps to Reproduce:
1.
2.
3.

Observed Results:
(Briefly describe what happens)

Expected Results:
(Briefly describe what should happen)

If your ticket does not look like the example given here, then it's likely to be closed as incomplete.

This ticket will automatically reopen when you reply.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

[Mojang] Mega_Spud (Jay)

Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.

For any account or purchasing related issues, please contact Minecraft Customer Support directly, as we cannot assist with those here at the bug tracker.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

GoldenHelmet

Reopening as I can still reproduce this using the setup shown in the video in my previous comment.

migrated

Affects 1.17.40.20

migrated

at his point are creepers even effected by cats or occelot any more
on drop test, it seemed like the creepers didnt even register the cats or ocelot
some even jumped right in to a pen with a tamed cat and just stared at it.
cats and ocelot did nothing.
side note, Skelitons & Dogs,
not as bad as creeper vs cts, but many still unaffected by even multiple dogs
may be relatedBedrock 18.12 on PC and realms

Desert Prince

(Unassigned)

368028

Community Consensus

Multiple

Android - Nougat (LG Q6)

.json-error, cat, creeper, ocelot

1.18.0.21 Beta, 1.16.0.66 Beta, 1.7.0, 1.11.1, 1.12.0, ..., 1.16.201 Hotfix, 1.16.221 Hotfix, 1.19.10, 1.21.0, 1.21.51 Hotfix

Retrieved