mojira.dev
MC-223080

Screaming Goats cannot be bred

A streamer I moderate for spent an entire 3 hour stream attempting to get a screaming goat by breeding them and never got one. I then opened a creative world, summoned a bunch of non-screaming goats and began breeding them for 40 minutes. I then waited for them all to grow up. I then used a kill command to kill only the goats in the world. 213 goats died and not a one was a screaming goat....

 

Comments 5

First screaming goats aren't a unique mob from goats second to get a screaming goat baby you need to breed two screaming goats or a goat and a screaming goat

I have been breeding a screaming goat and a regular goat for hours now (at least 30+ offspring) and NONE of them have been screaming goats. They are all regular goats. This is in version 1.19 on a Java realm world.

The code appears clear that there is a 2% chance of getting a screaming goat even if both goats are standard goats. I can't say why it wouldn't have happened in 3 hours, though...

Specifically, it says (via decompilation using standard Mojang mappings):

goat.setScreamingGoat(bl || serverLevel.getRandom().nextDouble() < 0.02);

Where the first boolean (bl) is if the input goat is a screamer. So, if not a screamer, it should still have a chance to happen.

But I have heard others say that they have also never been able to make it happen as well.

I just put down literally 4 spawn eggs and I got one screamer :-O The spawn egg path is slightly different, but it does have the same sort of code:

this.setScreamingGoat(randomSource.nextDouble() < 0.02);

OK. After getting rid of the screaming goat I spawned above, I spent the rest of the time breeding goats and I got a screamer from two normal goats. I only had about 30-40 goats at the time. It all depends on the RNG.

Toby Schroeder

(Unassigned)

Unconfirmed

(Unassigned)

21w14a

Retrieved