Spawn falling block

Discussion in 'Plugin Development' started by Namedata0, Sep 13, 2020.

  1. Offline

    Namedata0

    Heya! So, lets get right to the problem.

    How do I spawn a falling block in version 1.16.2 without it disappearing instantly? I tried world.spawnFallingBlock, world.spawn(location,FallingBlock.class) and many more, but nothing seems to work. Can anyone help me here?
     
  2. Offline

    Kars

    PHP:
    Byte blockData 0x0;
    location.getWorld().spawnFallingBlock(locationMaterial.BedrockblockData);
     

Share This Page