Open Parties and Claims

Open Parties and Claims

30M Downloads

Villagers unable to farm crops even outside claims (Forge 1.20.1, OPaC 0.25.3)

Closed this issue · 3 comments

commented

Villagers (specifically farmers) are not farming crops in my world, even when placed outside of any claim. This occurs with OPaC installed on Forge 1.20.1 (mod version open-parties-and-claims-forge-1.20.1-0.25.3.jar).

Steps to Reproduce:

Install Forge 1.20.1 and OPaC 0.25.3.

Create a new world.

Place a composter, farmland with wheat, and a bed.

Summon or spawn a farmer villager:

/summon villager ~ ~ ~ {VillagerData:{profession:farmer,level:1,type:plains}}

Ensure /gamerule mobGriefing true.

Observe: villager does not harvest or plant crops, even with empty inventory.

Expected Behavior:
The farmer should break mature crops and replant, as in vanilla.

Actual Behavior:
Villager stands idle indefinitely.

This happens inside and outside of claims.

Inventory clearing (/data remove entity … Inventory) does not resolve it.

Farmer has a valid workstation (composter) and bed.

Configs Tried:

forcedBlockProtectionExceptionList = ["minecraft:farmland","minecraft:wheat","minecraft:carrots","minecraft:potatoes","minecraft:beetroots"]
entitiesAllowedToGrief = ["minecraft:villager", ...]

Even with these values, no change.

Environment:

Minecraft: 1.20.1 (Forge)

OPaC: 0.25.3 (Forge release)

Other Mods: Create, BetterNether, BetterEnd (no villager AI mods)

Developer Note / Comment:

Thank you for your hard work on Open Parties and Claims! I’ve tested this thoroughly: villagers with proper workstations, beds, empty inventories, and crops still fail to farm even outside claims on Forge 1.20.1 with OPaC 0.25.3. I hope this helps identify a potential bug or unintended behavior with entity block interaction. Please let me know if you need additional logs or config files — happy to provide them.

commented

There is a bug in vanilla Minecraft where villagers summoned with a command don't farm. This confused me as well for a very long time. Pretty sure it's still not fixed even on 1.21.8.

commented

Figured out another mod was causing issues. This is not an OPAC issue

commented

What other mod? It's a vanilla Minecraft bug. Or does the vanilla bug not happen with {VillagerData:{profession:farmer,level:1,type:plains}}?