minecraft-data
minecraft-data copied to clipboard
Create a blocksPhysics.json
With data like canFall , ...
Not sure what it would contain exactly and how it would be used.
The main point is we would have to build it manually though.
Webs, Slime Blocks, Ice, and Soul Sand all come to mind as blocks with modified physics. For the most part they modify drag when you're colliding with them. Slime blocks have a negative drag coefficient but it's the same idea
EDIT: Other than that most blocks have uniform physics, either collidable or not. A handful need custom collision meshes (stairs and fences and whatnot). Liquids are also handled differently obviously
The original idea was for sand and gravel, but all those data would be useful to have too :D
Slime blocks have a negative drag coefficient
I don't think it's that easy. You get slower when just walking over them, and bounce up when you hit the top face. But you do not bounce when hitting them from the side or bottom.
Ya I was refering strictly to positive y face for slime blocks, it's a complicated block to build a schema for
This information could also be used for marking blocks like slime and honey as sticky, or that honey blocks pull along entities above them when they're pushed with a piston.