I am building an automated castle gatehouse in minecraft featuring a corridor between two openable/closable doors where arrows will shoot anyone in the corridor; that can also be disarmed.
here is a diagram of the coridor with no autimation where d is door and - is wall:
------- d d d d -------
My first version had dispenser machine guns along the corridor that could be fired with a switch - but the vast number of arrows they threw out slowed down my computer too much.
here is a diagram of the coridor with no autimation where d is door - is wall and a is arrow dispenser:
-a-a-a- d d d d --a-a--
My second version used pressure pads along the coridor so that when one is stood on, the dispenser facing it will fire. I didn't get any kind of rapid fire working on the dispensers which i would have liked, but more significantly these traps couldn't be disarmed - essentially making the coridor useless for entering and exiting the castle.
here is a diagram of the coridor with no autimation where d is door, - is wall, p is pressure plate, and a is arrow dispenser:
--aaa-- d ppp d d ppp d --aaa--
I would like to build something that when switched on, will shoot at any mob in the coridoor, and when switched off will alow the coridor to be safely used.