Solved Dropping blocks on map

Discussion in 'Plugin Development' started by mikygit, Mar 21, 2018.

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

    mikygit

    Hello,
    I'm implemeting an MC plugin that simply aims to drop new blocks on a map (from the sky, juste like the rain)

    I'm almost there but It looks like some blocks are not rendered I thus I wonder if somebody could check if the code looks good:

    Material material = Material.FIRE;
    Block block = world.getBlockAt(blockX, 200, blockZ);
    block.setType(material);
    Also, is there a way delete all blocks that were dropped on the map using previous code?
    Or a way to draw/drop blocks that would ne user session specific and not stored on server?

    Thanx.
     
  2. Online

    timtower Administrator Administrator Moderator

  3. Offline

    mikygit

    Thanx.

    Is there a way somehow to tag a map (metadata?) so that the next time it is loaded, we know it has been loaded already?
     
Thread Status:
Not open for further replies.

Share This Page