Wild wolfs show hearts when feed raw meat.
It's misleading if they are not meant to be breed able.
Or make them breed able, i don't see why not.
Use: Make more wild wolfs for different people to tame.
Same with Ocelots. Fixed some point in 1.14
Code Analysis
Code Analysis provided by @unknown
The reasoning this is happening is because in the CanMate boolean method there are two checks for if the wolf is tamed or not. If the wolf isn't tamed it will return false. One possible fix is to remove the checks if it can be tamed or not. The method would then look like this.
Fixed Code
net/minecraft/world/entity/animal/Wolf.java
public boolean canMate(Animal p_30392_) {
//Removing the checks for if its tamed is a possible fix for MC-93018
if (p_30392_ == this) {
return false;
} else if (!(p_30392_ instanceof Wolf)) {
return false;
} else {
Wolf wolf = (Wolf)p_30392_;
if (wolf.isInSittingPose()) {
return false;
} else {
return this.isInLove() && wolf.isInLove();
}
}
}
Related issues
is duplicated by
Attachments
Comments


This site is for bug reports only. For feature suggestions or changes please see: Minecraft Suggestions on Reddit.

But the hearts is a bug?

No.

So what are the hearts for? Sorry for sounding stupid but maybe i just don't know. 🙂

You're giving them meat, dogs love meat.

Pigs love wheat. They don't show hearts..
I think you would agree it's inconsistent and have no use on the wild wolfs. They don't even heal.

Pigs love carrots. And I think this is intended because meat increases the health
Confirmed for
15w49b The wild wolves "enter love mode" however do not breed as they are not tamed

If polar bears were given wheat 16w20a they produced hearts and did not breed and that was kinda fixed (I still can't multiply the fluffy balls of cuteness). I don't see why the same can't be done here. Can confirm for 1.10.2.

Can confirm for 1.11
Confirmed for 18w30b
Confirmed for 18w31a

It's happening with my villagers large scale on snapshot 19w11b
@unknown, see MC-145758

Can confirm for 20w09a

In 20w10a

Confirmed for 20w11a
Can confirm in 21w03a.
Can confirm in 21w05b.
Can confirm in 21w06a. Video attached.
Can confirm in 21w07a.
Can confirm in 1.16.5 and 21w08b.
Can confirm in 1.17.1.

I think ocelots should be updated so they cannot be fed when not sneaking and not trusted. (Same for wolves with meat when not tamed)
Can confirm in 1.18.1.
Can confirm in 1.18.2 and 22w11a.
Can confirm in 1.19.2.

Can Confirm 1.19.3 Release Preview 3