node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org ยป

voxel-health-fall

voxel-health-fall

Adds player fall damage (voxel.js plugin)

Requires voxel-health, and a voxel-engine with voxel-physical#4deb6d9

Hurts the player when falling large distances, higher distances (Y dimension) hurt more. Damage received can be configured with the options blocksPerUnitDamage (default 4) and damageMultiplier (default 1).

License

MIT