1

So i'm trying to make a mini-game on my friends server. I am making it in "space" on a space station. I'm trying to design it so whenever a hole is made in the space station all players will get sucked out and die. I don't think this is possible but if it is can you try to find an answer in 1.7.10, if not just give me an answer for 1.8.

6
  • Teleport to the void? Mar 9, 2016 at 17:49
  • 1
    Have you made any attempt to solve this yourself? Arqade works better when askers show effort to solve their own problems; we see that you have a problem you've worked on, and answerers respond to that. You also get a more specific answer that's tailored exactly to the part you're stuck, and Arqade gets a very specific question. Everybody wins!
    – Frank
    Mar 9, 2016 at 18:06
  • Sorry. Ya your're right.
    – gamer103
    Mar 10, 2016 at 1:37
  • @gamer103 If you've figured it out, you could answer the question yourself so that others will know how to do this.
    – rivermont
    Mar 10, 2016 at 2:35
  • Oh wait. Actually i need an answer again becuase when i wrote i figured it out i had but i didn't have time to test it and when i did test it it didn't give me the answer i wanted.
    – gamer103
    Mar 11, 2016 at 16:07

1 Answer 1

1

Based on one of your comments, saying that you'll teleport them to the void, you could use the command testforblocks which compares 2 3-dimensional areas and tests if they're the same. If your machine notices that the blocks are not identical, it will teleport them. Testing for if there's a hole may be a bit more tedious, and you'll need multiple testforblock commands testing for each wall.

2
  • Do this work in 1.7.10?
    – gamer103
    Apr 6, 2016 at 18:53
  • I believe it doesn't, though I'm not sure. Testforblocks may have been added in 1.8
    – bubster20
    Apr 8, 2016 at 3:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .