PhysicsLite
A physics foundation for Minecraft Bedrock add-on creators (Script API). Use it as a starting point to build physics-based mechanics without starting from scratch.
Features
Custom gravity (moon, heavy, floating)
Drag, friction and speed limit
Bouncing (restitution) on collision
Springs and ropes (between entities or to a fixed point)
Force fields: wind and radial
Impulse explosions (no block damage)
Collision events for sounds and particles
Included demo
Dropped items bounce
Use a stick: impulse explosion
Use a bone: wind for 5 seconds
How to use it in your own creation
Open scripts/main.js, delete the "USAGE EXAMPLE" section and use physics.addBody(...), physics.addSpring(...), etc.
Notes
Block collision is still handled by the game.
Players are not affected (an applyImpulse limitation).
Requires @minecraft/server 2.0.0 or higher (stable).