Watching for a specific structure to be built

Discussion in 'Plugin Development' started by ninzhan, Jan 7, 2020.

  1. Offline

    ninzhan

    Much like a nether portal, is it possible to watch for a specific structure to be built on the server side? How might one go about this if it is possible?
     
  2. Offline

    CraftCreeper6

    @ninzhan
    You can check for block place event, if you make it so that a certain block type must be placed last then it will significantly reduce load on the server.

    I imagine you're talking about multiblock structures.

    If a block is placed, check that block is part of the multiblock, if it is, check all blocks next to it to see that it matches the multiblock required. If they all match, it's the multiblock you're looking for.
     
  3. Offline

    ninzhan

    Yeah that makes sense.
     

Share This Page