Solved Looking for a way to find a specific block in an area

Discussion in 'Plugin Development' started by NiekZndt, May 5, 2020.

Thread Status:
Not open for further replies.
  1. Offline

    NiekZndt

    I'm trying to make a plugin that can spawn mobs above specific block with a command. The problem is that I dont really know where to start... I am basicly looking for a function or way to cycle through all of the blocks in an area and return something when it finds 1 or more of the block type.

    Sorry if I post this wrong I'm really new to this :D
     
  2. Offline

    KarimAKL

    @NiekZndt
    1. Create a new command.
    2. Loop the area after executing the command.
    3. Spawn the mobs above the looped blocks.
     
  3. Offline

    NiekZndt

    Thank you I got it figured out!
     
    KarimAKL likes this.
Thread Status:
Not open for further replies.

Share This Page