Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

DestroyBlockParticle

Comments in 'Plugin Development' started by DevWars, Nov 26, 2015.

  1. DevWars
    Offline

    DevWars Banned

    Joined:
    Nov 7, 2015
    Posts:
    28
    Minecraft User:
    PmServer
    Hello Gusy !
    How to add DestroyBlockParticle < Diamond ?
    Example :
    PHP:
     public function Player(PlayerJoinEvent $event) {
         
    $player $event->getPlayer()->getLevel();
         
    # How To add DestroyBlockParticle Diamond ?
         
    $player->addParticle($particle);
    }
  2. Hotshot_9930
    Offline

    Hotshot_9930 Notable Member Plugin Developer

    Joined:
    May 26, 2014
    Posts:
    665
    Plugins:
    2
    Minecraft User:
    HotshotHD
    PHP:
    $level->addParticle(new DestroyBlockParticle(new Vector3($player->x$player->y$player->z), Block::get(57)));

Share This Page

Advertisement