A villager doesn't enter a base with a barrel under the door
Or
Villagers don't walk on barrels
Steps to reproduce
1. Build a basic base with a door and a bed.
2. Replace the block under the door with a barrel.
3. Set time to night and whether to rain.
4. Spawn a villager near the door
Observed Results
Villager just wanders around and doesn't go in the base.
Expected Results
The villager go's in the base to sleep
Related issues
Attachments
Comments


The probably applies to all profession blocks. It seems the preferred_path behavior prefers walking into a solid wall and never reaching its target over the extra pathing "cost" of blocks with cost.