minecraft-data icon indicating copy to clipboard operation
minecraft-data copied to clipboard

Create a blocksPhysics.json

Open rom1504 opened this issue 8 years ago • 5 comments

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.

rom1504 avatar Aug 30 '15 01:08 rom1504

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

nickelpro avatar Aug 30 '15 01:08 nickelpro

The original idea was for sand and gravel, but all those data would be useful to have too :D

roblabla avatar Aug 30 '15 09:08 roblabla

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.

Gjum avatar Aug 30 '15 12:08 Gjum

Ya I was refering strictly to positive y face for slime blocks, it's a complicated block to build a schema for

nickelpro avatar Aug 30 '15 17:08 nickelpro

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.

TheDudeFromCI avatar Jul 17 '20 06:07 TheDudeFromCI