

Videos used: https://www.youtube.com/shorts/NQVkdiUq8Fs and https://www.youtube.com/shorts/BY8aCEeK33U
It should be a mechanism based on giving them working hours.. But the issue is the gate opens when someone is on the plate instead of closing. Help?
by EternalGaming12
2 Comments
https://preview.redd.it/fpg3fv911tjh1.png?width=937&format=png&auto=webp&s=0b1d5888ea6f7dd7c71f0a403a737e6951d78ad9
I also made sure the solar panels weren’t obstruct from the building, just to be clear
First make sure there is one block of air between the pressure plate and the fence gate, so it does not get powered directly.
I dont know what you did wrong but here a quick explanation for what it is doing. The first contraption is just for daylight detection to toggle a redstone line off during working hours. So in the night it should be turned on and on the day it should be turned off.
It is basically just a toggle switch triggering once in the morning and once in the evening.
Now the second contraption from your top left picture does the following: If a villager steps on the pressure plate (enters the workstation) it powers the single redstone below -> the torch on the right turns off -> the redstone at the bottom right gets unpowered -> the torch in the mittle turns on -> now the block in the top middle gets powered which first turns off the torch on the top left (closing the fence gate) and second powers the redstone line on the top right. So now it gets stuck in that “closed fence” position until the bottom left daylight input line turns on again when the working hours end