This package aims to create a velocity on players without the use of Player.setVelocity method for @minecraft/server module version '1.0.0-beta'.
This is one of the methods to get around the Player.setVelocity that it will now throw an exception when called on player types in module version '1.0.0-beta' of '@minecraft/server' module.
This function is experimental, please improve the script by submit a pull request.
index.js/index.ts- Original source fileplayer-velocity-fix.js- All in one JavaScript file, no need to import external modules from this repository. However external modules may be out of date.