How to Control Doors and Redstone Using Villager and Player Pressure Plates
In a busy village, standard vanilla pressure plates can cause problems because both players and villagers trigger them, allowing traders to wander through doors meant only for you. This mod includes specialized pressure plates that filter who can activate a redstone signal.
Setting Up Player-Only Entrances
If you prefer using physical doors on your buildings instead of open invisible barriers, you can stop villagers from opening them:
1. Place a door in the frame of your trading hall or base.
2. Place the player-only specialized pressure plate on the floor directly in front of the door.
3. Walk over the plate to open the door automatically.
When a villager walks over this pressure plate, nothing will happen, keeping the door shut and preventing them from escaping or letting hostile mobs inside.
Triggering Redstone Only for Villagers
You can also build contraptions that respond strictly to villager movement while ignoring players:
1. Place the villager-only pressure plate along a pathway, inside a holding pen, or inside a trading stall.
2. Connect the block beneath or beside the plate to your redstone components, such as lamps, pistons, or note blocks.
As you walk across the floor to manage your hall, the plates will stay inactive. As soon as a villager steps onto the plate, the redstone signal will fire.