type /testfor @p[r=3] in a command block with always active and repeat on with a redstone comparator facing outwards then when you 3 blocks or less away from the block redstone activates
type /testfor @p[r=3] in a command block with always active and repeat on with a redstone comparator facing outwards then when you 3 blocks or less away from the block redstone activates
Note: Minify the command to avoid issues :)
Share on: |
Tweet |