how to test relative square area
//ads -- adsterra.com -- native banner
?>
I'm making a minesweeper minigame, and I'm using NoAI chickens to represent mines, and armorstands to represent everything else. I want to increase the armorstands' scoreboard value by one for each adjacent chicken (diagonally or cardinally). I've figured out that it would be easiest to use an execute command from the chickens, but the problem is that @e[type=ArmorStand,r=1]
doesn't get the diagonals, and @e[type=ArmorStand,r=2]
gets armorstands two spaces away. Any ideas?
Pictures about "how to test relative square area"
Chi Square Test
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Pixabay, Mikhail Nilov, Olga Lioncat, Joe Ambrogio