node package manager

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