Is there any way to use multiply() method on count of blocks? Sample code: PHP: //$p instanceof Player$nbt = ExamplePlugin::getNBT($p);$level = $p->getLevel();$bullet = Entity::createEntity("Snowball", $level, $nbt, $p);$fdefault = 0.5;$bullet->setMotion($bullet->getMotion()->multiply($fdefault));$bullet->spawnToAll();$p->getLevel()->addSound(new BlazeShootSound(new Vector3($p->x, $p->y, $p->z)));$p->getLevel()->addParticle(new FlameParticle(new Vector3($p->x + 0.4, $p->y, $p->z))); So $fdefault should be count of blocks
Are you looking for the Vector3::normalize() method? It scales the vector to one block long, so multiplying it after normalizing will result in a vector of your desired length.