1

Does anyone know...

cequag 5/2/13 1:36 am
527
5/7/2013 2:46 am
Does anyone know a formula that uses the blast resistance of a block to to find the blast radius of TNT or anything that has to do with TNT blast radii?
Posted by
cequag
Level 4 : Apprentice Crafter
0

  Have something to say?

JoinSign in

10

RevolutionalRedStone
05/07/2013 2:46 am
Level 54 : Grandmaster Pirate
Approximately 1520.
( 16 rays per axis per face of each 3D cube makes 16*16*6 (1536) minus the repeating shared vertices 8*2(16) )
1
cequag
05/07/2013 2:21 am
Level 4 : Apprentice Crafter
You wouldn't happen to know how many of these rays are produced per TNT block would you?
1
cequag
05/02/2013 9:56 pm
Level 4 : Apprentice Crafter
Thank you, you made this much simpler than I could find it. Again, thanks
1
RevolutionalRedStone
05/02/2013 9:54 pm
Level 54 : Grandmaster Pirate
Since TNT activates all other TNT within 4 blocks.

The 'formula' is simple;


Each ray is initialized with energy randomly clamped between 0.7 * power - 1.3 * power

TNT has a power of 4
Creepers 3.

The rays are moved 0.3 world units and then each one is checked.

If a block is hit then it absorbs the blast force of the ray as given by
block resistance / 5 + 0.3
If it cannot absorb that much force then it is destroyed.

Even if the ray doesn't hit anything it will have its power attenuated ( multiplied ) by 0.75

when a ray runs out of energy it is no longer simulated.
1
cequag
05/02/2013 8:52 pm
Level 4 : Apprentice Crafter
OK, what I mean is I was wondering if there was a formula that allows me to calculate the blast radius of TNT when going through multiple layers of materials. I know that TNT destroys a 3 by 3 cube of stone, but what if there was a layer of dirt between the stone and TNT? If anyone has any knowledge of a formula like this, please let me know.
1
RevolutionalRedStone
05/02/2013 8:37 am
Level 54 : Grandmaster Pirate
Well don't just give up ! - I can answer any logical Minecraft question you could pit.

Do you want to know more about the interaction between TNT and Blocks ? because i can promise that someone on here will know everything there is to know about that; you need only post a well written question and the answer will come.
1
BillNye_
05/02/2013 2:45 am
Level 6 : Apprentice Network
1
cequag
05/02/2013 8:22 am
Level 4 : Apprentice Crafter
I have already tried looking there, they didn't have what i need
1
RevolutionalRedStone
05/02/2013 2:11 am
Level 54 : Grandmaster Pirate
I don't know if you know exactly what your asking
but TNT in Minecraft has a blast radius of exactly 4 blocks.
And In 3D; the fall off of any energy wave is given by log 10 x 1 / 3, or simply cube-root(x).

The resistance of a block reduces the power of intersecting 'explosion rays' non-specially-exhaustive points moved at fixed intervals.
1
cequag
05/02/2013 8:50 pm
Level 4 : Apprentice Crafter
No offense, but I know for a fact that TNT has a blast radius of 7 when only going through air.
1

Welcome