How would I make a door "stun" a player



  • I am playing Minecraft Education Edition, and I want to know if it is possible for the door to stun a player. For example if there are 5 players I want 1 of them to be able to be stunned by the door. What I want to happen is when 1 of the 4 players closes a door and if the other 1 player is close enough they will be stunned. Summary, there are 5 players and only 4 of them can close doors. If 1 of the four players closes a door while the 1 player is close enough, how would I stun that player?



  • I suggest using a repeater to dectectif the door is closed and have the repeater power a command block with the command /effect (insert name of person you want to stun) blindness (duration of effect) 1 true




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2