public __construct ( |
||
$entity | ||
$force | float | |
$dropItem | boolean |
public function __construct(Entity $entity, $force, bool $dropItem)
{
$this->entity = $entity;
$this->force = $force;
$this->blockBreaking = true;
$this->dropItem = $dropItem;
}