mojira.dev
MC-55218

Villagers not harvesting crops when gamerule mobGriefing is "false"

Put the summary of the bug you're having here

What I expected to happen was...:
Farmers villagers will start to harvest mature crops on their own & then share food with other villages to start the breeding process if there are enough doors & tilled plots with mature crops. This worked fine in the other snapshots but appeared to not work in both 14w19a & this snapshot 14w20a.

What actually happened was...:
The villagers are not harvesting the crops at all so they also won't share food to start breeding. I did a lot of testing in the other snapshots & they all worked just fine until both this snapshot & the one before this one, 14w19a & 14w20a.

Steps to Reproduce:
1. Either build or add on to a village so there are enough doors & tilled soil to start the harvesting process along with at least one brown robed villager. I also lit up the village so I didn't have to worry about mobs killing the villagers during my testing.
2. Wait a bit & you will see once the crops are mature the villagers will not start harvesting any of the different crops.
3. ...No breeding will happen since the villagers are not sharing the food with each other even though there are plenty of doors & tilled mature crops. If you trade with a villager they will have one child but still will not harvest any crops.

Linked issues

MC-67653 Gamerule mobGriefing set "false" prevents villager farming Resolved MC-74689 Farmers don't farm if gamerule doMobgriefing is false Resolved MC-75278 Villager don't pick up de seeds on a server Resolved MC-77857 Villagers in Multiplayer Resolved MC-136783 Villagers and Mob Griefing Resolved

Comments 9

I have the opposite problem...Librarians, clerics, etc ALL npc harvest the crops, and not only farmers.

Kaspar Karloff

Did you change the mobGriefing rule to false?

I'm asking because I noticed that they don't harvest when the mobGriefing rule is set to false (which seem logical as the villagers are "griefing" the crops to be able to harvest them).

I apologize if your problem is unrelated...

Jennifer Larson

I always change the mobGiefing to false because I don't like the creepers blowing up things, lol. In the past snapshots I am sure I did too (it is the first thing I do when I start a new world) but the villagers were harvesting just fine. I will change the mobGriefing setting now & see if the villagers start harvesting.
I don't know anything about programing, just playing, but I would hope that it can be changed so the villagers will harvest with the "griefing" on false so the creepers don't blow up my builds. If it is a change & it can't be fixed then I will have to get used to the creepers & just be more careful.

Kaspar Karloff

Pretty sure that i noticed this behavior since at least 14w11b.

I too would prefer to keep mobGriefing on false and still have the villagers harvest.

Jennifer Larson

IMO this should be a bug & I hope it can be fixed. When I changed to mobGriefing true they started harvesting in both villages & the one village had a baby villager within 2 minutes. I do hope though that we can have the griefing set to false but still be able to have the villagers harvest especially since it used to work fine. At least I know what the problem was so thank you for the help๐Ÿ™‚

Kaspar Karloff

No problem, glad I helped.

This is intended. Mobs cannot break blocks when it's false.

I know this is a feature suggestion, just pointing out an idea if someone wants to make a fully fleshed out suggestion on reddit or the minecraft forums... There should be some kind of mobBigGriefing and mobSmallGriefing gamerules. Big for creepers, endermen, etc. and small for villagers farming or other almost-harmless things.

Jennifer Larson

(Unassigned)

Unconfirmed

Minecraft 14w20a

Retrieved