Minecraft Wiki
Advertisement
Vertalen
Deze pagina heeft vertaling nodig
Deze pagina bevat te veel woorden uit een andere taal.
Reden: Engelse versie van 12-02-2012


304311

TNT exploding in 1.8 and higher

Een explosie/ontploffing is fysieke gebeurtenis in de Minecraft-wereld, veroorzaakt door een TNT, een ontploffende creeper, a bed in de Onderwereld of in De End, of een vuurbal afgeschoten door een Ghast. Een explosie can blokken die dichtbij zijn vernietigen, entiteiten die dichtbij zijn beschadigen/vernietigen, en een of meer vuren veroorzaken. Explosies produceren schokgolfdeeltjes, maar voor 1.8 produceerden ze rookdeeltjes .[1]

Eigenschappen

  • Positie. Bijvoorbeeld, een TNT explosie gebeurt in het midden van een afgestoken TNT, wat een 0.98 × 0.98 × 0.98 kubus is. Een explosie van een bed gebeurt in het midden van het bed blok (niet vernietigd voor de explosie).
  • Kracht. Voor de kracht van elk type explosie,
    • Een TNT explosie heeft 4;
    • Een Creeper explosie heeft 3, of zelfs 6 wanneer hij is geladen door een blikseminslag;
    • Een Ghast's vuurbal explosie heeft 1;
    • Een Bed (Nether of End) explosie heeft 5.
  • Mogelijkheid om vuur te maken. Vuurbal en bed explosies zorgen voor een vuur rondom de explosie.
ExplosionRay

1352 stralen vanuit het explosie center tot punten die gelijkmatig op de kant van een kubus gecentreerd op de explosie met een kant lengte van 2. (hoewel dit alleen hun richting aangeeft, niet hun lengte)

Explosion outline

De ongeveer bolvormige patroon van vernietigde blokken zijn hier te zien.

Effecten

Model van blokvernietiging

Een explosie kan nabije blokken vernietigen. Its effect is evaluated independently on many explosion rays originating from the explosion center, as shown in the right figure.

  • Each ray has an initial blast force randomized in [0.7 × power, 1.3 × power].
  • The effect of the blast force is examined at checkpoints on the ray with step length of 0.3.
  • The blast force is absorbed (block resistance / 5 + 0.3) × step length by the non-air block (no matter whether destroyed) at the each checkpoint, and attenuated by step length × 0.75 between checkpoints, until completely absorbed or attenuated.
  • A block is considered destroyed if it can't completely absorb the blast force at any checkpoint in it (air blocks can be destroyed too).

From the above process, the following results can be deduced:

  • The blast radius in the air of an explosion (i.e. only attenuated, not absorbed by blocks) = ⌊1.3 × power / (step length × 0.75)⌋ × step length = 10.2 (charged creepers), 6.9 (TNT), 5.1 (creepers), 1.5 (fireballs). For example, a TNT explosion can destroy a torch 7 blocks away. But how many blocks an explosion can destroy is non-deterministic and also dependent on the specific location of the explosion.
  • The minimum block resistance required to absorb maximum blast force of an explosion happening in nearby air = ((1.3 × power - attenuation steps × step length × 0.75) / step length - 0.3) × 5. To not be destroyed, a block has to absorb all blast force at the first checkpoint in it.
    • The attenuation steps is subject to collision restrictions. For explosion in air, there is at least one attenuation step. TNT and creeper explosion are always 0.49 and 0.5 meter away from nearest block (2 att. steps), but fireball explosion can happen anywhere (1 att. step).
    • Thus, the block resistances are 121.00 (charged creepers), 77.67 (TNT), 56.00 (creepers), 16.42 (fireballs).
    • So water, stationary lava, obsidian, and bedrock are always indestructible, and fences and less resistant blocks can be destroyed by fireballs. These are theoretical values, and in reality less resistant blocks are not always destroyed.

Note that the effect of multiple explosions, no matter how simultaneous, on one block is evaluated independently and serially per explosion, and blocks don't have "temporary health" and such properties across explosion history. That means explosions have no cumulative effect on blocks.

Destroyed blocks have 30% chance of being dropped as items later.

Interaction with entities

An explosion has different effects on entities than blocks. Entities are damaged and propelled by an explosion if within its damage radius of 2 × power. Note that the "damage radius" is different from the blast radius of explosion effect on blocks.

  • For each entity within the radius, define impact = (1 - distance from the explosion / radius) × exposure.
  • Apply (impact2 + impact) × 8 × power + 1 point (half-heart, so we don't have to divide by 2 everywhere) of damage to the entity.
  • Propel the entity so that its velocity increases by impact in the direction from explosion to the entity.

From the above process, the following results can be deduced:

  • Entities will always get at least 1 point of damage if they are within the radius, regardless of their explosion exposure.
  • The maximum damage that entities can take (at the explosion center with 100% exposure) = (1 × 1 + 1) × 8 × power + 1 point of damage = 97 (charged creeper), 65 (TNT), 49 (creepers), 17 (fireballs). When entities are away or covered by blocks from the explosion center, they take less damage.
  • The maximum velocity gain that an entity can obtain from a TNT explosion is 1, at the explosion center with 100% exposure.

Different damage effects will ensue. For example, existing items will be destroyed, and the armor on the player will absorb part of the damage. Items dropped in the process of, or actually after, the explosion are not affected because they have no interaction between the explosion.

The propulsion effect is often used for TNT cannons.

TNTAABB

A primed TNT AABB has directionally asymmetrical sample points (1/2.96 spacing) because of rounding.

Calculation of explosion exposure

Explosion exposure is simply how much an entity is visible from the explosion center, and is approximated with the ratio of visible sample points on the entity. The approximation algorithm has sampling error that results in directional asymmetry of propulsion. For example, a typical TNT cannon has maximum range in the west direction partly because the primed TNT has largest sampled exposure in that direction.

Causing fire

If the explosion has the ability, it randomly starts fires in 1/3 of all destroyed air blocks that are above opaque blocks. This is bugged and doesn't occur in versions Beta 1.6 - Beta 1.8.

Blast Resistance

[edit]

Block Name Blast Resistance
Bedrock Sjabloon:Blast Resistance Values
Enchantment Table 6,000
Obsidian Sjabloon:Blast Resistance Values
Lava Sjabloon:Blast Resistance Values
Water Sjabloon:Blast Resistance Values
End Stone 45
Brick (Block) Sjabloon:Blast Resistance Values
Stone Brick 30
Cobblestone Sjabloon:Blast Resistance Values
Diamond (Block) Sjabloon:Blast Resistance Values
Gold (Block) Sjabloon:Blast Resistance Values
Iron (Block) Sjabloon:Blast Resistance Values
Jukebox Sjabloon:Blast Resistance Values
Moss Stone Sjabloon:Blast Resistance Values
Nether Brick 30
Nether Brick Stairs 30
Nether Brick Fence 30
Stone Stairs Sjabloon:Blast Resistance Values
Slabs Sjabloon:Blast Resistance Values
Stone Sjabloon:Blast Resistance Values
Iron Bars Sjabloon:Blast Resistance Values
Iron Door Sjabloon:Blast Resistance Values
Monster Spawner Sjabloon:Blast Resistance Values
Dispenser Sjabloon:Blast Resistance Values
Furnace Sjabloon:Blast Resistance Values
Coal Ore Sjabloon:Blast Resistance Values
Diamond Ore Sjabloon:Blast Resistance Values
Wooden Door Sjabloon:Blast Resistance Values
Fence Sjabloon:Blast Resistance Values
Gold Ore Sjabloon:Blast Resistance Values
Iron (Ore) Sjabloon:Blast Resistance Values
Lapis Lazuli (Block) Sjabloon:Blast Resistance Values
Block Name Blast Resistance
Lapis Lazuli (Ore) Sjabloon:Blast Resistance Values
Redstone (Ore) Sjabloon:Blast Resistance Values
Wooden Stairs Sjabloon:Blast Resistance Values
Wooden Plank Sjabloon:Blast Resistance Values
Chest Sjabloon:Blast Resistance Values
Crafting Table Sjabloon:Blast Resistance Values
Wood Sjabloon:Blast Resistance Values
Bookshelf Sjabloon:Blast Resistance Values
Jack-O-Lantern Sjabloon:Blast Resistance Values
Melon (Block) 5
Pumpkin Sjabloon:Blast Resistance Values
Sign Sjabloon:Blast Resistance Values
Note Block Sjabloon:Blast Resistance Values
Sandstone Sjabloon:Blast Resistance Values
Wool Sjabloon:Blast Resistance Values
Rails Sjabloon:Blast Resistance Values
Clay (Block) Sjabloon:Blast Resistance Values
Farmland Sjabloon:Blast Resistance Values
Grass 2.5
Gravel Sjabloon:Blast Resistance Values
Cake Sjabloon:Blast Resistance Values
Sponge Sjabloon:Blast Resistance Values
Dirt Sjabloon:Blast Resistance Values
Ice Sjabloon:Blast Resistance Values
Lever Sjabloon:Blast Resistance Values
Mycelium 2.5
Pressure Plates Sjabloon:Blast Resistance Values
Block Name Blast Resistance
Sand Sjabloon:Blast Resistance Values
Soul Sand Sjabloon:Blast Resistance Values
Stone Button Sjabloon:Blast Resistance Values
Cactus Sjabloon:Blast Resistance Values
Ladders Sjabloon:Blast Resistance Values
Netherrack Sjabloon:Blast Resistance Values
Glass Sjabloon:Blast Resistance Values
Glowstone (Block) Sjabloon:Blast Resistance Values
Bed Sjabloon:Blast Resistance Values
Leaves Sjabloon:Blast Resistance Values
Snow (Block) Sjabloon:Blast Resistance Values
Snow Sjabloon:Blast Resistance Values
Seeds (Item) Sjabloon:Blast Resistance Values
Flowers Sjabloon:Blast Resistance Values
Fire Sjabloon:Blast Resistance Values
Mushrooms Sjabloon:Blast Resistance Values
Portal Sjabloon:Blast Resistance Values
Redstone (Wire) Sjabloon:Blast Resistance Values
Redstone (Torch) Sjabloon:Blast Resistance Values
Redstone (Repeater) Sjabloon:Blast Resistance Values
Sugar Cane Sjabloon:Blast Resistance Values
Sapling Sjabloon:Blast Resistance Values
TNT Sjabloon:Blast Resistance Values
Torch Sjabloon:Blast Resistance Values
Flowing Lava Sjabloon:Blast Resistance Values
Flowing Water Sjabloon:Blast Resistance Values
Air Sjabloon:Blast Resistance Values


Typical damage radii

The player will get certain damage if within these radii of a 100% exposure ground 1-, 2-, or 4-TNT explosion, as shown in the following figures with the amount of damage shown on each circle.

KillRadiiGrenade1 KillRadiiGrenade2 KillRadiiGrenade4

Trivia

  • An explosion powerful enough to break bedrock would have a blast radius of over 30,000,000 blocks, enough to destroy the entire world in 1.8. If it were an uninterrupted blast, it would cover 238,775,501.2 blocks.

References

Advertisement