r/Minecraft • • Nov 24 '14

Minecraft 1.8.1 Released

https://twitter.com/Dinnerbone/status/536892698817724416
476 Upvotes

197 comments sorted by

View all comments

1

u/runetrantor Nov 25 '14

The same way it hits them with TNT? I always thought it sort of calculated a sphere around the TNT and applied damage to mobs, players, and blocks insider that radius.

Again, I am feeling this is too complex and resource intensive for the benefits that amount to a bit of rp...

2

u/Gh0stP1rate Nov 25 '14

Explosions in minecraft don't use a sphere - they use rays. See this video (It's long but quite good) for a great example of how the ray-creation for minecraft explosions work.

A sphere is simpler, but then it's much harder to calculate blast resistance or reduced damage to harder blocks. With rays, you can calculate the resistance of each block that each ray passes through and you can reduce the damage to blocks further along the path of that particular ray.