Thanks for the reply ScotsMiser
Yes I'm in Java and I've built something very similar to this:
https://youtu.be/hR52Jx2hHeYSo I have one villager in a tiny room with a bed and a compost bin (a farmer) which sets the centre of the village. This is working as expected because the Pillagers all gravitate to the centre of the farm nicely. On top of the tiny room are some hoppers (where the Pillagers land and get sliced) and several blocks away from the bit where I stand to do the slicing are a load of other villagers with stone cutters who are supposed to drop all the clay. Neither the stone masons nor the farmer (who is clearly part of the village being raided) are dropping anything however they
are offering reduced trades.
I must have given myself the hero of the village effect a hundred times experimenting!
I have tried:
Placing more beds near the stone masons in case as you say there was ambiguity with the village boundary.
Standing in the middle of the stone masons before activating the effect
Standing in the tiny room with the farmer
Killing them all in temper and spawning new villagers back in their place
NOTHING!
In theory it should be working fine (and it did before the update). The wiki states "Upon creation, a village center is defined as a bed claimed by the first villager, or the gathering site block (a
bell), and the village's size is the greater of 32 blocks or the distance to the furthest bed from the center."
It's actually driving me bonkers and I have had to leave it alone for a few days but if I do figure anything out I'll post back here.